@lap v0.3
# Machine-readable API spec. Each @endpoint block is one API call.
@api WebSite Management Client
@base https://management.azure.com
@version 2015-08-01
@auth OAuth2
@common_fields {subscriptionId: any # Subscription Id, api-version: any # API Version}
@endpoints 295
@hint download_for_search
@toc subscriptions(290), providers(5)

@group subscriptions
@endpoint GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CertificateRegistration/certificateOrders/{certificateOrderName}/certificates/{name}
@desc Get certificate associated with the certificate order
@required {resourceGroupName: any # Azure resource group name, certificateOrderName: any # Certificate name, name: any # Certificate name}
@returns(200) OK

@endpoint PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CertificateRegistration/certificateOrders/{certificateOrderName}/certificates/{name}
@desc Associates a Key Vault secret to a certificate store that will be used for storing the certificate once it's ready
@required {resourceGroupName: any # Azure resource group name, certificateOrderName: any # Certificate name, name: any # Certificate name, keyVaultCertificate: map # Key Vault secret csm Id}
@returns(200) OK

@endpoint DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CertificateRegistration/certificateOrders/{certificateOrderName}/certificates/{name}
@desc Deletes the certificate associated with the certificate order
@required {resourceGroupName: any # Azure resource group name, certificateOrderName: any # Certificate name, name: any # Certificate name}
@returns(200) OK

@endpoint PATCH /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CertificateRegistration/certificateOrders/{certificateOrderName}/certificates/{name}
@desc Associates a Key Vault secret to a certificate store that will be used for storing the certificate once it's ready
@required {resourceGroupName: any # Azure resource group name, certificateOrderName: any # Certificate name, name: any # Certificate name, keyVaultCertificate: map # Key Vault secret csm Id}
@returns(200) OK

@endpoint GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CertificateRegistration/certificateOrders/{name}
@desc Get a certificate order
@required {resourceGroupName: any # Azure resource group name, name: any # Certificate name}
@returns(200) OK

@endpoint PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CertificateRegistration/certificateOrders/{name}
@desc Create or update a certificate purchase order
@required {resourceGroupName: any # Azure resource group name, name: any # Certificate name, certificateDistinguishedName: map # Distinguished name to be used for purchasing certificate}
@returns(200) OK

@endpoint DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CertificateRegistration/certificateOrders/{name}
@desc Delete an existing certificate order
@required {resourceGroupName: any # Azure resource group name, name: any # Certificate name}
@returns(200) OK

@endpoint PATCH /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CertificateRegistration/certificateOrders/{name}
@desc Create or update a certificate purchase order
@required {resourceGroupName: any # Azure resource group name, name: any # Certificate name, certificateDistinguishedName: map # Distinguished name to be used for purchasing certificate}
@returns(200) OK

@endpoint GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CertificateRegistration/certificateOrders
@desc Get certificate orders in a resource group
@required {resourceGroupName: any # Azure resource group name}
@returns(200) OK

@endpoint GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CertificateRegistration/certificateOrders/{certificateOrderName}/certificates
@desc List all certificates associated with a certificate order (only one certificate can be associated with an order at a time)
@required {resourceGroupName: any # Azure resource group name, certificateOrderName: any # Certificate name}
@returns(200) OK

@endpoint POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CertificateRegistration/certificateOrders/{name}/reissue
@desc Reissue an existing certificate order
@required {resourceGroupName: any # Azure resource group name, name: any # Certificate name, reissueCertificateOrderRequest: map # Reissue parameters}
@returns(200) OK

@endpoint POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CertificateRegistration/certificateOrders/{name}/renew
@desc Renew an existing certificate order
@required {resourceGroupName: any # Azure resource group name, name: any # Certificate name, renewCertificateOrderRequest: map # Renew parameters}
@returns(200) OK

@endpoint POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CertificateRegistration/certificateOrders/{name}/retrieveCertificateActions
@desc Retrieve the list of certificate actions
@required {resourceGroupName: any # Azure resource group name, name: any # Certificate order name}
@returns(200) OK

@endpoint POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CertificateRegistration/certificateOrders/{name}/retrieveEmailHistory
@desc Retrieve email history
@required {resourceGroupName: any # Azure resource group name, name: any # Certificate order name}
@returns(200) OK

@endpoint POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CertificateRegistration/certificateOrders/{name}/resendEmail
@desc Resend certificate email
@required {resourceGroupName: any # Azure resource group name, name: any # Certificate order name}
@returns(200) OK

@endpoint POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CertificateRegistration/certificateOrders/{name}/verifyDomainOwnership
@desc Verify domain ownership for this certificate order
@required {resourceGroupName: any # Azure resource group name, name: any # Certificate order name}
@returns(200) OK

@endpoint GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/certificates
@desc Get certificates for a subscription in the specified resource group.
@required {resourceGroupName: any # Name of the resource group}
@returns(200) OK

@endpoint GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/certificates/{name}
@desc Get a certificate by certificate name for a subscription in the specified resource group.
@required {resourceGroupName: any # Name of the resource group, name: any # Name of the certificate.}
@returns(200) OK

@endpoint PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/certificates/{name}
@desc Creates or modifies an existing certificate.
@required {resourceGroupName: any # Name of the resource group, name: any # Name of the certificate., certificateEnvelope: map # Details of certificate if it exists already.}
@returns(200) OK

@endpoint DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/certificates/{name}
@desc Delete a certificate by name in a specified subscription and resourcegroup.
@required {resourceGroupName: any # Name of the resource group, name: any # Name of the certificate to be deleted.}
@returns(200) OK

@endpoint PATCH /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/certificates/{name}
@desc Creates or modifies an existing certificate.
@required {resourceGroupName: any # Name of the resource group, name: any # Name of the certificate., certificateEnvelope: map # Details of certificate if it exists already.}
@returns(200) OK

@endpoint GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/csrs
@desc Gets the certificate signing requests for a subscription in the specified resource group
@required {resourceGroupName: any # Name of the resource group}
@returns(200) OK

@endpoint GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/csrs/{name}
@desc Gets a certificate signing request by certificate name for a subscription in the specified resource group
@required {resourceGroupName: any # Name of the resource group, name: any # Name of the certificate.}
@returns(200) OK

@endpoint PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/csrs/{name}
@desc Creates or modifies an existing certificate signing request.
@required {resourceGroupName: any # Name of the resource group, name: any # Name of the certificate., csrEnvelope: map # Details of certificate signing request if it exists already.}
@returns(200) OK

@endpoint DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/csrs/{name}
@desc Delete the certificate signing request.
@required {resourceGroupName: any # Name of the resource group, name: any # Name of the certificate signing request.}
@returns(200) OK

@endpoint PATCH /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/csrs/{name}
@desc Creates or modifies an existing certificate signing request.
@required {resourceGroupName: any # Name of the resource group, name: any # Name of the certificate., csrEnvelope: map # Details of certificate signing request if it exists already.}
@returns(200) OK

@endpoint GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/classicMobileServices
@desc Get all mobile services in a resource group.
@required {resourceGroupName: any # Name of resource group}
@returns(200) OK

@endpoint GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/classicMobileServices/{name}
@desc Get a mobile service.
@required {resourceGroupName: any # Name of resource group, name: any # Name of mobile service}
@returns(200) OK

@endpoint DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/classicMobileServices/{name}
@desc Delete a mobile service.
@required {resourceGroupName: any # Name of resource group, name: any # Name of mobile service}
@returns(200) OK

@endpoint GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DomainRegistration/domains
@desc Lists domains under a resource group
@required {resourceGroupName: any # Name of the resource group}
@returns(200) OK

@endpoint GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DomainRegistration/domains/{domainName}
@desc Gets details of a domain
@required {resourceGroupName: any # Name of the resource group, domainName: any # Name of the domain}
@returns(200) OK

@endpoint PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DomainRegistration/domains/{domainName}
@desc Creates a domain
@required {resourceGroupName: any # >Name of the resource group, domainName: any # Name of the domain, domain: map # Domain registration information}
@returns(200) Domain purchase was successful
@returns(202) Domain purchase is in progress

@endpoint DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DomainRegistration/domains/{domainName}
@desc Deletes a domain
@required {resourceGroupName: any # Name of the resource group, domainName: any # Name of the domain}
@optional {forceHardDeleteDomain: any # If true then the domain will be deleted immediately instead of after 24 hours}
@returns(204) Domain does not exist in Azure database probably because it has already been deleted

@endpoint PATCH /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DomainRegistration/domains/{domainName}
@desc Creates a domain
@required {resourceGroupName: any # >Name of the resource group, domainName: any # Name of the domain, domain: map # Domain registration information}
@returns(200) Domain purchase was successful
@returns(202) Domain purchase is in progress

@endpoint GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DomainRegistration/domains/{domainName}/operationresults/{operationId}
@desc Retrieves the latest status of a domain purchase operation
@required {resourceGroupName: any # Name of the resource group, domainName: any # Name of the domain, operationId: any # Domain purchase operation Id}
@returns(200) Domain purchase was successful
@returns(202) Domain purchase is in progress
@errors {500: Domain purchase request failed}

@endpoint GET /subscriptions/{subscriptionId}/providers/Microsoft.Web/publishingCredentials
@desc Gets publishing credentials for the subscription owner
@returns(200) OK

@endpoint PUT /subscriptions/{subscriptionId}/providers/Microsoft.Web/publishingCredentials
@desc Updates publishing credentials for the subscription owner
@required {requestMessage: map # requestMessage with new publishing credentials}
@returns(200) OK

@endpoint GET /subscriptions/{subscriptionId}/providers/Microsoft.Web/geoRegions
@desc Gets list of available geo regions
@optional {sku: any # Filter only to regions that support this sku, linuxWorkersEnabled: any # Filter only to regions that support linux workers}
@returns(200) OK

@endpoint GET /subscriptions/{subscriptionId}/providers/Microsoft.Web/certificates
@desc Get all certificates for a subscription
@returns(200) OK

@endpoint GET /subscriptions/{subscriptionId}/providers/Microsoft.Web/serverfarms
@desc Gets all App Service Plans for a subscription
@optional {detailed: any # False to return a subset of App Service Plan properties, true to return all of the properties.             Retrieval of all properties may increase the API latency.}
@returns(200) OK

@endpoint GET /subscriptions/{subscriptionId}/providers/Microsoft.Web/sites
@desc Gets all Web Apps for a subscription
@returns(200) OK

@endpoint GET /subscriptions/{subscriptionId}/providers/Microsoft.Web/hostingEnvironments
@desc Gets all hostingEnvironments (App Service Environment) for a subscription
@returns(200) OK

@endpoint GET /subscriptions/{subscriptionId}/providers/Microsoft.Web/managedHostingEnvironments
@desc Gets all managed hosting environments for a subscription
@returns(200) OK

@endpoint GET /subscriptions/{subscriptionId}/providers/Microsoft.Web/classicMobileServices
@desc Gets all mobile services for a subscription
@returns(200) OK

@endpoint GET /subscriptions/{subscriptionId}/providers/Microsoft.Web/premieraddonoffers
@desc List premier add on offers
@returns(200) OK

@endpoint GET /subscriptions/{subscriptionId}/providers/Microsoft.Web/ishostingenvironmentnameavailable
@desc Whether hosting environment name is available
@required {name: any # Hosting environment name}
@returns(200) OK

@endpoint GET /subscriptions/{subscriptionId}/providers/Microsoft.Web/ishostingenvironmentnameavailable/{name}
@desc Whether hosting environment name is available
@required {name: any # Hosting environment name}
@returns(200) OK

@endpoint POST /subscriptions/{subscriptionId}/providers/Microsoft.Web/checknameavailability
@desc Check if resource name is available
@required {request: map # Name availability request}
@returns(200) OK

@endpoint GET /subscriptions/{subscriptionId}/providers/Microsoft.CertificateRegistration/certificateOrders
@desc Lists all domains in a subscription
@returns(200) OK

@endpoint POST /subscriptions/{subscriptionId}/providers/Microsoft.CertificateRegistration/validateCertificateRegistrationInformation
@desc Validate certificate purchase information
@required {certificateOrder: map # Certificate order}
@returns(200) OK

@endpoint GET /subscriptions/{subscriptionId}/providers/Microsoft.DomainRegistration/domains
@desc Lists all domains in a subscription
@returns(200) OK

@endpoint POST /subscriptions/{subscriptionId}/providers/Microsoft.DomainRegistration/generateSsoRequest
@desc Generates a single sign on request for domain management portal
@returns(200) OK

@endpoint POST /subscriptions/{subscriptionId}/providers/Microsoft.DomainRegistration/validateDomainRegistrationInformation
@desc Validates domain registration information
@required {domainRegistrationInput: map # Domain registration information}
@returns(200) OK

@endpoint POST /subscriptions/{subscriptionId}/providers/Microsoft.DomainRegistration/checkDomainAvailability
@desc Checks if a domain is available for registration
@required {identifier: map # Name of the domain}
@returns(200) OK

@endpoint POST /subscriptions/{subscriptionId}/providers/Microsoft.DomainRegistration/listDomainRecommendations
@desc Lists domain recommendations based on keywords
@required {parameters: map # Domain recommendation search parameters}
@returns(200) OK

@endpoint POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/moveResources
@required {resourceGroupName: any, moveResourceEnvelope: map}
@returns(204) No Content

@endpoint GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}
@desc Get properties of hostingEnvironment (App Service Environment).
@required {resourceGroupName: any # Name of resource group, name: any # Name of hostingEnvironment (App Service Environment)}
@returns(200) OK

@endpoint PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}
@desc Create or update a hostingEnvironment (App Service Environment).
@required {resourceGroupName: any # Name of resource group, name: any # Name of hostingEnvironment (App Service Environment), hostingEnvironmentEnvelope: map # Properties of hostingEnvironment (App Service Environment)}
@returns(200) OK
@returns(202) Operation is in progress
@errors {400: Bad request, 404: Not found, 409: Conflict}

@endpoint DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}
@desc Delete a hostingEnvironment (App Service Environment).
@required {resourceGroupName: any # Name of resource group, name: any # Name of hostingEnvironment (App Service Environment)}
@optional {forceDelete: any # Delete even if the hostingEnvironment (App Service Environment) contains resources}
@returns(200) OK
@returns(202) Operation is in progress
@errors {400: Bad request, 404: Not found, 409: Conflict}

@endpoint GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/diagnostics
@desc Get diagnostic information for hostingEnvironment (App Service Environment).
@required {resourceGroupName: any # Name of resource group, name: any # Name of hostingEnvironment (App Service Environment)}
@returns(200) OK

@endpoint GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/diagnostics/{diagnosticsName}
@desc Get diagnostic information for hostingEnvironment (App Service Environment).
@required {resourceGroupName: any # Name of resource group, name: any # Name of hostingEnvironment (App Service Environment), diagnosticsName: any # Name of the diagnostics}
@returns(200) OK

@endpoint GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/capacities/compute
@desc Get used, available, and total worker capacity for hostingEnvironment (App Service Environment).
@required {resourceGroupName: any # Name of resource group, name: any # Name of hostingEnvironment (App Service Environment)}
@returns(200) OK

@endpoint GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/capacities/virtualip
@desc Get IP addresses assigned to the hostingEnvironment (App Service Environment).
@required {resourceGroupName: any # Name of resource group, name: any # Name of hostingEnvironment (App Service Environment)}
@returns(200) OK

@endpoint GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments
@desc Get all hostingEnvironments (App Service Environments) in a resource group.
@required {resourceGroupName: any # Name of resource group}
@returns(200) OK

@endpoint POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/reboot
@desc Reboots all machines in a hostingEnvironment (App Service Environment).
@required {resourceGroupName: any # Name of resource group, name: any # Name of hostingEnvironment (App Service Environment)}
@returns(202) Asynchronous operation in progress
@errors {400: Bad request, 404: Not found, 409: Conflict}

@endpoint GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/operations
@desc List all currently running operations on the hostingEnvironment (App Service Environment)
@required {resourceGroupName: any # Name of resource group, name: any # Name of hostingEnvironment (App Service Environment)}
@returns(200) OK

@endpoint GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/operations/{operationId}
@desc Get status of an operation on a hostingEnvironment (App Service Environment).
@required {resourceGroupName: any # Name of resource group, name: any # Name of hostingEnvironment (App Service Environment), operationId: any # operation identifier GUID}
@returns(200) Operation completed successfully
@returns(202) Asynchronous operation in progress
@errors {404: Not found, 500: Operation failed}

@endpoint GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/metrics
@desc Get global metrics of hostingEnvironment (App Service Environment).
@required {resourceGroupName: any # Name of resource group, name: any # Name of hostingEnvironment (App Service Environment)}
@optional {details: any # Include instance details, $filter: any # Return only usages/metrics specified in the filter. Filter conforms to odata syntax. Example: $filter=(name.value eq 'Metric1' or name.value eq 'Metric2') and startTime eq '2014-01-01T00:00:00Z' and endTime eq '2014-12-31T23:59:59Z' and timeGrain eq duration'[Hour|Minute|Day]'.}
@returns(200) OK

@endpoint GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/metricdefinitions
@desc Get global metric definitions of hostingEnvironment (App Service Environment).
@required {resourceGroupName: any # Name of resource group, name: any # Name of hostingEnvironment (App Service Environment)}
@returns(200) OK

@endpoint GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/usages
@desc Get global usages of hostingEnvironment (App Service Environment).
@required {resourceGroupName: any # Name of resource group, name: any # Name of hostingEnvironment (App Service Environment)}
@optional {$filter: any # Return only usages/metrics specified in the filter. Filter conforms to odata syntax. Example: $filter=(name.value eq 'Metric1' or name.value eq 'Metric2') and startTime eq '2014-01-01T00:00:00Z' and endTime eq '2014-12-31T23:59:59Z' and timeGrain eq duration'[Hour|Minute|Day]'.}
@returns(200) OK

@endpoint GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/multiRolePools/default/metrics
@desc Get metrics for a multiRole pool of a hostingEnvironment (App Service Environment).
@required {resourceGroupName: any # Name of resource group, name: any # Name of hostingEnvironment (App Service Environment)}
@optional {startTime: any # Beginning time of metrics query, endTime: any # End time of metrics query, timeGrain: any # Time granularity of metrics query, details: any # Include instance details, $filter: any # Return only usages/metrics specified in the filter. Filter conforms to odata syntax. Example: $filter=(name.value eq 'Metric1' or name.value eq 'Metric2') and startTime eq '2014-01-01T00:00:00Z' and endTime eq '2014-12-31T23:59:59Z' and timeGrain eq duration'[Hour|Minute|Day]'.}
@returns(200) OK

@endpoint GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/workerPools/{workerPoolName}/metrics
@desc Get metrics for a worker pool of a hostingEnvironment (App Service Environment).
@required {resourceGroupName: any # Name of resource group, name: any # Name of hostingEnvironment (App Service Environment), workerPoolName: any # Name of worker pool}
@optional {details: any # Include instance details, $filter: any # Return only usages/metrics specified in the filter. Filter conforms to odata syntax. Example: $filter=(name.value eq 'Metric1' or name.value eq 'Metric2') and startTime eq '2014-01-01T00:00:00Z' and endTime eq '2014-12-31T23:59:59Z' and timeGrain eq duration'[Hour|Minute|Day]'.}
@returns(200) OK

@endpoint GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/multiRolePools/default/metricdefinitions
@desc Get metric definitions for a multiRole pool of a hostingEnvironment (App Service Environment).
@required {resourceGroupName: any # Name of resource group, name: any # Name of hostingEnvironment (App Service Environment)}
@returns(200) OK

@endpoint GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/workerPools/{workerPoolName}/metricdefinitions
@desc Get metric definitions for a worker pool of a hostingEnvironment (App Service Environment).
@required {resourceGroupName: any # Name of resource group, name: any # Name of hostingEnvironment (App Service Environment), workerPoolName: any # Name of worker pool}
@returns(200) OK

@endpoint GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/multiRolePools/default/usages
@desc Get usages for a multiRole pool of a hostingEnvironment (App Service Environment).
@required {resourceGroupName: any # Name of resource group, name: any # Name of hostingEnvironment (App Service Environment)}
@returns(200) OK

@endpoint GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/workerPools/{workerPoolName}/usages
@desc Get usages for a worker pool of a hostingEnvironment (App Service Environment).
@required {resourceGroupName: any # Name of resource group, name: any # Name of hostingEnvironment (App Service Environment), workerPoolName: any # Name of worker pool}
@returns(200) OK

@endpoint GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/sites
@desc Get all sites on the hostingEnvironment (App Service Environment).
@required {resourceGroupName: any # Name of resource group, name: any # Name of hostingEnvironment (App Service Environment)}
@optional {propertiesToInclude: any # Comma separated list of site properties to include}
@returns(200) OK

@endpoint GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/webhostingplans
@desc Get all serverfarms (App Service Plans) on the hostingEnvironment (App Service Environment).
@required {resourceGroupName: any # Name of resource group, name: any # Name of hostingEnvironment (App Service Environment)}
@returns(200) OK

@endpoint GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/serverfarms
@desc Get all serverfarms (App Service Plans) on the hostingEnvironment (App Service Environment).
@required {resourceGroupName: any # Name of resource group, name: any # Name of hostingEnvironment (App Service Environment)}
@returns(200) OK

@endpoint GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/multiRolePools
@desc Get all multi role pools
@required {resourceGroupName: any # Name of resource group, name: any # Name of hostingEnvironment (App Service Environment)}
@returns(200) OK

@endpoint GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/multiRolePools/default
@desc Get properties of a multiRole pool.
@required {resourceGroupName: any # Name of resource group, name: any # Name of hostingEnvironment (App Service Environment)}
@returns(200) OK

@endpoint PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/multiRolePools/default
@desc Create or update a multiRole pool.
@required {resourceGroupName: any # Name of resource group, name: any # Name of hostingEnvironment (App Service Environment), multiRolePoolEnvelope: map # Properties of multiRole pool}
@returns(200) OK
@returns(202) Operation is in progress
@errors {400: Bad request, 404: Not found, 409: Conflict}

@endpoint GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/multiRolePools/default/skus
@desc Get available skus for scaling a multiRole pool.
@required {resourceGroupName: any # Name of resource group, name: any # Name of hostingEnvironment (App Service Environment)}
@returns(200) OK

@endpoint GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/workerPools
@desc Get all worker pools
@required {resourceGroupName: any # Name of resource group, name: any # Name of hostingEnvironment (App Service Environment)}
@returns(200) OK

@endpoint GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/workerPools/{workerPoolName}
@desc Get properties of a worker pool.
@required {resourceGroupName: any # Name of resource group, name: any # Name of hostingEnvironment (App Service Environment), workerPoolName: any # Name of worker pool}
@returns(200) OK

@endpoint PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/workerPools/{workerPoolName}
@desc Create or update a worker pool.
@required {resourceGroupName: any # Name of resource group, name: any # Name of hostingEnvironment (App Service Environment), workerPoolName: any # Name of worker pool, workerPoolEnvelope: map # Properties of worker pool}
@returns(200) OK
@returns(202) Operation is in progress
@errors {400: Bad request, 404: Not found, 409: Conflict}

@endpoint GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/workerPools/{workerPoolName}/skus
@desc Get available skus for scaling a worker pool.
@required {resourceGroupName: any # Name of resource group, name: any # Name of hostingEnvironment (App Service Environment), workerPoolName: any # Name of worker pool}
@returns(200) OK

@endpoint GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/workerPools/{workerPoolName}/instances/{instance}/metrics
@desc Get metrics for a specific instance of a worker pool of a hostingEnvironment (App Service Environment).
@required {resourceGroupName: any # Name of resource group, name: any # Name of hostingEnvironment (App Service Environment), workerPoolName: any # Name of worker pool, instance: any # Name of instance in the worker pool}
@optional {details: any # Include instance details, $filter: any # Return only usages/metrics specified in the filter. Filter conforms to odata syntax. Example: $filter=(name.value eq 'Metric1' or name.value eq 'Metric2') and startTime eq '2014-01-01T00:00:00Z' and endTime eq '2014-12-31T23:59:59Z' and timeGrain eq duration'[Hour|Minute|Day]'.}
@returns(200) OK

@endpoint GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/workerPools/{workerPoolName}/instances/{instance}/metricdefinitions
@desc Get metric definitions for a specific instance of a worker pool of a hostingEnvironment (App Service Environment).
@required {resourceGroupName: any # Name of resource group, name: any # Name of hostingEnvironment (App Service Environment), workerPoolName: any # Name of worker pool, instance: any # Name of instance in the worker pool}
@returns(200) OK

@endpoint GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/multiRolePools/default/instances/{instance}/metrics
@desc Get metrics for a specific instance of a multiRole pool of a hostingEnvironment (App Service Environment).
@required {resourceGroupName: any # Name of resource group, name: any # Name of hostingEnvironment (App Service Environment), instance: any # Name of instance in the multiRole pool}
@optional {details: any # Include instance details}
@returns(200) OK

@endpoint GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/multiRolePools/default/instances/{instance}/metricdefinitions
@desc Get metric definitions for a specific instance of a multiRole pool of a hostingEnvironment (App Service Environment).
@required {resourceGroupName: any # Name of resource group, name: any # Name of hostingEnvironment (App Service Environment), instance: any # Name of instance in the multiRole pool>}
@returns(200) OK

@endpoint POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/suspend
@desc Suspends the hostingEnvironment.
@required {resourceGroupName: any # Name of resource group, name: any # Name of hostingEnvironment (App Service Environment)}
@returns(200) OK
@returns(202) Operation is in progress

@endpoint POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/resume
@desc Resumes the hostingEnvironment.
@required {resourceGroupName: any # Name of resource group, name: any # Name of hostingEnvironment (App Service Environment)}
@returns(200) OK
@returns(202) Operation is in progress

@endpoint GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/managedHostingEnvironments/{name}
@desc Get properties of a managed hosting environment.
@required {resourceGroupName: any # Name of resource group, name: any # Name of managed hosting environment}
@returns(200) OK

@endpoint PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/managedHostingEnvironments/{name}
@desc Create or update a managed hosting environment.
@required {resourceGroupName: any # Name of resource group, name: any # Name of managed hosting environment, ManagedHostingEnvironmentEnvelope: map # Properties of managed hosting environment}
@returns(202) Asynchronous operation in progress
@errors {400: Bad request, 404: Not found, 409: Conflict}

@endpoint DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/managedHostingEnvironments/{name}
@desc Delete a managed hosting environment.
@required {resourceGroupName: any # Name of resource group, name: any # Name of managed hosting environment}
@optional {forceDelete: any # Delete even if the managed hosting environment contains resources}
@returns(202) Asynchronous operation in progress
@errors {400: Bad request, 404: Not found, 409: Conflict}

@endpoint GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/managedHostingEnvironments
@desc Get all managed hosting environments in a resource group.
@required {resourceGroupName: any # Name of resource group}
@returns(200) OK

@endpoint GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/managedHostingEnvironments/{name}/capacities/virtualip
@desc Get list of ip addresses assigned to a managed hosting environment
@required {resourceGroupName: any # Name of resource group, name: any # Name of managed hosting environment}
@returns(200) OK

@endpoint GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/managedHostingEnvironments/{name}/operations/{operationId}
@desc Get status of an operation on a managed hosting environment.
@required {resourceGroupName: any # Name of resource group, name: any # Name of managed hosting environment, operationId: any # operation identifier GUID}
@returns(200) Operation completed successfully
@returns(202) Asynchronous operation in progress
@errors {404: Not found, 500: Operation failed}

@endpoint GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/managedHostingEnvironments/{name}/sites
@desc Get all sites on the managed hosting environment.
@required {resourceGroupName: any # Name of resource group, name: any # Name of managed hosting environment}
@optional {propertiesToInclude: any # Comma separated list of site properties to include}
@returns(200) OK

@endpoint GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/managedHostingEnvironments/{name}/webhostingplans
@desc Get all serverfarms (App Service Plans) on the managed hosting environment.
@required {resourceGroupName: any # Name of resource group, name: any # Name of managed hosting environment}
@returns(200) OK

@endpoint GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/managedHostingEnvironments/{name}/serverfarms
@desc Get all serverfarms (App Service Plans) on the managed hosting environment.
@required {resourceGroupName: any # Name of resource group, name: any # Name of managed hosting environment}
@returns(200) OK

@endgroup

@group providers
@endpoint GET /providers/Microsoft.Web/sourcecontrols
@desc Gets the source controls available for Azure websites
@returns(200) OK

@endpoint GET /providers/Microsoft.Web/sourcecontrols/{sourceControlType}
@desc Gets source control token
@required {sourceControlType: any # Type of source control}
@returns(200) OK

@endpoint PUT /providers/Microsoft.Web/sourcecontrols/{sourceControlType}
@desc Updates source control token
@required {sourceControlType: any # Type of source control, requestMessage: map # Source control token information}
@returns(200) OK

@endpoint GET /providers/Microsoft.Web/publishingUsers/web
@desc Gets publishing user
@returns(200) OK

@endpoint PUT /providers/Microsoft.Web/publishingUsers/web
@desc Updates publishing user
@required {requestMessage: map # Details of publishing user}
@returns(200) OK

@endgroup

@group subscriptions
@endpoint GET /subscriptions/{subscriptionId}/providers/Microsoft.Web/recommendations
@desc Gets a list of recommendations associated with the specified subscription.
@optional {featured: any # If set, this API returns only the most critical recommendation among the others. Otherwise this API returns all recommendations available, $filter: any # Return only channels specified in the filter. Filter is specified by using OData syntax. Example: $filter=channels eq 'Api' or channel eq 'Notification'}
@returns(200) OK

@endpoint GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{siteName}/recommendations/{name}
@desc Gets the detailed properties of the recommendation object for the specified web site.
@required {resourceGroupName: any # Resource group name, siteName: any # Site name, name: any # Recommendation rule name}
@returns(200) OK

@endpoint GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{siteName}/recommendations
@desc Gets a list of recommendations associated with the specified web site.
@required {resourceGroupName: any # Resource group name, siteName: any # Site name}
@optional {featured: any # If set, this API returns only the most critical recommendation among the others. Otherwise this API returns all recommendations available, siteSku: any # The name of site SKU., numSlots: any # The number of site slots associated to the site}
@returns(200) OK

@endpoint GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{siteName}/recommendationHistory
@desc Gets the list of past recommendations optionally specified by the time range.
@required {resourceGroupName: any # Resource group name, siteName: any # Site name}
@optional {startTime: any # The start time of a time range to query, e.g. $filter=startTime eq '2015-01-01T00:00:00Z' and endTime eq '2015-01-02T00:00:00Z', endTime: any # The end time of a time range to query, e.g. $filter=startTime eq '2015-01-01T00:00:00Z' and endTime eq '2015-01-02T00:00:00Z'}
@returns(200) OK

@endpoint GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/serverfarms
@desc Gets collection of App Service Plans in a resource group for a given subscription.
@required {resourceGroupName: any # Name of resource group}
@returns(200) OK

@endpoint GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/serverfarms/{name}
@desc Gets specified App Service Plan in a resource group
@required {resourceGroupName: any # Name of resource group, name: any # Name of App Service Plan}
@returns(200) OK

@endpoint PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/serverfarms/{name}
@desc Creates or updates an App Service Plan
@required {resourceGroupName: any # Name of resource group, name: any # Name of App Service Plan, serverFarmEnvelope: map # Details of App Service Plan}
@optional {allowPendingState: any # OBSOLETE: If true, allow pending state for App Service Plan}
@returns(200) OK
@returns(202) Operation is in progress

@endpoint DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/serverfarms/{name}
@desc Deletes a App Service Plan
@required {resourceGroupName: any # Name of resource group, name: any # Name of App Service Plan}
@returns(200) OK

@endpoint GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/serverfarms/{name}/metrics
@desc Queries for App Service Plan metrics
@required {resourceGroupName: any # Name of resource group, name: any # Name of App Service Plan}
@optional {details: any # If true, metrics are broken down per App Service Plan instance, $filter: any # Return only usages/metrics specified in the filter. Filter conforms to odata syntax. Example: $filter=(name.value eq 'Metric1' or name.value eq 'Metric2') and startTime eq '2014-01-01T00:00:00Z' and endTime eq '2014-12-31T23:59:59Z' and timeGrain eq duration'[Hour|Minute|Day]'.}
@returns(200) OK

@endpoint GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/serverfarms/{name}/metricdefinitions
@desc List of metrics that can be queried for an App Service Plan
@required {resourceGroupName: any # Name of resource group, name: any # Name of App Service Plan}
@returns(200) OK

@endpoint GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/serverfarms/{name}/virtualNetworkConnections
@desc Gets list of VNets associated with App Service Plan
@required {resourceGroupName: any # Name of resource group, name: any # Name of App Service Plan}
@returns(200) OK

@endpoint GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/serverfarms/{name}/virtualNetworkConnections/{vnetName}
@desc Gets a vnet associated with an App Service Plan
@required {resourceGroupName: any # Name of resource group, name: any # Name of App Service Plan, vnetName: any # Name of virtual network}
@returns(200) OK
@errors {404: Virtual network could not be found}

@endpoint GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/serverfarms/{name}/virtualNetworkConnections/{vnetName}/routes
@desc Gets a list of all routes associated with a vnet, in an app service plan
@required {resourceGroupName: any # Name of resource group, name: any # Name of App Service Plan, vnetName: any # Name of virtual network}
@returns(200) OK

@endpoint GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/serverfarms/{name}/virtualNetworkConnections/{vnetName}/routes/{routeName}
@desc Gets a specific route associated with a vnet, in an app service plan
@required {resourceGroupName: any # Name of resource group, name: any # Name of App Service Plan, vnetName: any # Name of virtual network, routeName: any # Name of the virtual network route}
@returns(200) OK
@errors {404: Specified route does not exist}

@endpoint PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/serverfarms/{name}/virtualNetworkConnections/{vnetName}/routes/{routeName}
@desc Creates a new route or updates an existing route for a vnet in an app service plan.
@required {resourceGroupName: any # Name of resource group, name: any # Name of App Service Plan, vnetName: any # Name of virtual network, routeName: any # Name of the virtual network route, route: map # The route object}
@returns(200) OK
@errors {400: Invalid request. Ensure that required parameters are given, and that addresses and address spaces are valid, 404: Route not found. This will only occur when using the PATCH verb.}

@endpoint DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/serverfarms/{name}/virtualNetworkConnections/{vnetName}/routes/{routeName}
@desc Deletes an existing route for a vnet in an app service plan.
@required {resourceGroupName: any # Name of resource group, name: any # Name of App Service Plan, vnetName: any # Name of virtual network, routeName: any # Name of the virtual network route}
@returns(200) OK
@errors {404: Specified route does not exist.}

@endpoint PATCH /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/serverfarms/{name}/virtualNetworkConnections/{vnetName}/routes/{routeName}
@desc Creates a new route or updates an existing route for a vnet in an app service plan.
@required {resourceGroupName: any # Name of resource group, name: any # Name of App Service Plan, vnetName: any # Name of virtual network, routeName: any # Name of the virtual network route, route: map # The route object}
@returns(200) OK
@errors {400: Invalid request. Ensure that required parameters are given, and that addresses and address spaces are valid, 404: Route not found. This will only occur when using the PATCH verb.}

@endpoint GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/serverfarms/{name}/virtualNetworkConnections/{vnetName}/gateways/{gatewayName}
@desc Gets the vnet gateway.
@required {resourceGroupName: any # Name of resource group, name: any # Name of the App Service Plan, vnetName: any # Name of the virtual network, gatewayName: any # Name of the gateway. Only the 'primary' gateway is supported.}
@returns(200) OK

@endpoint PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/serverfarms/{name}/virtualNetworkConnections/{vnetName}/gateways/{gatewayName}
@desc Updates the vnet gateway
@required {resourceGroupName: any # The resource group, name: any # The name of the App Service Plan, vnetName: any # The name of the virtual network, gatewayName: any # The name of the gateway. Only 'primary' is supported., connectionEnvelope: map # The gateway entity.}
@returns(200) OK

@endpoint GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/serverfarms/{name}/sites
@desc Gets list of Apps associated with an App Service Plan
@required {resourceGroupName: any # Name of resource group, name: any # Name of App Service Plan}
@optional {$skipToken: any # Skip to of web apps in a list. If specified, the resulting list will contain web apps starting from (including) the skipToken. Else, the resulting list contains web apps from the start of the list, $filter: any # Supported filter: $filter=state eq running. Returns only web apps that are currently running, $top: any # List page size. If specified, results are paged.}
@returns(200) OK

@endpoint POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/serverfarms/{name}/workers/{workerName}/reboot
@desc Submit a reboot request for a worker machine in the specified server farm
@required {resourceGroupName: any # Name of resource group, name: any # Name of server farm, workerName: any # Name of worker machine, typically starts with RD}
@returns(200) OK

@endpoint POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/serverfarms/{name}/restartSites
@desc Restarts web apps in a specified App Service Plan
@required {resourceGroupName: any # Name of resource group, name: any # Name of App Service Plan}
@optional {softRestart: any # Soft restart applies the configuration settings and restarts the apps if necessary. Hard restart always restarts and reprovisions the apps}
@returns(200) OK

@endpoint GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/serverfarms/{name}/operationresults/{operationId}
@desc Gets a server farm operation
@required {resourceGroupName: any # Name of resource group, name: any # Name of server farm, operationId: any # Id of Server farm operation">}
@returns(200) OK

@endpoint GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/virtualNetworkConnections/{vnetName}
@desc Retrieves a specific Virtual Network Connection associated with this web app.
@required {resourceGroupName: any # The resource group name, name: any # The name of the web app, vnetName: any # The name of the Virtual Network, slot: any # The name of the slot for this web app.}
@returns(200) OK

@endpoint PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/virtualNetworkConnections/{vnetName}
@desc Adds a Virtual Network Connection or updates it's properties.
@required {resourceGroupName: any # The resource group name, name: any # The name of the web app, vnetName: any # The name of the Virtual Network, connectionEnvelope: map # The properties of this Virtual Network Connection, slot: any # The name of the slot for this web app.}
@returns(200) OK

@endpoint DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/virtualNetworkConnections/{vnetName}
@desc Removes the specified Virtual Network Connection association from this web app.
@required {resourceGroupName: any # The resource group name, name: any # The name of the web app, vnetName: any # The name of the Virtual Network, slot: any # The name of the slot for this web app.}
@returns(200) OK

@endpoint PATCH /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/virtualNetworkConnections/{vnetName}
@desc Adds a Virtual Network Connection or updates it's properties.
@required {resourceGroupName: any # The resource group name, name: any # The name of the web app, vnetName: any # The name of the Virtual Network, connectionEnvelope: map # The properties of this Virtual Network Connection, slot: any # The name of the slot for this web app.}
@returns(200) OK

@endpoint GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/virtualNetworkConnections/{vnetName}
@desc Retrieves a specific Virtual Network Connection associated with this web app.
@required {resourceGroupName: any # The resource group name, name: any # The name of the web app, vnetName: any # The name of the Virtual Network}
@returns(200) OK

@endpoint PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/virtualNetworkConnections/{vnetName}
@desc Adds a Virtual Network Connection or updates it's properties.
@required {resourceGroupName: any # The resource group name, name: any # The name of the web app, vnetName: any # The name of the Virtual Network, connectionEnvelope: map # The properties of this Virtual Network Connection}
@returns(200) OK

@endpoint DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/virtualNetworkConnections/{vnetName}
@desc Removes the specified Virtual Network Connection association from this web app.
@required {resourceGroupName: any # The resource group name, name: any # The name of the web app, vnetName: any # The name of the Virtual Network}
@returns(200) OK

@endpoint PATCH /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/virtualNetworkConnections/{vnetName}
@desc Adds a Virtual Network Connection or updates it's properties.
@required {resourceGroupName: any # The resource group name, name: any # The name of the web app, vnetName: any # The name of the Virtual Network, connectionEnvelope: map # The properties of this Virtual Network Connection}
@returns(200) OK

@endpoint GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/networkFeatures/{view}
@desc Retrieves a view of all network features in use on this web app.
@required {resourceGroupName: any # The resource group name, name: any # The name of the web app, view: any # The type of view. This can either be "summary" or "detailed"., slot: any # The name of the slot for this web app.}
@returns(200) OK
@errors {404: The requested view does not exist.}

@endpoint GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/networkFeatures/{view}
@desc Retrieves a view of all network features in use on this web app.
@required {resourceGroupName: any # The resource group name, name: any # The name of the web app, view: any # The type of view. This can either be "summary" or "detailed".}
@returns(200) OK
@errors {404: The requested view does not exist.}

@endpoint GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/operationresults/{operationId}
@desc Gets the operation for a web app
@required {resourceGroupName: any # Name of resource group, name: any # Name of web app, operationId: any # Id of an operation, slot: any # Name of web app slot. If not specified then will default to production slot.}
@returns(200) OK

@endpoint GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/operationresults/{operationId}
@desc Gets the operation for a web app
@required {resourceGroupName: any # Name of resource group, name: any # Name of web app, operationId: any # Id of an operation}
@returns(200) OK

@endpoint POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slotsswap
@desc Swaps web app slots
@required {resourceGroupName: any # Name of resource group, name: any # Name of web app, slotSwapEntity: map # Request body that contains the target slot name}
@returns(200) OK
@returns(202) Operation is in progress

@endpoint POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/slotsswap
@desc Swaps web app slots
@required {resourceGroupName: any # Name of resource group, name: any # Name of web app, slotSwapEntity: map # Request body that contains the target slot name, slot: any # Name of source slot for the swap}
@returns(200) OK
@returns(202) Operation is in progress

@endpoint POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slotsdiffs
@desc Get the difference in configuration settings between two web app slots
@required {resourceGroupName: any # Name of resource group, name: any # Name of web app, slotSwapEntity: map # Request body that contains the target slot name}
@returns(200) OK

@endpoint POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/slotsdiffs
@desc Get the difference in configuration settings between two web app slots
@required {resourceGroupName: any # Name of resource group, name: any # Name of web app, slotSwapEntity: map # Request body that contains the target slot name, slot: any # Name of the source slot}
@returns(200) OK

@endpoint POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/applySlotConfig
@desc Applies the configuration settings from the target slot onto the current slot
@required {resourceGroupName: any # Name of resource group, name: any # Name of web app, slotSwapEntity: map # Request body that contains the target slot name. Settings from that slot will be applied on the source slot}
@returns(200) OK

@endpoint POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/applySlotConfig
@desc Applies the configuration settings from the target slot onto the current slot
@required {resourceGroupName: any # Name of resource group, name: any # Name of web app, slotSwapEntity: map # Request body that contains the target slot name. Settings from that slot will be applied on the source slot, slot: any # Name of the source slot. Settings from the target slot will be applied onto this slot}
@returns(200) OK

@endpoint POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/resetSlotConfig
@desc Resets the configuration settings of the current slot if they were previously modified by calling ApplySlotConfig API
@required {resourceGroupName: any # Name of resource group, name: any # Name of web app}
@returns(200) OK

@endpoint POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/resetSlotConfig
@desc Resets the configuration settings of the current slot if they were previously modified by calling ApplySlotConfig API
@required {resourceGroupName: any # Name of resource group, name: any # Name of web app, slot: any # Name of web app slot. If not specified then will default to production slot.}
@returns(200) OK

@endpoint GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/config/slotConfigNames
@desc Gets the names of application settings and connection string that remain with the slot during swap operation
@required {resourceGroupName: any # Name of resource group, name: any # Name of web app}
@returns(200) OK

@endpoint PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/config/slotConfigNames
@desc Updates the names of application settings and connection string that remain with the slot during swap operation
@required {resourceGroupName: any # Name of resource group, name: any # Name of web app, slotConfigNames: map # Request body containing the names of application settings and connection strings}
@returns(200) OK

@endpoint GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots
@desc Gets all the slots for a web apps
@required {resourceGroupName: any # Name of resource group, name: any # Name of web app}
@optional {propertiesToInclude: any # List of app properties to include in the response}
@returns(200) OK

@endpoint GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites
@desc Gets the web apps for a subscription in the specified resource group
@required {resourceGroupName: any # Name of resource group}
@optional {propertiesToInclude: any # Additional web app properties included in the response, includeSiteTypes: any # Types of apps included in the response, includeSlots: any # Whether or not to include deployments slots in results}
@returns(200) OK

@endpoint GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}
@desc Get details of a web app
@required {resourceGroupName: any # Name of resource group, name: any # Name of web app}
@optional {propertiesToInclude: any # Additional web app properties included in the response}
@returns(200) OK

@endpoint PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}
@desc Creates a new web app or modifies an existing web app.
@required {resourceGroupName: any # Name of the resource group, name: any # Name of the web app, siteEnvelope: map # Details of web app if it exists already}
@optional {skipDnsRegistration: any # If true web app hostname is not registered with DNS on creation. This parameter is             only used for app creation, skipCustomDomainVerification: any # If true, custom (non *.azurewebsites.net) domains associated with web app are not verified., forceDnsRegistration: any # If true, web app hostname is force registered with DNS, ttlInSeconds: any # Time to live in seconds for web app's default domain name}
@returns(200) OK
@returns(202) Asynchronous operation in progress

@endpoint DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}
@desc Deletes a web app
@required {resourceGroupName: any # Name of resource group, name: any # Name of web app}
@optional {deleteMetrics: any # If true, web app metrics are also deleted, deleteEmptyServerFarm: any # If true and App Service Plan is empty after web app deletion, App Service Plan is also deleted, skipDnsRegistration: any # If true, DNS registration is skipped, deleteAllSlots: any # If true, all slots associated with web app are also deleted}
@returns(200) OK

@endpoint GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}
@desc Get details of a web app
@required {resourceGroupName: any # Name of resource group, name: any # Name of web app, slot: any # Name of web app slot. If not specified then will default to production slot.}
@optional {propertiesToInclude: any # Additional web app properties included in the response}
@returns(200) OK

@endpoint PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}
@desc Creates a new web app or modifies an existing web app.
@required {resourceGroupName: any # Name of the resource group, name: any # Name of the web app, siteEnvelope: map # Details of web app if it exists already, slot: any # Name of web app slot. If not specified then will default to production slot.}
@optional {skipDnsRegistration: any # If true web app hostname is not registered with DNS on creation. This parameter is             only used for app creation, skipCustomDomainVerification: any # If true, custom (non *.azurewebsites.net) domains associated with web app are not verified., forceDnsRegistration: any # If true, web app hostname is force registered with DNS, ttlInSeconds: any # Time to live in seconds for web app's default domain name}
@returns(200) OK
@returns(202) Asynchronous operation in progress

@endpoint DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}
@desc Deletes a web app
@required {resourceGroupName: any # Name of resource group, name: any # Name of web app, slot: any # Name of web app slot. If not specified then will default to production slot.}
@optional {deleteMetrics: any # If true, web app metrics are also deleted, deleteEmptyServerFarm: any # If true and App Service Plan is empty after web app deletion, App Service Plan is also deleted, skipDnsRegistration: any # If true, DNS registration is skipped, deleteAllSlots: any # If true, all slots associated with web app are also deleted}
@returns(200) OK

@endpoint POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/iscloneable
@desc Creates a new web app or modifies an existing web app.
@required {resourceGroupName: any # Name of the resource group, name: any # Name of the web app}
@returns(200) OK

@endpoint POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/iscloneable
@desc Creates a new web app or modifies an existing web app.
@required {resourceGroupName: any # Name of the resource group, name: any # Name of the web app, slot: any # Name of web app slot. If not specified then will default to production slot.}
@returns(200) OK

@endpoint POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/recover
@desc Recovers a deleted web app
@required {resourceGroupName: any # Name of resource group, name: any # Name of web app, recoveryEntity: map # Snapshot data used for web app recovery. Snapshot information can be obtained by calling GetDeletedSites or GetSiteSnapshots API.}
@returns(202) Asynchronous operation in progress
@errors {404: Web app not found}

@endpoint POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/recover
@desc Recovers a deleted web app
@required {resourceGroupName: any # Name of resource group, name: any # Name of web app, recoveryEntity: map # Snapshot data used for web app recovery. Snapshot information can be obtained by calling GetDeletedSites or GetSiteSnapshots API., slot: any # Name of web app slot. If not specified then will default to production slot.}
@returns(202) Asynchronous operation in progress
@errors {404: Web app not found}

@endpoint PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/snapshots
@desc Returns all Snapshots to the user.
@required {resourceGroupName: any # Webspace, name: any # Website Name}
@returns(200) OK

@endpoint PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/snapshots
@desc Returns all Snapshots to the user.
@required {resourceGroupName: any # Webspace, name: any # Website Name, slot: any # Website Slot}
@returns(200) OK

@endpoint GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/deletedSites
@desc Gets deleted web apps in subscription
@required {resourceGroupName: any # Name of resource group}
@optional {propertiesToInclude: any # Additional web app properties included in the response, includeSiteTypes: any # Types of apps included in the response}
@returns(200) OK

@endpoint GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/deployments
@desc List deployments
@required {resourceGroupName: any # Name of resource group, name: any # Name of web app}
@returns(200) OK

@endpoint GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/deployments
@desc List deployments
@required {resourceGroupName: any # Name of resource group, name: any # Name of web app, slot: any # Name of web app slot. If not specified then will default to production slot.}
@returns(200) OK

@endpoint GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/instances/{instanceId}/deployments
@desc List deployments
@required {resourceGroupName: any # Name of resource group, name: any # Name of web app, instanceId: any # Id of web app instance}
@returns(200) OK

@endpoint GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/instances/{instanceId}/deployments
@desc List deployments
@required {resourceGroupName: any # Name of resource group, name: any # Name of web app, slot: any # Name of web app slot. If not specified then will default to production slot., instanceId: any # Id of web app instance}
@returns(200) OK

@endpoint GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/instances/{instanceId}/deployments/{id}
@desc Get the deployment
@required {resourceGroupName: any # Name of resource group, name: any # Name of web app, id: any # Id of the deployment, instanceId: any # Id of web app instance}
@returns(200) OK

@endpoint PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/instances/{instanceId}/deployments/{id}
@desc Create a deployment
@required {resourceGroupName: any # Name of resource group, name: any # Name of web app, id: any # Id of the deployment, instanceId: any # Id of web app instance, deployment: map # Details of deployment}
@returns(200) OK

@endpoint DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/instances/{instanceId}/deployments/{id}
@desc Delete the deployment
@required {resourceGroupName: any # Name of resource group, name: any # Name of web app, id: any # Id of the deployment, instanceId: any # Id of web app instance}
@returns(200) OK

@endpoint GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/deployments/{id}
@desc Get the deployment
@required {resourceGroupName: any # Name of resource group, name: any # Name of web app, id: any # Id of the deployment}
@returns(200) OK

@endpoint PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/deployments/{id}
@desc Create a deployment
@required {resourceGroupName: any # Name of resource group, name: any # Name of web app, id: any # Id of the deployment, deployment: map # Details of deployment}
@returns(200) OK

@endpoint DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/deployments/{id}
@desc Delete the deployment
@required {resourceGroupName: any # Name of resource group, name: any # Name of web app, id: any # Id of the deployment}
@returns(200) OK

@endpoint GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/deployments/{id}
@desc Get the deployment
@required {resourceGroupName: any # Name of resource group, name: any # Name of web app, id: any # Id of the deployment, slot: any # Name of web app slot. If not specified then will default to production slot.}
@returns(200) OK

@endpoint PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/deployments/{id}
@desc Create a deployment
@required {resourceGroupName: any # Name of resource group, name: any # Name of web app, id: any # Id of the deployment, slot: any # Name of web app slot. If not specified then will default to production slot., deployment: map # Details of deployment}
@returns(200) OK

@endpoint DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/deployments/{id}
@desc Delete the deployment
@required {resourceGroupName: any # Name of resource group, name: any # Name of web app, id: any # Id of the deployment, slot: any # Name of web app slot. If not specified then will default to production slot.}
@returns(200) OK

@endpoint GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/instances/{instanceId}/deployments/{id}
@desc Get the deployment
@required {resourceGroupName: any # Name of resource group, name: any # Name of web app, id: any # Id of the deployment, slot: any # Name of web app slot. If not specified then will default to production slot., instanceId: any # Id of web app instance}
@returns(200) OK

@endpoint PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/instances/{instanceId}/deployments/{id}
@desc Create a deployment
@required {resourceGroupName: any # Name of resource group, name: any # Name of web app, id: any # Id of the deployment, slot: any # Name of web app slot. If not specified then will default to production slot., instanceId: any # Id of web app instance, deployment: map # Details of deployment}
@returns(200) OK

@endpoint DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/instances/{instanceId}/deployments/{id}
@desc Delete the deployment
@required {resourceGroupName: any # Name of resource group, name: any # Name of web app, id: any # Id of the deployment, slot: any # Name of web app slot. If not specified then will default to production slot., instanceId: any # Id of web app instance}
@returns(200) OK

@endpoint GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/instances
@desc Gets all instance of a web app
@required {resourceGroupName: any # Name of resource group, name: any # Name of web app}
@returns(200) OK

@endpoint GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/instances
@desc Gets all instance of a web app
@required {resourceGroupName: any # Name of resource group, name: any # Name of web app, slot: any # Name of web app slot. If not specified then will default to production slot.}
@returns(200) OK

@endpoint GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/hostNameBindings
@desc Get web app hostname bindings
@required {resourceGroupName: any # Name of resource group, name: any # Name of web app}
@returns(200) OK

@endpoint GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/hostNameBindings
@desc Get web app hostname bindings
@required {resourceGroupName: any # Name of resource group, name: any # Name of web app, slot: any # Name of web app slot. If not specified then will default to production slot.}
@returns(200) OK

@endpoint GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/hostNameBindings/{hostName}
@desc Get web app binding for a hostname
@required {resourceGroupName: any # Name of resource group, name: any # Name of web app, hostName: any # Name of host}
@returns(200) OK

@endpoint PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/hostNameBindings/{hostName}
@desc Creates a web app hostname binding
@required {resourceGroupName: any # Name of resource group, name: any # Name of web app, hostName: any # Name of host, hostNameBinding: map # Host name binding information}
@returns(200) OK

@endpoint DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/hostNameBindings/{hostName}
@desc Deletes a host name binding
@required {resourceGroupName: any # Name of resource group, name: any # Name of web app, hostName: any # Name of host}
@returns(200) OK

@endpoint GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/hostNameBindings/{hostName}
@desc Get web app binding for a hostname
@required {resourceGroupName: any # Name of resource group, name: any # Name of web app, slot: any # Name of web app slot. If not specified then will default to production slot., hostName: any # Name of host}
@returns(200) OK

@endpoint PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/hostNameBindings/{hostName}
@desc Creates a web app hostname binding
@required {resourceGroupName: any # Name of resource group, name: any # Name of web app, hostName: any # Name of host, hostNameBinding: map # Host name binding information, slot: any # Name of web app slot. If not specified then will default to production slot.}
@returns(200) OK

@endpoint DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/hostNameBindings/{hostName}
@desc Deletes a host name binding
@required {resourceGroupName: any # Name of resource group, name: any # Name of web app, slot: any # Name of web app slot. If not specified then will default to production slot., hostName: any # Name of host}
@returns(200) OK

@endpoint GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/config/web
@desc Gets the configuration of the web app
@required {resourceGroupName: any # Name of resource group, name: any # Name of web app}
@returns(200) OK

@endpoint PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/config/web
@desc Update the configuration of web app
@required {resourceGroupName: any # Name of resource group, name: any # Name of web app, siteConfig: map # Request body that contains the configuration setting for the web app}
@returns(200) OK

@endpoint PATCH /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/config/web
@desc Update the configuration of web app
@required {resourceGroupName: any # Name of resource group, name: any # Name of web app, siteConfig: map # Request body that contains the configuration setting for the web app}
@returns(200) OK

@endpoint GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/config/web
@desc Gets the configuration of the web app
@required {resourceGroupName: any # Name of resource group, name: any # Name of web app, slot: any # Name of web app slot. If not specified then will default to production slot.}
@returns(200) OK

@endpoint PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/config/web
@desc Update the configuration of web app
@required {resourceGroupName: any # Name of resource group, name: any # Name of web app, siteConfig: map # Request body that contains the configuration setting for the web app, slot: any # Name of web app slot. If not specified then will default to production slot.}
@returns(200) OK

@endpoint PATCH /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/config/web
@desc Update the configuration of web app
@required {resourceGroupName: any # Name of resource group, name: any # Name of web app, siteConfig: map # Request body that contains the configuration setting for the web app, slot: any # Name of web app slot. If not specified then will default to production slot.}
@returns(200) OK

@endpoint GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/sourcecontrols/web
@desc Get the source control configuration of web app
@required {resourceGroupName: any # Name of resource group, name: any # Name of web app}
@returns(200) OK

@endpoint PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/sourcecontrols/web
@desc Update the source control configuration of web app
@required {resourceGroupName: any # Name of resource group, name: any # Name of web app, siteSourceControl: map # Request body that contains the source control parameters}
@returns(200) OK
@returns(201) Created

@endpoint DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/sourcecontrols/web
@desc Delete source control configuration of web app
@required {resourceGroupName: any # Name of resource group, name: any # Name of web app}
@returns(200) OK

@endpoint PATCH /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/sourcecontrols/web
@desc Update the source control configuration of web app
@required {resourceGroupName: any # Name of resource group, name: any # Name of web app, siteSourceControl: map # Request body that contains the source control parameters}
@returns(200) OK

@endpoint GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/sourcecontrols/web
@desc Get the source control configuration of web app
@required {resourceGroupName: any # Name of resource group, name: any # Name of web app, slot: any # Name of web app slot. If not specified then will default to production slot.}
@returns(200) OK

@endpoint PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/sourcecontrols/web
@desc Update the source control configuration of web app
@required {resourceGroupName: any # Name of resource group, name: any # Name of web app, siteSourceControl: map # Request body that contains the source control parameters, slot: any # Name of web app slot. If not specified then will default to production slot.}
@returns(200) OK
@returns(201) Created

@endpoint DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/sourcecontrols/web
@desc Delete source control configuration of web app
@required {resourceGroupName: any # Name of resource group, name: any # Name of web app, slot: any # Name of web app slot. If not specified then will default to production slot.}
@returns(200) OK

@endpoint PATCH /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/sourcecontrols/web
@desc Update the source control configuration of web app
@required {resourceGroupName: any # Name of resource group, name: any # Name of web app, siteSourceControl: map # Request body that contains the source control parameters, slot: any # Name of web app slot. If not specified then will default to production slot.}
@returns(200) OK

@endpoint POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/config/appsettings/list
@desc Gets the application settings of web app
@required {resourceGroupName: any # Name of resource group, name: any # Name of web app, slot: any # Name of web app slot. If not specified then will default to production slot.}
@returns(200) OK

@endpoint POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/config/appsettings/list
@desc Gets the application settings of web app
@required {resourceGroupName: any # Name of resource group, name: any # Name of web app}
@returns(200) OK

@endpoint PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/config/appsettings
@desc Updates the application settings of web app
@required {resourceGroupName: any # Name of resource group, name: any # Name of web app, appSettings: map # Application settings of web app}
@returns(200) OK

@endpoint PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/config/appsettings
@desc Updates the application settings of web app
@required {resourceGroupName: any # Name of resource group, name: any # Name of web app, appSettings: map # Application settings of web app, slot: any # Name of web app slot. If not specified then will default to production slot.}
@returns(200) OK

@endpoint POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/config/connectionstrings/list
@desc Gets the connection strings associated with web app
@required {resourceGroupName: any # Name of resource group, name: any # Name of web app}
@returns(200) OK

@endpoint POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/config/connectionstrings/list
@desc Gets the connection strings associated with web app
@required {resourceGroupName: any # Name of resource group, name: any # Name of web app, slot: any # Name of web app slot. If not specified then will default to production slot.}
@returns(200) OK

@endpoint PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/config/connectionstrings
@desc Updates the connection strings associated with web app
@required {resourceGroupName: any # Name of resource group, name: any # Name of web app, connectionStrings: map # Connection strings associated with web app}
@returns(200) OK

@endpoint PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/config/connectionstrings
@desc Updates the connection strings associated with web app
@required {resourceGroupName: any # Name of resource group, name: any # Name of web app, connectionStrings: map # Connection strings associated with web app, slot: any # Name of web app slot. If not specified then will default to production slot.}
@returns(200) OK

@endpoint POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/config/authsettings/list
@desc Gets the Authentication / Authorization settings associated with web app
@required {resourceGroupName: any # Name of resource group, name: any # Name of web app}
@returns(200) OK

@endpoint POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/config/authsettings/list
@desc Gets the Authentication / Authorization settings associated with web app
@required {resourceGroupName: any # Name of resource group, name: any # Name of web app, slot: any # Name of web app slot. If not specified then will default to production slot.}
@returns(200) OK

@endpoint PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/config/authsettings
@desc Updates the Authentication / Authorization settings associated with web app
@required {resourceGroupName: any # Name of resource group, name: any # Name of web app, siteAuthSettings: map # Auth settings associated with web app}
@returns(200) OK

@endpoint PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/config/authsettings
@desc Updates the Authentication / Authorization settings associated with web app
@required {resourceGroupName: any # Name of resource group, name: any # Name of web app, siteAuthSettings: map # Auth settings associated with web app, slot: any # Name of web app slot. If not specified then will default to production slot.}
@returns(200) OK

@endpoint POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/config/publishingcredentials/list
@desc Gets the web app publishing credentials
@required {resourceGroupName: any # Name of resource group, name: any # Name of web app}
@returns(200) OK

@endpoint POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/config/publishingcredentials/list
@desc Gets the web app publishing credentials
@required {resourceGroupName: any # Name of resource group, name: any # Name of web app, slot: any # Name of web app slot. If not specified then will default to production slot.}
@returns(200) OK

@endpoint POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/config/metadata/list
@desc Gets the web app meta data.
@required {resourceGroupName: any # Name of resource group, name: any # Name of web app}
@returns(200) OK

@endpoint POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/config/metadata/list
@desc Gets the web app meta data.
@required {resourceGroupName: any # Name of resource group, name: any # Name of web app, slot: any # Name of web app slot. If not specified then will default to production slot.}
@returns(200) OK

@endpoint PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/config/metadata
@desc Updates the meta data for web app
@required {resourceGroupName: any # Name of resource group, name: any # Name of web app, metadata: map # Meta data of web app}
@returns(200) OK

@endpoint PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/config/metadata
@desc Updates the meta data for web app
@required {resourceGroupName: any # Name of resource group, name: any # Name of web app, metadata: map # Meta data of web app, slot: any # Name of web app slot. If not specified then will default to production slot.}
@returns(200) OK

@endpoint GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/config/logs
@desc Gets the web app logs configuration
@required {resourceGroupName: any # Name of resource group, name: any # Name of web app}
@returns(200) OK

@endpoint PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/config/logs
@desc Updates the meta data for web app
@required {resourceGroupName: any # Name of resource group, name: any # Name of web app, siteLogsConfig: map # Site logs configuration}
@returns(200) OK

@endpoint GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/config/logs
@desc Gets the web app logs configuration
@required {resourceGroupName: any # Name of resource group, name: any # Name of web app, slot: any # Name of web app slot. If not specified then will default to production slot.}
@returns(200) OK

@endpoint PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/config/logs
@desc Updates the meta data for web app
@required {resourceGroupName: any # Name of resource group, name: any # Name of web app, siteLogsConfig: map # Site logs configuration, slot: any # Name of web app slot. If not specified then will default to production slot.}
@returns(200) OK

@endpoint GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/premieraddons
@required {resourceGroupName: any, name: any}
@returns(200) OK

@endpoint GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/premieraddons
@required {resourceGroupName: any, name: any, slot: any}
@returns(200) OK

@endpoint GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/premieraddons/{premierAddOnName}
@required {resourceGroupName: any, name: any, premierAddOnName: any}
@returns(200) OK

@endpoint PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/premieraddons/{premierAddOnName}
@required {resourceGroupName: any, name: any, premierAddOnName: any, premierAddOn: map}
@returns(200) OK

@endpoint DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/premieraddons/{premierAddOnName}
@required {resourceGroupName: any, name: any, premierAddOnName: any}
@returns(200) OK

@endpoint GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/premieraddons/{premierAddOnName}
@required {resourceGroupName: any, name: any, premierAddOnName: any, slot: any}
@returns(200) OK

@endpoint PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/premieraddons/{premierAddOnName}
@required {resourceGroupName: any, name: any, premierAddOnName: any, premierAddOn: map, slot: any}
@returns(200) OK

@endpoint DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/premieraddons/{premierAddOnName}
@required {resourceGroupName: any, name: any, premierAddOnName: any, slot: any}
@returns(200) OK

@endpoint POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/config/backup/list
@desc Gets the backup configuration for a web app
@required {resourceGroupName: any # Name of resource group, name: any # Name of web app}
@returns(200) OK

@endpoint POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/config/backup/list
@desc Gets the backup configuration for a web app
@required {resourceGroupName: any # Name of resource group, name: any # Name of web app, slot: any # Name of web app slot. If not specified then will default to production slot.}
@returns(200) OK

@endpoint PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/config/backup
@desc Updates backup configuration of web app
@required {resourceGroupName: any # Name of resource group, name: any # Name of web app, request: map # Information on backup request}
@returns(200) OK

@endpoint PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/config/backup
@desc Updates backup configuration of web app
@required {resourceGroupName: any # Name of resource group, name: any # Name of web app, request: map # Information on backup request, slot: any # Name of web app slot. If not specified then will default to production slot.}
@returns(200) OK

@endpoint POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/backup
@desc Creates web app backup
@required {resourceGroupName: any # Name of resource group, name: any # Name of web app, request: map # Information on backup request}
@returns(200) OK

@endpoint POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/backup
@desc Creates web app backup
@required {resourceGroupName: any # Name of resource group, name: any # Name of web app, request: map # Information on backup request, slot: any # Name of web app slot. If not specified then will default to production slot.}
@returns(200) OK

@endpoint PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/backups/discover
@desc Discovers existing web app backups that can be restored
@required {resourceGroupName: any # Name of resource group, name: any # Name of web app, request: map # Information on restore request}
@returns(200) OK

@endpoint PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/backups/discover
@desc Discovers existing web app backups that can be restored
@required {resourceGroupName: any # Name of resource group, name: any # Name of web app, request: map # Information on restore request, slot: any # Name of web app slot. If not specified then will default to production slot.}
@returns(200) OK

@endpoint GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/backups
@desc Lists all available backups for web app
@required {resourceGroupName: any # Name of resource group, name: any # Name of web app}
@returns(200) OK

@endpoint GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/backups
@desc Lists all available backups for web app
@required {resourceGroupName: any # Name of resource group, name: any # Name of web app, slot: any # Name of web app slot. If not specified then will default to production slot.}
@returns(200) OK

@endpoint GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/backups/{backupId}
@desc Gets status of a web app backup that may be in progress.
@required {resourceGroupName: any # Name of resource group, name: any # Name of web app, backupId: any # Id of backup}
@returns(200) OK

@endpoint DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/backups/{backupId}
@desc Deletes a backup from Azure Storage
@required {resourceGroupName: any # Name of resource group, name: any # Name of web app, backupId: any # Id of backup}
@returns(200) OK

@endpoint GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/backups/{backupId}
@desc Gets status of a web app backup that may be in progress.
@required {resourceGroupName: any # Name of resource group, name: any # Name of web app, backupId: any # Id of backup, slot: any # Name of web app slot. If not specified then will default to production slot.}
@returns(200) OK

@endpoint DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/backups/{backupId}
@desc Deletes a backup from Azure Storage
@required {resourceGroupName: any # Name of resource group, name: any # Name of web app, backupId: any # Id of backup, slot: any # Name of web app slot. If not specified then will default to production slot.}
@returns(200) OK

@endpoint POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/backups/{backupId}/list
@desc Gets status of a web app backup that may be in progress, including secrets associated with the backup, such as the Azure Storage SAS URL. Also can be used to update the SAS URL for the backup if a new URL is passed in the request body.
@required {resourceGroupName: any # Name of resource group, name: any # Name of web app, backupId: any # Id of backup, request: map # Information on backup request, slot: any # Name of web app slot. If not specified then will default to production slot.}
@returns(200) OK

@endpoint POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/backups/{backupId}/list
@desc Gets status of a web app backup that may be in progress, including secrets associated with the backup, such as the Azure Storage SAS URL. Also can be used to update the SAS URL for the backup if a new URL is passed in the request body.
@required {resourceGroupName: any # Name of resource group, name: any # Name of web app, backupId: any # Id of backup, request: map # Information on backup request}
@returns(200) OK

@endpoint POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/backups/{backupId}/restore
@desc Restores a web app
@required {resourceGroupName: any # Name of resource group, name: any # Name of web app, backupId: any # Id of backup to restore, request: map # Information on restore request}
@returns(200) OK

@endpoint POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/backups/{backupId}/restore
@desc Restores a web app
@required {resourceGroupName: any # Name of resource group, name: any # Name of web app, backupId: any # Id of backup to restore, request: map # Information on restore request, slot: any # Name of web app slot. If not specified then will default to production slot.}
@returns(200) OK

@endpoint GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/usages
@desc Gets the quota usage numbers for web app
@required {resourceGroupName: any # Name of resource group, name: any # Name of web app}
@optional {$filter: any # Return only usages specified in the filter. Filter is specified by using OData syntax. Example: $filter=(name.value eq 'Metric1' or name.value eq 'Metric2') and startTime eq '2014-01-01T00:00:00Z' and endTime eq '2014-12-31T23:59:59Z' and timeGrain eq duration'[Hour|Minute|Day]'.}
@returns(200) OK

@endpoint GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/usages
@desc Gets the quota usage numbers for web app
@required {resourceGroupName: any # Name of resource group, name: any # Name of web app, slot: any # Name of web app slot. If not specified then will default to production slot.}
@optional {$filter: any # Return only usages specified in the filter. Filter is specified by using OData syntax. Example: $filter=(name.value eq 'Metric1' or name.value eq 'Metric2') and startTime eq '2014-01-01T00:00:00Z' and endTime eq '2014-12-31T23:59:59Z' and timeGrain eq duration'[Hour|Minute|Day]'.}
@returns(200) OK

@endpoint GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/metrics
@desc Gets metrics for web app
@required {resourceGroupName: any # Name of resource group, name: any # Name of web app}
@optional {details: any # If true, metric details are included in response, $filter: any # Return only usages/metrics specified in the filter. Filter conforms to odata syntax. Example: $filter=(name.value eq 'Metric1' or name.value eq 'Metric2') and startTime eq '2014-01-01T00:00:00Z' and endTime eq '2014-12-31T23:59:59Z' and timeGrain eq duration'[Hour|Minute|Day]'.}
@returns(200) OK

@endpoint GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/metrics
@desc Gets metrics for web app
@required {resourceGroupName: any # Name of resource group, name: any # Name of web app, slot: any # Name of web app slot. If not specified then will default to production slot.}
@optional {details: any # If true, metric details are included in response, $filter: any # Return only usages/metrics specified in the filter. Filter conforms to odata syntax. Example: $filter=(name.value eq 'Metric1' or name.value eq 'Metric2') and startTime eq '2014-01-01T00:00:00Z' and endTime eq '2014-12-31T23:59:59Z' and timeGrain eq duration'[Hour|Minute|Day]'.}
@returns(200) OK

@endpoint GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/metricdefinitions
@desc Gets metric definitions for web app
@required {resourceGroupName: any # Name of resource group, name: any # Name of web app, slot: any # Name of web app slot. If not specified then will default to production slot.}
@returns(200) OK

@endpoint GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/metricdefinitions
@desc Gets metric definitions for web app
@required {resourceGroupName: any # Name of resource group, name: any # Name of web app}
@returns(200) OK

@endpoint POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/publishxml
@desc Gets the publishing profile for web app
@required {resourceGroupName: any # Name of resource group, name: any # Name of web app, options: map # Specifies options for publishing profile. Pass CsmPublishingProfileOptions.Format=FileZilla3 for FileZilla FTP format.}
@returns(200) OK

@endpoint POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/publishxml
@desc Gets the publishing profile for web app
@required {resourceGroupName: any # Name of resource group, name: any # Name of web app, options: map # Specifies options for publishing profile. Pass CsmPublishingProfileOptions.Format=FileZilla3 for FileZilla FTP format., slot: any # Name of web app slot. If not specified then will default to production slot.}
@returns(200) OK

@endpoint POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/restart
@desc Restarts web app
@required {resourceGroupName: any # Name of resource group, name: any # Name of web app, slot: any # Name of web app slot. If not specified then will default to production slot.}
@optional {softRestart: any # Soft restart applies the configuration settings and restarts the app if necessary. Hard restart always restarts and reprovisions the app, synchronous: any # If true then the API will block until the app has been restarted}
@returns(200) OK

@endpoint POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/restart
@desc Restarts web app
@required {resourceGroupName: any # Name of resource group, name: any # Name of web app}
@optional {softRestart: any # Soft restart applies the configuration settings and restarts the app if necessary. Hard restart always restarts and reprovisions the app, synchronous: any # If true then the API will block until the app has been restarted}
@returns(200) OK

@endpoint POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/start
@desc Starts web app
@required {resourceGroupName: any # Name of resource group, name: any # Name of web app}
@returns(200) OK

@endpoint POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/start
@desc Starts web app
@required {resourceGroupName: any # Name of resource group, name: any # Name of web app, slot: any # Name of web app slot. If not specified then will default to production slot.}
@returns(200) OK

@endpoint POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/stop
@desc Stops web app
@required {resourceGroupName: any # Name of resource group, name: any # Name of web app}
@returns(200) OK

@endpoint POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/stop
@desc Stops web app
@required {resourceGroupName: any # Name of resource group, name: any # Name of web app, slot: any # Name of web app slot. If not specified then will default to production slot.}
@returns(200) OK

@endpoint POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/sync
@required {resourceGroupName: any, name: any}
@returns(200) OK

@endpoint POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/sync
@required {resourceGroupName: any, name: any, slot: any}
@returns(200) OK

@endpoint POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/newpassword
@desc Generates new random app publishing password
@required {resourceGroupName: any # Name of resource group, name: any # Name of web app, slot: any # Name of web app slot. If not specified then will default to production slot.}
@returns(200) OK

@endpoint POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/newpassword
@desc Generates new random app publishing password
@required {resourceGroupName: any # Name of resource group, name: any # Name of web app}
@returns(200) OK

@endpoint GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/hybridconnection/{entityName}
@desc Retrieves a BizTalk Hybrid Connection identified by its entity name.
@required {resourceGroupName: any # The resource group name, name: any # The name of the web app, entityName: any # The name by which the Hybrid Connection is identified}
@returns(200) OK

@endpoint PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/hybridconnection/{entityName}
@desc Creates a new association to a BizTalk Hybrid Connection, or updates an existing one.
@required {resourceGroupName: any # The resource group name, name: any # The name of the web app, entityName: any # The name by which the Hybrid Connection is identified, connectionEnvelope: map # The details of the Hybrid Connection}
@returns(200) OK

@endpoint DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/hybridconnection/{entityName}
@desc Removes the association to a BizTalk Hybrid Connection, identified by its entity name.
@required {resourceGroupName: any # The resource group name, name: any # The name of the web app, entityName: any # The name by which the Hybrid Connection is identified}
@returns(200) OK

@endpoint PATCH /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/hybridconnection/{entityName}
@desc Creates a new association to a BizTalk Hybrid Connection, or updates an existing one.
@required {resourceGroupName: any # The resource group name, name: any # The name of the web app, entityName: any # The name by which the Hybrid Connection is identified, connectionEnvelope: map # The details of the Hybrid Connection}
@returns(200) OK

@endpoint GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/hybridconnection/{entityName}
@desc Retrieves a BizTalk Hybrid Connection identified by its entity name.
@required {resourceGroupName: any # The resource group name, name: any # The name of the web app, entityName: any # The name by which the Hybrid Connection is identified, slot: any # The name of the slot for the web app.}
@returns(200) OK

@endpoint PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/hybridconnection/{entityName}
@desc Creates a new association to a BizTalk Hybrid Connection, or updates an existing one.
@required {resourceGroupName: any # The resource group name, name: any # The name of the web app, entityName: any # The name by which the Hybrid Connection is identified, connectionEnvelope: map # The details of the Hybrid Connection, slot: any # The name of the slot for the web app.}
@returns(200) OK

@endpoint DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/hybridconnection/{entityName}
@desc Removes the association to a BizTalk Hybrid Connection, identified by its entity name.
@required {resourceGroupName: any # The resource group name, name: any # The name of the web app, entityName: any # The name by which the Hybrid Connection is identified, slot: any # The name of the slot for the web app.}
@returns(200) OK

@endpoint PATCH /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/hybridconnection/{entityName}
@desc Creates a new association to a BizTalk Hybrid Connection, or updates an existing one.
@required {resourceGroupName: any # The resource group name, name: any # The name of the web app, entityName: any # The name by which the Hybrid Connection is identified, connectionEnvelope: map # The details of the Hybrid Connection, slot: any # The name of the slot for the web app.}
@returns(200) OK

@endpoint GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/hybridconnection
@desc Retrieves all BizTalk Hybrid Connections associated with this web app.
@required {resourceGroupName: any # The resource group name, name: any # The name of the web app, slot: any # The name of the slot for the web app.}
@returns(200) OK

@endpoint GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/hybridconnection
@desc Retrieves all BizTalk Hybrid Connections associated with this web app.
@required {resourceGroupName: any # The resource group name, name: any # The name of the web app}
@returns(200) OK

@endpoint GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/virtualNetworkConnections/{vnetName}/gateways/{gatewayName}
@desc Retrieves a Virtual Network connection gateway associated with this web app and virtual network.
@required {resourceGroupName: any # The resource group name, name: any # The name of the web app, vnetName: any # The name of the Virtual Network, gatewayName: any # The name of the gateway. The only gateway that exists presently is "primary", slot: any # The name of the slot for this web app.}
@returns(200) OK
@errors {404: Gateway does not exist. Only the "primary" gateway exists presently.}

@endpoint PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/virtualNetworkConnections/{vnetName}/gateways/{gatewayName}
@desc Updates the Virtual Network Gateway.
@required {resourceGroupName: any # The resource group name, name: any # The name of the web app, vnetName: any # The name of the Virtual Network, gatewayName: any # The name of the gateway. The only gateway that exists presently is "primary", connectionEnvelope: map # The properties to update this gateway with., slot: any # The name of the slot for this web app.}
@returns(200) OK

@endpoint PATCH /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/virtualNetworkConnections/{vnetName}/gateways/{gatewayName}
@desc Updates the Virtual Network Gateway.
@required {resourceGroupName: any # The resource group name, name: any # The name of the web app, vnetName: any # The name of the Virtual Network, gatewayName: any # The name of the gateway. The only gateway that exists presently is "primary", connectionEnvelope: map # The properties to update this gateway with., slot: any # The name of the slot for this web app.}
@returns(200) OK

@endpoint GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/virtualNetworkConnections/{vnetName}/gateways/{gatewayName}
@desc Retrieves a Virtual Network connection gateway associated with this web app and virtual network.
@required {resourceGroupName: any # The resource group name, name: any # The name of the web app, vnetName: any # The name of the Virtual Network, gatewayName: any # The name of the gateway. The only gateway that exists presently is "primary"}
@returns(200) OK
@errors {404: Gateway does not exist. Only the "primary" gateway exists presently.}

@endpoint PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/virtualNetworkConnections/{vnetName}/gateways/{gatewayName}
@desc Updates the Virtual Network Gateway.
@required {resourceGroupName: any # The resource group name, name: any # The name of the web app, vnetName: any # The name of the Virtual Network, gatewayName: any # The name of the gateway. The only gateway that exists presently is "primary", connectionEnvelope: map # The properties to update this gateway with.}
@returns(200) OK

@endpoint PATCH /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/virtualNetworkConnections/{vnetName}/gateways/{gatewayName}
@desc Updates the Virtual Network Gateway.
@required {resourceGroupName: any # The resource group name, name: any # The name of the web app, vnetName: any # The name of the Virtual Network, gatewayName: any # The name of the gateway. The only gateway that exists presently is "primary", connectionEnvelope: map # The properties to update this gateway with.}
@returns(200) OK

@endpoint GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/virtualNetworkConnections
@desc Retrieves a list of all Virtual Network Connections associated with this web app.
@required {resourceGroupName: any # The resource group name, name: any # The name of the web app}
@returns(200) OK

@endpoint GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/virtualNetworkConnections
@desc Retrieves a list of all Virtual Network Connections associated with this web app.
@required {resourceGroupName: any # The resource group name, name: any # The name of the web app, slot: any # The name of the slot for this web app.}
@returns(200) OK

@endpoint GET /subscriptions/{subscriptionId}/providers/Microsoft.DomainRegistration/topLevelDomains
@desc Lists all top level domains supported for registration
@returns(200) OK

@endpoint GET /subscriptions/{subscriptionId}/providers/Microsoft.DomainRegistration/topLevelDomains/{name}
@desc Gets details of a top level domain
@required {name: any # Name of the top level domain}
@returns(200) OK

@endpoint POST /subscriptions/{subscriptionId}/providers/Microsoft.DomainRegistration/topLevelDomains/{name}/listAgreements
@desc Lists legal agreements that user needs to accept before purchasing domain
@required {name: any # Name of the top level domain, agreementOption: map # Domain agreement options}
@returns(200) OK

@endpoint GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web.Admin/environments/{environmentName}/usage
@desc Returns usage records for specified subscription and resource groups
@required {resourceGroupName: any # Name of resource group, environmentName: any # Environment name, lastId: any # Last marker that was returned from the batch, batchSize: any # size of the batch to be returned.}
@returns(200) OK

@endgroup

@end
