diff --git a/specification/web/resource-manager/Microsoft.CertificateRegistration/2015-08-01/AppServiceCertificateOrders.json b/specification/web/resource-manager/Microsoft.CertificateRegistration/2015-08-01/AppServiceCertificateOrders.json index c43c50ca70a0..a3996798ff08 100644 --- a/specification/web/resource-manager/Microsoft.CertificateRegistration/2015-08-01/AppServiceCertificateOrders.json +++ b/specification/web/resource-manager/Microsoft.CertificateRegistration/2015-08-01/AppServiceCertificateOrders.json @@ -8,6 +8,12 @@ "schemes": [ "https" ], + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], "paths": { "/subscriptions/{subscriptionId}/providers/Microsoft.CertificateRegistration/certificateOrders": { "get": { @@ -17,10 +23,6 @@ "summary": "List all certificate orders in a subscription.", "description": "List all certificate orders in a subscription.", "operationId": "AppServiceCertificateOrders_List", - "produces": [ - "application/json", - "text/json" - ], "parameters": [ { "$ref": "#/parameters/subscriptionIdParameter" @@ -50,13 +52,6 @@ "summary": "Validate information for a certificate order.", "description": "Validate information for a certificate order.", "operationId": "AppServiceCertificateOrders_ValidatePurchaseInformation", - "consumes": [ - "application/json", - "text/json", - "application/xml", - "text/xml", - "application/x-www-form-urlencoded" - ], "parameters": [ { "name": "appServiceCertificateOrder", @@ -89,10 +84,6 @@ "summary": "Get certificate orders in a resource group.", "description": "Get certificate orders in a resource group.", "operationId": "AppServiceCertificateOrders_ListByResourceGroup", - "produces": [ - "application/json", - "text/json" - ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -125,12 +116,6 @@ "summary": "Get a certificate order.", "description": "Get a certificate order.", "operationId": "AppServiceCertificateOrders_Get", - "produces": [ - "application/json", - "text/json", - "application/xml", - "text/xml" - ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -165,17 +150,6 @@ "summary": "Create or update a certificate purchase order.", "description": "Create or update a certificate purchase order.", "operationId": "AppServiceCertificateOrders_CreateOrUpdate", - "consumes": [ - "application/json", - "text/json", - "application/x-www-form-urlencoded" - ], - "produces": [ - "application/json", - "text/json", - "application/xml", - "text/xml" - ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -252,6 +226,55 @@ "description": "Certificate order does not exist." } } + }, + "patch": { + "tags": [ + "AppServiceCertificateOrders" + ], + "summary": "Create or update a certificate purchase order.", + "description": "Create or update a certificate purchase order.", + "operationId": "AppServiceCertificateOrders_Update", + "parameters": [ + { + "$ref": "#/parameters/resourceGroupNameParameter" + }, + { + "name": "certificateOrderName", + "in": "path", + "description": "Name of the certificate order.", + "required": true, + "type": "string" + }, + { + "name": "certificateDistinguishedName", + "in": "body", + "description": "Distinguished name to to use for the certificate order.", + "required": true, + "schema": { + "$ref": "#/definitions/AppServiceCertificateOrderPatchResource" + } + }, + { + "$ref": "#/parameters/subscriptionIdParameter" + }, + { + "$ref": "#/parameters/apiVersionParameter" + } + ], + "responses": { + "200": { + "description": "App Service Certificate Order is created.", + "schema": { + "$ref": "#/definitions/AppServiceCertificateOrder" + } + }, + "201": { + "description": "App Service Certificate Order creation operation is in progress", + "schema": { + "$ref": "#/definitions/AppServiceCertificateOrder" + } + } + } } }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CertificateRegistration/certificateOrders/{certificateOrderName}/certificates": { @@ -262,10 +285,6 @@ "summary": "List all certificates associated with a certificate order.", "description": "List all certificates associated with a certificate order.", "operationId": "AppServiceCertificateOrders_ListCertificates", - "produces": [ - "application/json", - "text/json" - ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -305,12 +324,6 @@ "summary": "Get the certificate associated with a certificate order.", "description": "Get the certificate associated with a certificate order.", "operationId": "AppServiceCertificateOrders_GetCertificate", - "produces": [ - "application/json", - "text/json", - "application/xml", - "text/xml" - ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -352,17 +365,6 @@ "summary": "Creates or updates a certificate and associates with key vault secret.", "description": "Creates or updates a certificate and associates with key vault secret.", "operationId": "AppServiceCertificateOrders_CreateOrUpdateCertificate", - "consumes": [ - "application/json", - "text/json", - "application/x-www-form-urlencoded" - ], - "produces": [ - "application/json", - "text/json", - "application/xml", - "text/xml" - ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -453,6 +455,62 @@ "description": "Certificate does not exist." } } + }, + "patch": { + "tags": [ + "AppServiceCertificateOrders" + ], + "summary": "Creates or updates a certificate and associates with key vault secret.", + "description": "Creates or updates a certificate and associates with key vault secret.", + "operationId": "AppServiceCertificateOrders_UpdateCertificate", + "parameters": [ + { + "$ref": "#/parameters/resourceGroupNameParameter" + }, + { + "name": "certificateOrderName", + "in": "path", + "description": "Name of the certificate order.", + "required": true, + "type": "string" + }, + { + "name": "name", + "in": "path", + "description": "Name of the certificate.", + "required": true, + "type": "string" + }, + { + "name": "keyVaultCertificate", + "in": "body", + "description": "Key vault certificate resource Id.", + "required": true, + "schema": { + "$ref": "#/definitions/AppServiceCertificatePatchResource" + } + }, + { + "$ref": "#/parameters/subscriptionIdParameter" + }, + { + "$ref": "#/parameters/apiVersionParameter" + } + ], + "responses": { + "200": { + "description": "App Service Certificate is created.", + "schema": { + "$ref": "#/definitions/AppServiceCertificateResource" + } + }, + "201": { + "description": "App Service Certificate creation operation is in progress", + "schema": { + "$ref": "#/definitions/AppServiceCertificateResource" + } + } + } } }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CertificateRegistration/certificateOrders/{certificateOrderName}/reissue": { @@ -463,13 +521,6 @@ "summary": "Reissue an existing certificate order.", "description": "Reissue an existing certificate order.", "operationId": "AppServiceCertificateOrders_Reissue", - "consumes": [ - "application/json", - "text/json", - "application/xml", - "text/xml", - "application/x-www-form-urlencoded" - ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -512,13 +563,6 @@ "summary": "Renew an existing certificate order.", "description": "Renew an existing certificate order.", "operationId": "AppServiceCertificateOrders_Renew", - "consumes": [ - "application/json", - "text/json", - "application/xml", - "text/xml", - "application/x-www-form-urlencoded" - ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -594,13 +638,6 @@ "summary": "Verify domain ownership for this certificate order.", "description": "Verify domain ownership for this certificate order.", "operationId": "AppServiceCertificateOrders_ResendRequestEmails", - "consumes": [ - "application/json", - "text/json", - "application/xml", - "text/xml", - "application/x-www-form-urlencoded" - ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -643,19 +680,6 @@ "summary": "Verify domain ownership for this certificate order.", "description": "Verify domain ownership for this certificate order.", "operationId": "AppServiceCertificateOrders_RetrieveSiteSeal", - "consumes": [ - "application/json", - "text/json", - "application/xml", - "text/xml", - "application/x-www-form-urlencoded" - ], - "produces": [ - "application/json", - "text/json", - "application/xml", - "text/xml" - ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -734,12 +758,6 @@ "summary": "Retrieve the list of certificate actions.", "description": "Retrieve the list of certificate actions.", "operationId": "AppServiceCertificateOrders_RetrieveCertificateActions", - "produces": [ - "application/json", - "text/json", - "application/xml", - "text/xml" - ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -779,12 +797,6 @@ "summary": "Retrieve email history.", "description": "Retrieve email history.", "operationId": "AppServiceCertificateOrders_RetrieveCertificateEmailHistory", - "produces": [ - "application/json", - "text/json", - "application/xml", - "text/xml" - ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -1078,6 +1090,206 @@ } } }, + "AppServiceCertificateOrderPatchResource": { + "description": "ARM resource for a certificate order that is purchased through Azure.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/ProxyOnlyResource" + } + ], + "properties": { + "properties": { + "description": "AppServiceCertificateOrderPatchResource resource specific properties", + "required": [ + "productType" + ], + "properties": { + "certificates": { + "description": "State of the Key Vault secret.", + "type": "object", + "additionalProperties": { + "$ref": "#/definitions/AppServiceCertificate" + } + }, + "distinguishedName": { + "description": "Certificate distinguished name.", + "type": "string", + "x-ms-mutability": [ + "create", + "read" + ] + }, + "domainVerificationToken": { + "description": "Domain verification token.", + "type": "string", + "readOnly": true + }, + "validityInYears": { + "format": "int32", + "description": "Duration in years (must be between 1 and 3).", + "default": 1, + "maximum": 3, + "minimum": 1, + "type": "integer", + "x-ms-mutability": [ + "create", + "read" + ] + }, + "keySize": { + "format": "int32", + "description": "Certificate key size.", + "default": 2048, + "type": "integer", + "x-ms-mutability": [ + "create", + "read" + ] + }, + "productType": { + "description": "Certificate product type.", + "enum": [ + "StandardDomainValidatedSsl", + "StandardDomainValidatedWildCardSsl" + ], + "type": "string", + "x-ms-enum": { + "name": "CertificateProductType", + "modelAsString": false + }, + "x-ms-mutability": [ + "create", + "read" + ] + }, + "autoRenew": { + "description": "true if the certificate should be automatically renewed when it expires; otherwise, false.", + "default": true, + "type": "boolean" + }, + "provisioningState": { + "description": "Status of certificate order.", + "enum": [ + "Succeeded", + "Failed", + "Canceled", + "InProgress", + "Deleting" + ], + "type": "string", + "readOnly": true, + "x-ms-enum": { + "name": "ProvisioningState", + "modelAsString": false + } + }, + "status": { + "description": "Current order status.", + "enum": [ + "Pendingissuance", + "Issued", + "Revoked", + "Canceled", + "Denied", + "Pendingrevocation", + "PendingRekey", + "Unused", + "Expired", + "NotSubmitted" + ], + "type": "string", + "readOnly": true, + "x-ms-enum": { + "name": "CertificateOrderStatus", + "modelAsString": false + } + }, + "signedCertificate": { + "$ref": "#/definitions/CertificateDetails", + "description": "Signed certificate.", + "readOnly": true + }, + "csr": { + "description": "Last CSR that was created for this order.", + "type": "string", + "x-ms-mutability": [ + "create", + "read" + ] + }, + "intermediate": { + "$ref": "#/definitions/CertificateDetails", + "description": "Intermediate certificate.", + "readOnly": true + }, + "root": { + "$ref": "#/definitions/CertificateDetails", + "description": "Root certificate.", + "readOnly": true + }, + "serialNumber": { + "description": "Current serial number of the certificate.", + "type": "string", + "readOnly": true + }, + "lastCertificateIssuanceTime": { + "format": "date-time", + "description": "Certificate last issuance time.", + "type": "string", + "readOnly": true + }, + "expirationTime": { + "format": "date-time", + "description": "Certificate expiration time.", + "type": "string", + "readOnly": true + }, + "isPrivateKeyExternal": { + "description": "true if private key is external; otherwise, false.", + "type": "boolean", + "readOnly": true + }, + "appServiceCertificateNotRenewableReasons": { + "description": "Reasons why App Service Certificate is not renewable at the current moment.", + "type": "array", + "items": { + "enum": [ + "RegistrationStatusNotSupportedForRenewal", + "ExpirationNotInRenewalTimeRange", + "SubscriptionNotActive" + ], + "type": "string" + }, + "readOnly": true + }, + "nextAutoRenewalTimeStamp": { + "format": "date-time", + "description": "Time stamp when the certificate would be auto renewed next", + "type": "string", + "readOnly": true + } + }, + "x-ms-client-flatten": true + } + } + }, + "AppServiceCertificatePatchResource": { + "description": "Key Vault container ARM resource for a certificate that is purchased through Azure.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/ProxyOnlyResource" + } + ], + "properties": { + "properties": { + "$ref": "#/definitions/AppServiceCertificate", + "description": "Core resource properties", + "x-ms-client-flatten": true + } + } + }, "AppServiceCertificateResource": { "description": "Key Vault container ARM resource for a certificate that is purchased through Azure.", "type": "object", @@ -1089,6 +1301,7 @@ "properties": { "properties": { "$ref": "#/definitions/AppServiceCertificate", + "description": "Core resource properties", "x-ms-client-flatten": true } } @@ -1099,44 +1312,44 @@ "properties": { "version": { "format": "int32", - "description": "Version.", + "description": "Certificate Version.", "type": "integer", "readOnly": true }, "serialNumber": { - "description": "Serial Number.", + "description": "Certificate Serial Number.", "type": "string", "readOnly": true }, "thumbprint": { - "description": "Thumbprint.", + "description": "Certificate Thumbprint.", "type": "string", "readOnly": true }, "subject": { - "description": "Subject.", + "description": "Certificate Subject.", "type": "string", "readOnly": true }, "notBefore": { "format": "date-time", - "description": "Valid from.", + "description": "Date Certificate is valid from.", "type": "string", "readOnly": true }, "notAfter": { "format": "date-time", - "description": "Valid to.", + "description": "Date Certificate is valid to.", "type": "string", "readOnly": true }, "signatureAlgorithm": { - "description": "Signature algorithm.", + "description": "Certificate Signature algorithm.", "type": "string", "readOnly": true }, "issuer": { - "description": "Issuer.", + "description": "Certificate Issuer.", "type": "string", "readOnly": true }, @@ -1354,33 +1567,6 @@ "additionalProperties": { "type": "string" } - }, - "identity": { - "description": "Identity for the resource.", - "type": "object", - "properties": { - "principalId": { - "description": "The principal ID of resource identity.", - "type": "string", - "readOnly": true - }, - "tenantId": { - "description": "The tenant ID of resource.", - "type": "string", - "readOnly": true - }, - "type": { - "description": "The identity type.", - "type": "string", - "enum": [ - "SystemAssigned" - ], - "x-ms-enum": { - "name": "ManagedServiceIdentityType", - "modelAsString": false - } - } - } } }, "x-ms-azure-resource": true @@ -1404,11 +1590,11 @@ "type": "object", "properties": { "lightTheme": { - "description": "Theme", + "description": "If true use the light color theme for site seal; otherwise, use the default color theme.", "type": "boolean" }, "locale": { - "description": "Locale", + "description": "Locale of site seal.", "type": "string" } } @@ -1427,11 +1613,11 @@ "in": "path", "description": "Name of the resource group to which the resource belongs.", "required": true, - "x-ms-parameter-location": "method", "type": "string", "maxLength": 90, "minLength": 1, - "pattern": "^[-\\w\\._\\(\\)]+[^\\.]$" + "pattern": "^[-\\w\\._\\(\\)]+[^\\.]$", + "x-ms-parameter-location": "method" }, "apiVersionParameter": { "name": "api-version", diff --git a/specification/web/resource-manager/Microsoft.DomainRegistration/2015-04-01/Domains.json b/specification/web/resource-manager/Microsoft.DomainRegistration/2015-04-01/Domains.json index ef41658bb3af..93f008aa849e 100644 --- a/specification/web/resource-manager/Microsoft.DomainRegistration/2015-04-01/Domains.json +++ b/specification/web/resource-manager/Microsoft.DomainRegistration/2015-04-01/Domains.json @@ -8,6 +8,12 @@ "schemes": [ "https" ], + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], "paths": { "/subscriptions/{subscriptionId}/providers/Microsoft.DomainRegistration/checkDomainAvailability": { "post": { @@ -17,19 +23,6 @@ "summary": "Check if a domain is available for registration.", "description": "Check if a domain is available for registration.", "operationId": "Domains_CheckAvailability", - "consumes": [ - "application/json", - "text/json", - "application/xml", - "text/xml", - "application/x-www-form-urlencoded" - ], - "produces": [ - "application/json", - "text/json", - "application/xml", - "text/xml" - ], "parameters": [ { "name": "identifier", @@ -65,10 +58,6 @@ "summary": "Get all domains in a subscription.", "description": "Get all domains in a subscription.", "operationId": "Domains_List", - "produces": [ - "application/json", - "text/json" - ], "parameters": [ { "$ref": "#/parameters/subscriptionIdParameter" @@ -98,12 +87,6 @@ "summary": "Generate a single sign-on request for the domain management portal.", "description": "Generate a single sign-on request for the domain management portal.", "operationId": "Domains_GetControlCenterSsoRequest", - "produces": [ - "application/json", - "text/json", - "application/xml", - "text/xml" - ], "parameters": [ { "$ref": "#/parameters/subscriptionIdParameter" @@ -130,17 +113,6 @@ "summary": "Get domain name recommendations based on keywords.", "description": "Get domain name recommendations based on keywords.", "operationId": "Domains_ListRecommendations", - "consumes": [ - "application/json", - "text/json", - "application/xml", - "text/xml", - "application/x-www-form-urlencoded" - ], - "produces": [ - "application/json", - "text/json" - ], "parameters": [ { "name": "parameters", @@ -179,10 +151,6 @@ "summary": "Get all domains in a resource group.", "description": "Get all domains in a resource group.", "operationId": "Domains_ListByResourceGroup", - "produces": [ - "application/json", - "text/json" - ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -215,12 +183,6 @@ "summary": "Get a domain.", "description": "Get a domain.", "operationId": "Domains_Get", - "produces": [ - "application/json", - "text/json", - "application/xml", - "text/xml" - ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -255,17 +217,6 @@ "summary": "Creates or updates a domain.", "description": "Creates or updates a domain.", "operationId": "Domains_CreateOrUpdate", - "consumes": [ - "application/json", - "text/json", - "application/x-www-form-urlencoded" - ], - "produces": [ - "application/json", - "text/json", - "application/xml", - "text/xml" - ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -349,6 +300,56 @@ "description": "Domain does not exist in Azure database probably because it has already been deleted" } } + }, + "patch": { + "tags": [ + "Domains" + ], + "summary": "Creates or updates a domain.", + "description": "Creates or updates a domain.", + "operationId": "Domains_Update", + "parameters": [ + { + "$ref": "#/parameters/resourceGroupNameParameter" + }, + { + "name": "domainName", + "in": "path", + "description": "Name of the domain.", + "required": true, + "type": "string", + "pattern": "[a-zA-Z0-9][a-zA-Z0-9\\.-]+" + }, + { + "name": "domain", + "in": "body", + "description": "Domain registration information.", + "required": true, + "schema": { + "$ref": "#/definitions/DomainPatchResource" + } + }, + { + "$ref": "#/parameters/subscriptionIdParameter" + }, + { + "$ref": "#/parameters/apiVersionParameter" + } + ], + "responses": { + "202": { + "description": "Domain purchase is in progress.", + "schema": { + "$ref": "#/definitions/Domain" + } + }, + "200": { + "description": "Domain purchase was successful.", + "schema": { + "$ref": "#/definitions/Domain" + } + } + } } }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DomainRegistration/domains/{domainName}/domainOwnershipIdentifiers": { @@ -359,10 +360,6 @@ "summary": "Lists domain ownership identifiers.", "description": "Lists domain ownership identifiers.", "operationId": "Domains_ListOwnershipIdentifiers", - "produces": [ - "application/json", - "text/json" - ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -402,12 +399,6 @@ "summary": "Get ownership identifier for domain", "description": "Get ownership identifier for domain", "operationId": "Domains_GetOwnershipIdentifier", - "produces": [ - "application/json", - "text/json", - "application/xml", - "text/xml" - ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -449,17 +440,6 @@ "summary": "Creates an ownership identifier for a domain or updates identifier details for an existing identifer", "description": "Creates an ownership identifier for a domain or updates identifier details for an existing identifer", "operationId": "Domains_CreateOrUpdateOwnershipIdentifier", - "consumes": [ - "application/json", - "text/json", - "application/x-www-form-urlencoded" - ], - "produces": [ - "application/json", - "text/json", - "application/xml", - "text/xml" - ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -551,17 +531,6 @@ "summary": "Creates an ownership identifier for a domain or updates identifier details for an existing identifer", "description": "Creates an ownership identifier for a domain or updates identifier details for an existing identifer", "operationId": "Domains_UpdateOwnershipIdentifier", - "consumes": [ - "application/json", - "text/json", - "application/x-www-form-urlencoded" - ], - "produces": [ - "application/json", - "text/json", - "application/xml", - "text/xml" - ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -620,33 +589,33 @@ "type": "object", "properties": { "address1": { - "description": "Address 1.", + "description": "First line of an Address.", "type": "string" }, "address2": { - "description": "Address 2.", + "description": "The second line of the Address. Optional.", "type": "string" }, "city": { - "description": "City.", + "description": "The city for the address.", "type": "string" }, "country": { - "description": "Country.", + "description": "The country for the address.", "type": "string" }, "postalCode": { - "description": "Postal code.", + "description": "The postal code for the address.", "type": "string" }, "state": { - "description": "State.", + "description": "The state or province for the address.", "type": "string" } } }, "Contact": { - "description": "Contact information for domain registration. If 'Domain Privacy' option is not selected then the contact information is made publicly available through the Whois \n directories as per ICANN requirements.", + "description": "Contact information for domain registration. If 'Domain Privacy' option is not selected then the contact information is made publicly available through the Whois \ndirectories as per ICANN requirements.", "required": [ "email", "nameFirst", @@ -886,9 +855,9 @@ }, "authCode": { "type": "string", - "readOnly": true, "x-ms-mutability": [ - "create" + "create", + "read" ] } }, @@ -968,7 +937,7 @@ "type": "object", "allOf": [ { - "$ref": "#/definitions/Resource" + "$ref": "#/definitions/ProxyOnlyResource" } ], "properties": { @@ -1004,6 +973,209 @@ } } }, + "DomainPatchResource": { + "description": "ARM resource for a domain.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/ProxyOnlyResource" + } + ], + "properties": { + "properties": { + "description": "DomainPatchResource resource specific properties", + "required": [ + "contactAdmin", + "contactBilling", + "contactRegistrant", + "contactTech", + "consent" + ], + "properties": { + "contactAdmin": { + "$ref": "#/definitions/Contact", + "description": "Administrative contact.", + "x-ms-mutability": [ + "create" + ] + }, + "contactBilling": { + "$ref": "#/definitions/Contact", + "description": "Billing contact.", + "x-ms-mutability": [ + "create" + ] + }, + "contactRegistrant": { + "$ref": "#/definitions/Contact", + "description": "Registrant contact.", + "x-ms-mutability": [ + "create" + ] + }, + "contactTech": { + "$ref": "#/definitions/Contact", + "description": "Technical contact.", + "x-ms-mutability": [ + "create" + ] + }, + "registrationStatus": { + "description": "Domain registration status.", + "enum": [ + "Active", + "Awaiting", + "Cancelled", + "Confiscated", + "Disabled", + "Excluded", + "Expired", + "Failed", + "Held", + "Locked", + "Parked", + "Pending", + "Reserved", + "Reverted", + "Suspended", + "Transferred", + "Unknown", + "Unlocked", + "Unparked", + "Updated", + "JsonConverterFailed" + ], + "type": "string", + "readOnly": true, + "x-ms-enum": { + "name": "DomainStatus", + "modelAsString": false + } + }, + "provisioningState": { + "description": "Domain provisioning state.", + "enum": [ + "Succeeded", + "Failed", + "Canceled", + "InProgress", + "Deleting" + ], + "type": "string", + "readOnly": true, + "x-ms-enum": { + "name": "ProvisioningState", + "modelAsString": false + } + }, + "nameServers": { + "description": "Name servers.", + "type": "array", + "items": { + "type": "string" + }, + "readOnly": true + }, + "privacy": { + "description": "true if domain privacy is enabled for this domain; otherwise, false.", + "type": "boolean" + }, + "createdTime": { + "format": "date-time", + "description": "Domain creation timestamp.", + "type": "string", + "readOnly": true + }, + "expirationTime": { + "format": "date-time", + "description": "Domain expiration timestamp.", + "type": "string", + "readOnly": true + }, + "lastRenewedTime": { + "format": "date-time", + "description": "Timestamp when the domain was renewed last time.", + "type": "string", + "readOnly": true + }, + "autoRenew": { + "description": "true if the domain should be automatically renewed; otherwise, false.", + "default": true, + "type": "boolean" + }, + "readyForDnsRecordManagement": { + "description": "true if Azure can assign this domain to App Service apps; otherwise, false. This value will be true if domain registration status is active and \n it is hosted on name servers Azure has programmatic access to.", + "type": "boolean", + "readOnly": true + }, + "managedHostNames": { + "description": "All hostnames derived from the domain and assigned to Azure resources.", + "type": "array", + "items": { + "$ref": "#/definitions/HostName" + }, + "readOnly": true + }, + "consent": { + "$ref": "#/definitions/DomainPurchaseConsent", + "description": "Legal agreement consent.", + "x-ms-mutability": [ + "create" + ] + }, + "domainNotRenewableReasons": { + "description": "Reasons why domain is not renewable.", + "type": "array", + "items": { + "enum": [ + "RegistrationStatusNotSupportedForRenewal", + "ExpirationNotInRenewalTimeRange", + "SubscriptionNotActive" + ], + "type": "string" + }, + "readOnly": true + }, + "dnsType": { + "description": "Current DNS type", + "enum": [ + "AzureDns", + "DefaultDomainRegistrarDns" + ], + "type": "string", + "x-ms-enum": { + "name": "DnsType", + "modelAsString": false + } + }, + "dnsZoneId": { + "description": "Azure DNS Zone to use", + "type": "string" + }, + "targetDnsType": { + "description": "Target DNS type (would be used for migration)", + "enum": [ + "AzureDns", + "DefaultDomainRegistrarDns" + ], + "type": "string", + "x-ms-enum": { + "name": "DnsType", + "modelAsString": false + } + }, + "authCode": { + "type": "string", + "x-ms-mutability": [ + "create", + "read" + ] + } + }, + "x-ms-client-flatten": true + } + } + }, "DomainPurchaseConsent": { "description": "Domain purchase consent object, representing acceptance of applicable legal agreements.", "type": "object", @@ -1128,6 +1300,31 @@ } } }, + "ProxyOnlyResource": { + "description": "Azure proxy only resource. This resource is not tracked by Azure Resource Manager.", + "properties": { + "id": { + "description": "Resource Id.", + "type": "string", + "readOnly": true + }, + "name": { + "description": "Resource Name.", + "type": "string", + "readOnly": true + }, + "kind": { + "description": "Kind of resource.", + "type": "string" + }, + "type": { + "description": "Resource type.", + "type": "string", + "readOnly": true + } + }, + "x-ms-azure-resource": true + }, "Resource": { "description": "Azure resource. This resource is tracked in Azure Resource Manager", "required": [ @@ -1163,33 +1360,6 @@ "additionalProperties": { "type": "string" } - }, - "identity": { - "description": "Identity for the resource.", - "type": "object", - "properties": { - "principalId": { - "description": "The principal ID of resource identity.", - "type": "string", - "readOnly": true - }, - "tenantId": { - "description": "The tenant ID of resource.", - "type": "string", - "readOnly": true - }, - "type": { - "description": "The identity type.", - "type": "string", - "enum": [ - "SystemAssigned" - ], - "x-ms-enum": { - "name": "ManagedServiceIdentityType", - "modelAsString": false - } - } - } } }, "x-ms-azure-resource": true @@ -1208,11 +1378,11 @@ "in": "path", "description": "Name of the resource group to which the resource belongs.", "required": true, - "x-ms-parameter-location": "method", "type": "string", "maxLength": 90, "minLength": 1, - "pattern": "^[-\\w\\._\\(\\)]+[^\\.]$" + "pattern": "^[-\\w\\._\\(\\)]+[^\\.]$", + "x-ms-parameter-location": "method" }, "apiVersionParameter": { "name": "api-version", diff --git a/specification/web/resource-manager/Microsoft.DomainRegistration/2015-04-01/TopLevelDomains.json b/specification/web/resource-manager/Microsoft.DomainRegistration/2015-04-01/TopLevelDomains.json index 55ac48d6e6c4..a551aaacba3c 100644 --- a/specification/web/resource-manager/Microsoft.DomainRegistration/2015-04-01/TopLevelDomains.json +++ b/specification/web/resource-manager/Microsoft.DomainRegistration/2015-04-01/TopLevelDomains.json @@ -8,6 +8,12 @@ "schemes": [ "https" ], + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], "paths": { "/subscriptions/{subscriptionId}/providers/Microsoft.DomainRegistration/topLevelDomains": { "get": { @@ -17,10 +23,6 @@ "summary": "Get all top-level domains supported for registration.", "description": "Get all top-level domains supported for registration.", "operationId": "TopLevelDomains_List", - "produces": [ - "application/json", - "text/json" - ], "parameters": [ { "$ref": "#/parameters/subscriptionIdParameter" @@ -50,12 +52,6 @@ "summary": "Get details of a top-level domain.", "description": "Get details of a top-level domain.", "operationId": "TopLevelDomains_Get", - "produces": [ - "application/json", - "text/json", - "application/xml", - "text/xml" - ], "parameters": [ { "name": "name", @@ -89,17 +85,6 @@ "summary": "Gets all legal agreements that user needs to accept before purchasing a domain.", "description": "Gets all legal agreements that user needs to accept before purchasing a domain.", "operationId": "TopLevelDomains_ListAgreements", - "consumes": [ - "application/json", - "text/json", - "application/xml", - "text/xml", - "application/x-www-form-urlencoded" - ], - "produces": [ - "application/json", - "text/json" - ], "parameters": [ { "name": "name", diff --git a/specification/web/resource-manager/Microsoft.Web/2016-03-01/Certificates.json b/specification/web/resource-manager/Microsoft.Web/2016-03-01/Certificates.json index af6e3fb3e39d..ef4b3b8ba8e0 100644 --- a/specification/web/resource-manager/Microsoft.Web/2016-03-01/Certificates.json +++ b/specification/web/resource-manager/Microsoft.Web/2016-03-01/Certificates.json @@ -8,6 +8,12 @@ "schemes": [ "https" ], + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], "paths": { "/subscriptions/{subscriptionId}/providers/Microsoft.Web/certificates": { "get": { @@ -17,10 +23,6 @@ "summary": "Get all certificates for a subscription.", "description": "Get all certificates for a subscription.", "operationId": "Certificates_List", - "produces": [ - "application/json", - "text/json" - ], "parameters": [ { "$ref": "#/parameters/subscriptionIdParameter" @@ -50,10 +52,6 @@ "summary": "Get all certificates in a resource group.", "description": "Get all certificates in a resource group.", "operationId": "Certificates_ListByResourceGroup", - "produces": [ - "application/json", - "text/json" - ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -86,12 +84,6 @@ "summary": "Get a certificate.", "description": "Get a certificate.", "operationId": "Certificates_Get", - "produces": [ - "application/json", - "text/json", - "application/xml", - "text/xml" - ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -126,17 +118,6 @@ "summary": "Create or update a certificate.", "description": "Create or update a certificate.", "operationId": "Certificates_CreateOrUpdate", - "consumes": [ - "application/json", - "text/json", - "application/x-www-form-urlencoded" - ], - "produces": [ - "application/json", - "text/json", - "application/xml", - "text/xml" - ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -214,17 +195,6 @@ "summary": "Create or update a certificate.", "description": "Create or update a certificate.", "operationId": "Certificates_Update", - "consumes": [ - "application/json", - "text/json", - "application/x-www-form-urlencoded" - ], - "produces": [ - "application/json", - "text/json", - "application/xml", - "text/xml" - ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -242,7 +212,7 @@ "description": "Details of certificate, if it exists already.", "required": true, "schema": { - "$ref": "#/definitions/Certificate" + "$ref": "#/definitions/CertificatePatchResource" } }, { @@ -346,6 +316,7 @@ "readOnly": true }, "cerBlob": { + "format": "byte", "description": "Raw bytes of .cer file", "type": "string", "readOnly": true @@ -395,11 +366,6 @@ "type": "string", "readOnly": true }, - "name": { - "description": "Resource name of the certificate.", - "type": "string", - "readOnly": true - }, "serverFarmId": { "description": "Resource ID of the associated App Service plan, formatted as: \"/subscriptions/{subscriptionID}/resourceGroups/{groupName}/providers/Microsoft.Web/serverfarms/{appServicePlanName}\".", "type": "string" @@ -429,6 +395,147 @@ } } }, + "CertificatePatchResource": { + "description": "ARM resource for a certificate.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/ProxyOnlyResource" + } + ], + "properties": { + "properties": { + "description": "CertificatePatchResource resource specific properties", + "required": [ + "password" + ], + "properties": { + "friendlyName": { + "description": "Friendly name of the certificate.", + "type": "string", + "readOnly": true + }, + "subjectName": { + "description": "Subject name of the certificate.", + "type": "string", + "readOnly": true + }, + "hostNames": { + "description": "Host names the certificate applies to.", + "type": "array", + "items": { + "type": "string" + } + }, + "pfxBlob": { + "format": "byte", + "description": "Pfx blob.", + "type": "string" + }, + "siteName": { + "description": "App name.", + "type": "string", + "readOnly": true + }, + "selfLink": { + "description": "Self link.", + "type": "string", + "readOnly": true + }, + "issuer": { + "description": "Certificate issuer.", + "type": "string", + "readOnly": true + }, + "issueDate": { + "format": "date-time", + "description": "Certificate issue Date.", + "type": "string", + "readOnly": true + }, + "expirationDate": { + "format": "date-time", + "description": "Certificate expriration date.", + "type": "string", + "readOnly": true + }, + "password": { + "description": "Certificate password.", + "type": "string", + "x-ms-mutability": [ + "create" + ] + }, + "thumbprint": { + "description": "Certificate thumbprint.", + "type": "string", + "readOnly": true + }, + "valid": { + "description": "Is the certificate valid?.", + "type": "boolean", + "readOnly": true + }, + "cerBlob": { + "format": "byte", + "description": "Raw bytes of .cer file", + "type": "string", + "readOnly": true + }, + "publicKeyHash": { + "description": "Public key hash.", + "type": "string", + "readOnly": true + }, + "hostingEnvironmentProfile": { + "$ref": "#/definitions/HostingEnvironmentProfile", + "description": "Specification for the App Service Environment to use for the certificate.", + "readOnly": true + }, + "keyVaultId": { + "description": "Key Vault Csm resource Id.", + "type": "string" + }, + "keyVaultSecretName": { + "description": "Key Vault secret name.", + "type": "string" + }, + "keyVaultSecretStatus": { + "description": "Status of the Key Vault secret.", + "enum": [ + "Initialized", + "WaitingOnCertificateOrder", + "Succeeded", + "CertificateOrderFailed", + "OperationNotPermittedOnKeyVault", + "AzureServiceUnauthorizedToAccessKeyVault", + "KeyVaultDoesNotExist", + "KeyVaultSecretDoesNotExist", + "UnknownError", + "ExternalPrivateKey", + "Unknown" + ], + "type": "string", + "readOnly": true, + "x-ms-enum": { + "name": "KeyVaultSecretStatus", + "modelAsString": false + } + }, + "geoRegion": { + "description": "Region of the certificate.", + "type": "string", + "readOnly": true + }, + "serverFarmId": { + "description": "Resource ID of the associated App Service plan, formatted as: \"/subscriptions/{subscriptionID}/resourceGroups/{groupName}/providers/Microsoft.Web/serverfarms/{appServicePlanName}\".", + "type": "string" + } + }, + "x-ms-client-flatten": true + } + } + }, "HostingEnvironmentProfile": { "description": "Specification for an App Service Environment to use for this resource.", "type": "object", @@ -449,6 +556,31 @@ } } }, + "ProxyOnlyResource": { + "description": "Azure proxy only resource. This resource is not tracked by Azure Resource Manager.", + "properties": { + "id": { + "description": "Resource Id.", + "type": "string", + "readOnly": true + }, + "name": { + "description": "Resource Name.", + "type": "string", + "readOnly": true + }, + "kind": { + "description": "Kind of resource.", + "type": "string" + }, + "type": { + "description": "Resource type.", + "type": "string", + "readOnly": true + } + }, + "x-ms-azure-resource": true + }, "Resource": { "description": "Azure resource. This resource is tracked in Azure Resource Manager", "required": [ @@ -484,33 +616,6 @@ "additionalProperties": { "type": "string" } - }, - "identity": { - "description": "Identity for the resource.", - "type": "object", - "properties": { - "principalId": { - "description": "The principal ID of resource identity.", - "type": "string", - "readOnly": true - }, - "tenantId": { - "description": "The tenant ID of resource.", - "type": "string", - "readOnly": true - }, - "type": { - "description": "The identity type.", - "type": "string", - "enum": [ - "SystemAssigned" - ], - "x-ms-enum": { - "name": "ManagedServiceIdentityType", - "modelAsString": false - } - } - } } }, "x-ms-azure-resource": true @@ -529,11 +634,11 @@ "in": "path", "description": "Name of the resource group to which the resource belongs.", "required": true, - "x-ms-parameter-location": "method", "type": "string", "maxLength": 90, "minLength": 1, - "pattern": "^[-\\w\\._\\(\\)]+[^\\.]$" + "pattern": "^[-\\w\\._\\(\\)]+[^\\.]$", + "x-ms-parameter-location": "method" }, "apiVersionParameter": { "name": "api-version", diff --git a/specification/web/resource-manager/Microsoft.Web/2016-03-01/CommonDefinitions.json b/specification/web/resource-manager/Microsoft.Web/2016-03-01/CommonDefinitions.json new file mode 100644 index 000000000000..db432dd033c3 --- /dev/null +++ b/specification/web/resource-manager/Microsoft.Web/2016-03-01/CommonDefinitions.json @@ -0,0 +1,2549 @@ +{ + "swagger": "2.0", + "info": { + "version": "2016-03-01", + "title": "Common Definitions" + }, + "host": "management.azure.com", + "schemes": [ + "https" + ], + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "paths": {}, + "definitions": { + "ApiDefinitionInfo": { + "description": "Information about the formal API definition for the app.", + "type": "object", + "properties": { + "url": { + "description": "The URL of the API definition.", + "type": "string" + } + } + }, + "AppServiceEnvironment": { + "description": "Description of an App Service Environment.", + "required": [ + "name", + "location", + "virtualNetwork", + "workerPools" + ], + "type": "object", + "properties": { + "name": { + "description": "Name of the App Service Environment.", + "type": "string" + }, + "location": { + "description": "Location of the App Service Environment, e.g. \"West US\".", + "type": "string" + }, + "provisioningState": { + "description": "Provisioning state of the App Service Environment.", + "enum": [ + "Succeeded", + "Failed", + "Canceled", + "InProgress", + "Deleting" + ], + "type": "string", + "readOnly": true, + "x-ms-enum": { + "name": "ProvisioningState", + "modelAsString": false + } + }, + "status": { + "description": "Current status of the App Service Environment.", + "enum": [ + "Preparing", + "Ready", + "Scaling", + "Deleting" + ], + "type": "string", + "readOnly": true, + "x-ms-enum": { + "name": "HostingEnvironmentStatus", + "modelAsString": false + } + }, + "vnetName": { + "description": "Name of the Virtual Network for the App Service Environment.", + "type": "string" + }, + "vnetResourceGroupName": { + "description": "Resource group of the Virtual Network.", + "type": "string" + }, + "vnetSubnetName": { + "description": "Subnet of the Virtual Network.", + "type": "string" + }, + "virtualNetwork": { + "$ref": "#/definitions/VirtualNetworkProfile", + "description": "Description of the Virtual Network." + }, + "internalLoadBalancingMode": { + "description": "Specifies which endpoints to serve internally in the Virtual Network for the App Service Environment.", + "enum": [ + "None", + "Web", + "Publishing" + ], + "type": "string", + "x-ms-enum": { + "name": "InternalLoadBalancingMode", + "modelAsString": false + } + }, + "multiSize": { + "description": "Front-end VM size, e.g. \"Medium\", \"Large\".", + "type": "string" + }, + "multiRoleCount": { + "format": "int32", + "description": "Number of front-end instances.", + "type": "integer" + }, + "workerPools": { + "description": "Description of worker pools with worker size IDs, VM sizes, and number of workers in each pool.", + "type": "array", + "items": { + "$ref": "#/definitions/WorkerPool" + } + }, + "ipsslAddressCount": { + "format": "int32", + "description": "Number of IP SSL addresses reserved for the App Service Environment.", + "type": "integer" + }, + "databaseEdition": { + "description": "Edition of the metadata database for the App Service Environment, e.g. \"Standard\".", + "type": "string", + "readOnly": true + }, + "databaseServiceObjective": { + "description": "Service objective of the metadata database for the App Service Environment, e.g. \"S0\".", + "type": "string", + "readOnly": true + }, + "upgradeDomains": { + "format": "int32", + "description": "Number of upgrade domains of the App Service Environment.", + "type": "integer", + "readOnly": true + }, + "subscriptionId": { + "description": "Subscription of the App Service Environment.", + "type": "string", + "readOnly": true + }, + "dnsSuffix": { + "description": "DNS suffix of the App Service Environment.", + "type": "string" + }, + "lastAction": { + "description": "Last deployment action on the App Service Environment.", + "type": "string", + "readOnly": true + }, + "lastActionResult": { + "description": "Result of the last deployment action on the App Service Environment.", + "type": "string", + "readOnly": true + }, + "allowedMultiSizes": { + "description": "List of comma separated strings describing which VM sizes are allowed for front-ends.", + "type": "string", + "readOnly": true + }, + "allowedWorkerSizes": { + "description": "List of comma separated strings describing which VM sizes are allowed for workers.", + "type": "string", + "readOnly": true + }, + "maximumNumberOfMachines": { + "format": "int32", + "description": "Maximum number of VMs in the App Service Environment.", + "type": "integer", + "readOnly": true + }, + "vipMappings": { + "description": "Description of IP SSL mapping for the App Service Environment.", + "type": "array", + "items": { + "$ref": "#/definitions/VirtualIPMapping" + }, + "readOnly": true + }, + "environmentCapacities": { + "description": "Current total, used, and available worker capacities.", + "type": "array", + "items": { + "$ref": "#/definitions/StampCapacity" + }, + "readOnly": true + }, + "networkAccessControlList": { + "description": "Access control list for controlling traffic to the App Service Environment.", + "type": "array", + "items": { + "$ref": "#/definitions/NetworkAccessControlEntry" + } + }, + "environmentIsHealthy": { + "description": "True/false indicating whether the App Service Environment is healthy.", + "type": "boolean", + "readOnly": true + }, + "environmentStatus": { + "description": "Detailed message about with results of the last check of the App Service Environment.", + "type": "string", + "readOnly": true + }, + "resourceGroup": { + "description": "Resource group of the App Service Environment.", + "type": "string", + "readOnly": true + }, + "frontEndScaleFactor": { + "format": "int32", + "description": "Scale factor for front-ends.", + "type": "integer" + }, + "defaultFrontEndScaleFactor": { + "format": "int32", + "description": "Default Scale Factor for FrontEnds.", + "type": "integer", + "readOnly": true + }, + "apiManagementAccountId": { + "description": "API Management Account associated with the App Service Environment.", + "type": "string" + }, + "suspended": { + "description": "true if the App Service Environment is suspended; otherwise, false. The environment can be suspended, e.g. when the management endpoint is no longer available\n (most likely because NSG blocked the incoming traffic).", + "type": "boolean" + }, + "dynamicCacheEnabled": { + "description": "True/false indicating whether the App Service Environment is suspended. The environment can be suspended e.g. when the management endpoint is no longer available\n(most likely because NSG blocked the incoming traffic).", + "type": "boolean" + }, + "clusterSettings": { + "description": "Custom settings for changing the behavior of the App Service Environment.", + "type": "array", + "items": { + "$ref": "#/definitions/NameValuePair" + } + }, + "userWhitelistedIpRanges": { + "description": "User added ip ranges to whitelist on ASE db", + "type": "array", + "items": { + "type": "string" + } + } + } + }, + "AppServicePlan": { + "description": "App Service plan.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/Resource" + } + ], + "properties": { + "properties": { + "description": "AppServicePlan resource specific properties", + "required": [ + "name" + ], + "properties": { + "name": { + "description": "Name for the App Service plan.", + "type": "string" + }, + "workerTierName": { + "description": "Target worker tier assigned to the App Service plan.", + "type": "string" + }, + "status": { + "description": "App Service plan status.", + "enum": [ + "Ready", + "Pending", + "Creating" + ], + "type": "string", + "readOnly": true, + "x-ms-enum": { + "name": "StatusOptions", + "modelAsString": false + } + }, + "subscription": { + "description": "App Service plan subscription.", + "type": "string", + "readOnly": true + }, + "adminSiteName": { + "description": "App Service plan administration site.", + "type": "string" + }, + "hostingEnvironmentProfile": { + "$ref": "#/definitions/HostingEnvironmentProfile", + "description": "Specification for the App Service Environment to use for the App Service plan.", + "x-ms-mutability": [ + "create", + "read" + ] + }, + "maximumNumberOfWorkers": { + "format": "int32", + "description": "Maximum number of instances that can be assigned to this App Service plan.", + "type": "integer", + "readOnly": true + }, + "geoRegion": { + "description": "Geographical location for the App Service plan.", + "type": "string", + "readOnly": true + }, + "perSiteScaling": { + "description": "If true, apps assigned to this App Service plan can be scaled independently.\nIf false, apps assigned to this App Service plan will scale to all instances of the plan.", + "default": false, + "type": "boolean" + }, + "numberOfSites": { + "format": "int32", + "description": "Number of apps assigned to this App Service plan.", + "type": "integer", + "readOnly": true + }, + "isSpot": { + "description": "If true, this App Service Plan owns spot instances.", + "type": "boolean" + }, + "spotExpirationTime": { + "format": "date-time", + "description": "The time when the server farm expires. Valid only if it is a spot server farm.", + "type": "string" + }, + "resourceGroup": { + "description": "Resource group of the App Service plan.", + "type": "string", + "readOnly": true + }, + "reserved": { + "description": "Reserved.", + "default": false, + "type": "boolean", + "x-ms-mutability": [ + "create", + "read" + ] + }, + "targetWorkerCount": { + "format": "int32", + "description": "Scaling worker count.", + "type": "integer" + }, + "targetWorkerSizeId": { + "format": "int32", + "description": "Scaling worker size ID.", + "type": "integer" + }, + "provisioningState": { + "description": "Provisioning state of the App Service Environment.", + "enum": [ + "Succeeded", + "Failed", + "Canceled", + "InProgress", + "Deleting" + ], + "type": "string", + "readOnly": true, + "x-ms-enum": { + "name": "ProvisioningState", + "modelAsString": false + } + } + }, + "x-ms-client-flatten": true + }, + "sku": { + "$ref": "#/definitions/SkuDescription" + } + } + }, + "AppServicePlanCollection": { + "description": "Collection of App Service plans.", + "required": [ + "value" + ], + "type": "object", + "properties": { + "value": { + "description": "Collection of resources.", + "type": "array", + "items": { + "$ref": "#/definitions/AppServicePlan" + } + }, + "nextLink": { + "description": "Link to next page of resources.", + "type": "string" + } + } + }, + "AutoHealActions": { + "description": "Actions which to take by the auto-heal module when a rule is triggered.", + "type": "object", + "properties": { + "actionType": { + "description": "Predefined action to be taken.", + "enum": [ + "Recycle", + "LogEvent", + "CustomAction" + ], + "type": "string", + "x-ms-enum": { + "name": "AutoHealActionType", + "modelAsString": false + } + }, + "customAction": { + "$ref": "#/definitions/AutoHealCustomAction", + "description": "Custom action to be taken." + }, + "minProcessExecutionTime": { + "description": "Minimum time the process must execute\nbefore taking the action", + "type": "string" + } + } + }, + "AutoHealCustomAction": { + "description": "Custom action to be executed\nwhen an auto heal rule is triggered.", + "type": "object", + "properties": { + "exe": { + "description": "Executable to be run.", + "type": "string" + }, + "parameters": { + "description": "Parameters for the executable.", + "type": "string" + } + } + }, + "AutoHealRules": { + "description": "Rules that can be defined for auto-heal.", + "type": "object", + "properties": { + "triggers": { + "$ref": "#/definitions/AutoHealTriggers", + "description": "Conditions that describe when to execute the auto-heal actions." + }, + "actions": { + "$ref": "#/definitions/AutoHealActions", + "description": "Actions to be executed when a rule is triggered." + } + } + }, + "AutoHealTriggers": { + "description": "Triggers for auto-heal.", + "type": "object", + "properties": { + "requests": { + "$ref": "#/definitions/RequestsBasedTrigger", + "description": "A rule based on total requests." + }, + "privateBytesInKB": { + "format": "int32", + "description": "A rule based on private bytes.", + "type": "integer" + }, + "statusCodes": { + "description": "A rule based on status codes.", + "type": "array", + "items": { + "$ref": "#/definitions/StatusCodesBasedTrigger" + } + }, + "slowRequests": { + "$ref": "#/definitions/SlowRequestsBasedTrigger", + "description": "A rule based on request execution time." + } + } + }, + "Capability": { + "description": "Describes the capabilities/features allowed for a specific SKU.", + "type": "object", + "properties": { + "name": { + "description": "Name of the SKU capability.", + "type": "string" + }, + "value": { + "description": "Value of the SKU capability.", + "type": "string" + }, + "reason": { + "description": "Reason of the SKU capability.", + "type": "string" + } + } + }, + "CloningInfo": { + "description": "Information needed for cloning operation.", + "required": [ + "sourceWebAppId" + ], + "type": "object", + "properties": { + "correlationId": { + "format": "uuid", + "description": "Correlation ID of cloning operation. This ID ties multiple cloning operations\ntogether to use the same snapshot.", + "type": "string", + "example": "00000000-0000-0000-0000-000000000000" + }, + "overwrite": { + "description": "true to overwrite destination app; otherwise, false.", + "type": "boolean" + }, + "cloneCustomHostNames": { + "description": "true to clone custom hostnames from source app; otherwise, false.", + "type": "boolean" + }, + "cloneSourceControl": { + "description": "true to clone source control from source app; otherwise, false.", + "type": "boolean" + }, + "sourceWebAppId": { + "description": "ARM resource ID of the source app. App resource ID is of the form \n/subscriptions/{subId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{siteName} for production slots and \n/subscriptions/{subId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{siteName}/slots/{slotName} for other slots.", + "type": "string" + }, + "hostingEnvironment": { + "description": "App Service Environment.", + "type": "string" + }, + "appSettingsOverrides": { + "description": "Application setting overrides for cloned app. If specified, these settings override the settings cloned \nfrom source app. Otherwise, application settings from source app are retained.", + "type": "object", + "additionalProperties": { + "type": "string" + } + }, + "configureLoadBalancing": { + "description": "true to configure load balancing for source and destination app.", + "type": "boolean" + }, + "trafficManagerProfileId": { + "description": "ARM resource ID of the Traffic Manager profile to use, if it exists. Traffic Manager resource ID is of the form \n/subscriptions/{subId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/trafficManagerProfiles/{profileName}.", + "type": "string" + }, + "trafficManagerProfileName": { + "description": "Name of Traffic Manager profile to create. This is only needed if Traffic Manager profile does not already exist.", + "type": "string" + } + } + }, + "ConnStringInfo": { + "description": "Database connection string information.", + "type": "object", + "properties": { + "name": { + "description": "Name of connection string.", + "type": "string" + }, + "connectionString": { + "description": "Connection string value.", + "type": "string" + }, + "type": { + "description": "Type of database.", + "enum": [ + "MySql", + "SQLServer", + "SQLAzure", + "Custom", + "NotificationHub", + "ServiceBus", + "EventHub", + "ApiHub", + "DocDb", + "RedisCache", + "PostgreSQL" + ], + "type": "string", + "x-ms-enum": { + "name": "ConnectionStringType", + "modelAsString": false + } + } + } + }, + "CorsSettings": { + "description": "Cross-Origin Resource Sharing (CORS) settings for the app.", + "type": "object", + "properties": { + "allowedOrigins": { + "description": "Gets or sets the list of origins that should be allowed to make cross-origin\ncalls (for example: http://example.com:12345). Use \"*\" to allow all.", + "type": "array", + "items": { + "type": "string" + } + } + } + }, + "CsmUsageQuota": { + "description": "Usage of the quota resource.", + "type": "object", + "properties": { + "unit": { + "description": "Units of measurement for the quota resourse.", + "type": "string" + }, + "nextResetTime": { + "format": "date-time", + "description": "Next reset time for the resource counter.", + "type": "string" + }, + "currentValue": { + "format": "int64", + "description": "The current value of the resource counter.", + "type": "integer" + }, + "limit": { + "format": "int64", + "description": "The resource limit.", + "type": "integer" + }, + "name": { + "$ref": "#/definitions/LocalizableString", + "description": "Quota name." + } + } + }, + "CsmUsageQuotaCollection": { + "description": "Collection of CSM usage quotas.", + "required": [ + "value" + ], + "type": "object", + "properties": { + "value": { + "description": "Collection of resources.", + "type": "array", + "items": { + "$ref": "#/definitions/CsmUsageQuota" + } + }, + "nextLink": { + "description": "Link to next page of resources.", + "type": "string" + } + } + }, + "ErrorEntity": { + "description": "Body of the error response returned from the API.", + "type": "object", + "properties": { + "extendedCode": { + "description": "Type of error.", + "type": "string" + }, + "messageTemplate": { + "description": "Message template.", + "type": "string" + }, + "parameters": { + "description": "Parameters for the template.", + "type": "array", + "items": { + "type": "string" + } + }, + "innerErrors": { + "description": "Inner errors.", + "type": "array", + "items": { + "$ref": "#/definitions/ErrorEntity" + } + }, + "code": { + "description": "Basic error code.", + "type": "string" + }, + "message": { + "description": "Any details of the error.", + "type": "string" + } + } + }, + "Experiments": { + "description": "Routing rules in production experiments.", + "type": "object", + "properties": { + "rampUpRules": { + "description": "List of ramp-up rules.", + "type": "array", + "items": { + "$ref": "#/definitions/RampUpRule" + } + } + } + }, + "HandlerMapping": { + "description": "The IIS handler mappings used to define which handler processes HTTP requests with certain extension. \nFor example, it is used to configure php-cgi.exe process to handle all HTTP requests with *.php extension.", + "type": "object", + "properties": { + "extension": { + "description": "Requests with this extension will be handled using the specified FastCGI application.", + "type": "string" + }, + "scriptProcessor": { + "description": "The absolute path to the FastCGI application.", + "type": "string" + }, + "arguments": { + "description": "Command-line arguments to be passed to the script processor.", + "type": "string" + } + } + }, + "HostNameSslState": { + "description": "SSL-enabled hostname.", + "type": "object", + "properties": { + "name": { + "description": "Hostname.", + "type": "string" + }, + "sslState": { + "description": "SSL type.", + "enum": [ + "Disabled", + "SniEnabled", + "IpBasedEnabled" + ], + "type": "string", + "x-ms-enum": { + "name": "SslState", + "modelAsString": false + } + }, + "virtualIP": { + "description": "Virtual IP address assigned to the hostname if IP based SSL is enabled.", + "type": "string" + }, + "thumbprint": { + "description": "SSL certificate thumbprint.", + "type": "string" + }, + "toUpdate": { + "description": "Set to true to update existing hostname.", + "type": "boolean" + }, + "hostType": { + "description": "Indicates whether the hostname is a standard or repository hostname.", + "enum": [ + "Standard", + "Repository" + ], + "type": "string", + "x-ms-enum": { + "name": "HostType", + "modelAsString": false + } + } + } + }, + "HostingEnvironmentProfile": { + "description": "Specification for an App Service Environment to use for this resource.", + "type": "object", + "properties": { + "id": { + "description": "Resource ID of the App Service Environment.", + "type": "string" + }, + "name": { + "description": "Name of the App Service Environment.", + "type": "string", + "readOnly": true + }, + "type": { + "description": "Resource type of the App Service Environment.", + "type": "string", + "readOnly": true + } + } + }, + "HybridConnection": { + "description": "Hybrid Connection contract. This is used to configure a Hybrid Connection.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/ProxyOnlyResource" + } + ], + "properties": { + "properties": { + "description": "HybridConnection resource specific properties", + "properties": { + "serviceBusNamespace": { + "description": "The name of the Service Bus namespace.", + "type": "string", + "x-ms-mutability": [ + "create", + "read" + ] + }, + "relayName": { + "description": "The name of the Service Bus relay.", + "type": "string", + "x-ms-mutability": [ + "create", + "read" + ] + }, + "relayArmUri": { + "description": "The ARM URI to the Service Bus relay.", + "type": "string" + }, + "hostname": { + "description": "The hostname of the endpoint.", + "type": "string" + }, + "port": { + "format": "int32", + "description": "The port of the endpoint.", + "type": "integer" + }, + "sendKeyName": { + "description": "The name of the Service Bus key which has Send permissions. This is used to authenticate to Service Bus.", + "type": "string" + }, + "sendKeyValue": { + "description": "The value of the Service Bus key. This is used to authenticate to Service Bus. In ARM this key will not be returned\nnormally, use the POST /listKeys API instead.", + "type": "string" + }, + "serviceBusSuffix": { + "description": "The suffix for the service bus endpoint. By default this is .servicebus.windows.net", + "type": "string" + } + }, + "x-ms-client-flatten": true + } + } + }, + "HybridConnectionKey": { + "description": "Hybrid Connection key contract. This has the send key name and value for a Hybrid Connection.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/ProxyOnlyResource" + } + ], + "properties": { + "properties": { + "description": "HybridConnectionKey resource specific properties", + "properties": { + "sendKeyName": { + "description": "The name of the send key.", + "type": "string", + "readOnly": true + }, + "sendKeyValue": { + "description": "The value of the send key.", + "type": "string", + "readOnly": true + } + }, + "x-ms-client-flatten": true + } + } + }, + "IpSecurityRestriction": { + "description": "IP security restriction on an app.", + "required": [ + "ipAddress" + ], + "type": "object", + "properties": { + "ipAddress": { + "description": "IP address the security restriction is valid for.", + "type": "string" + }, + "subnetMask": { + "description": "Subnet mask for the range of IP addresses the restriction is valid for.", + "type": "string" + } + } + }, + "LocalizableString": { + "description": "Localizable string object containing the name and a localized value.", + "type": "object", + "properties": { + "value": { + "description": "Non-localized name.", + "type": "string" + }, + "localizedValue": { + "description": "Localized name.", + "type": "string" + } + } + }, + "ManagedServiceIdentity": { + "description": "Managed service identity.", + "type": "object", + "properties": { + "type": { + "description": "Type of managed service identity.", + "enum": [ + "SystemAssigned" + ], + "x-ms-enum": { + "name": "ManagedServiceIdentityType", + "modelAsString": true + } + }, + "tenantId": { + "description": "Tenant of managed service identity.", + "type": "string", + "readOnly": true + }, + "principalId": { + "description": "Principal Id of managed service identity.", + "type": "string", + "readOnly": true + } + } + }, + "NameIdentifier": { + "description": "Identifies an object.", + "type": "object", + "properties": { + "name": { + "description": "Name of the object.", + "type": "string" + } + } + }, + "NameValuePair": { + "description": "Name value pair.", + "type": "object", + "properties": { + "name": { + "description": "Pair name.", + "type": "string" + }, + "value": { + "description": "Pair value.", + "type": "string" + } + } + }, + "NetworkAccessControlEntry": { + "description": "Network access control entry.", + "type": "object", + "properties": { + "action": { + "description": "Action object.", + "enum": [ + "Permit", + "Deny" + ], + "type": "string", + "x-ms-enum": { + "name": "AccessControlEntryAction", + "modelAsString": false + } + }, + "description": { + "description": "Description.", + "type": "string" + }, + "order": { + "format": "int32", + "description": "Order of precedence.", + "type": "integer" + }, + "remoteSubnet": { + "description": "Remote subnet.", + "type": "string" + } + } + }, + "Operation": { + "description": "Operation.", + "type": "object", + "properties": { + "id": { + "description": "Operation ID.", + "type": "string" + }, + "name": { + "description": "Operation name.", + "type": "string" + }, + "status": { + "description": "The current status of the operation.", + "enum": [ + "InProgress", + "Failed", + "Succeeded", + "TimedOut", + "Created" + ], + "type": "string", + "x-ms-enum": { + "name": "OperationStatus", + "modelAsString": false + } + }, + "errors": { + "description": "Any errors associate with the operation.", + "type": "array", + "items": { + "$ref": "#/definitions/ErrorEntity" + } + }, + "createdTime": { + "format": "date-time", + "description": "Time when operation has started.", + "type": "string" + }, + "modifiedTime": { + "format": "date-time", + "description": "Time when operation has been updated.", + "type": "string" + }, + "expirationTime": { + "format": "date-time", + "description": "Time when operation will expire.", + "type": "string" + }, + "geoMasterOperationId": { + "format": "uuid", + "description": "Applicable only for stamp operation ids.", + "type": "string", + "example": "00000000-0000-0000-0000-000000000000" + } + } + }, + "ProxyOnlyResource": { + "description": "Azure proxy only resource. This resource is not tracked by Azure Resource Manager.", + "properties": { + "id": { + "description": "Resource Id.", + "type": "string", + "readOnly": true + }, + "name": { + "description": "Resource Name.", + "type": "string", + "readOnly": true + }, + "kind": { + "description": "Kind of resource.", + "type": "string" + }, + "type": { + "description": "Resource type.", + "type": "string", + "readOnly": true + } + }, + "x-ms-azure-resource": true + }, + "PushSettings": { + "description": "Push settings for the App.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/ProxyOnlyResource" + } + ], + "properties": { + "properties": { + "description": "PushSettings resource specific properties", + "required": [ + "isPushEnabled" + ], + "properties": { + "isPushEnabled": { + "description": "Gets or sets a flag indicating whether the Push endpoint is enabled.", + "type": "boolean" + }, + "tagWhitelistJson": { + "description": "Gets or sets a JSON string containing a list of tags that are whitelisted for use by the push registration endpoint.", + "type": "string" + }, + "tagsRequiringAuth": { + "description": "Gets or sets a JSON string containing a list of tags that require user authentication to be used in the push registration endpoint.\nTags can consist of alphanumeric characters and the following:\n'_', '@', '#', '.', ':', '-'. \nValidation should be performed at the PushRequestHandler.", + "type": "string" + }, + "dynamicTagsJson": { + "description": "Gets or sets a JSON string containing a list of dynamic tags that will be evaluated from user claims in the push registration endpoint.", + "type": "string" + } + }, + "x-ms-client-flatten": true + } + } + }, + "RampUpRule": { + "description": "Routing rules for ramp up testing. This rule allows to redirect static traffic % to a slot or to gradually change routing % based on performance.", + "type": "object", + "properties": { + "actionHostName": { + "description": "Hostname of a slot to which the traffic will be redirected if decided to. E.g. myapp-stage.azurewebsites.net.", + "type": "string" + }, + "reroutePercentage": { + "format": "double", + "description": "Percentage of the traffic which will be redirected to ActionHostName.", + "type": "number" + }, + "changeStep": { + "format": "double", + "description": "In auto ramp up scenario this is the step to to add/remove from ReroutePercentage until it reaches \nMinReroutePercentage or MaxReroutePercentage. Site metrics are checked every N minutes specificed in ChangeIntervalInMinutes.\nCustom decision algorithm can be provided in TiPCallback site extension which URL can be specified in ChangeDecisionCallbackUrl.", + "type": "number" + }, + "changeIntervalInMinutes": { + "format": "int32", + "description": "Specifies interval in mimuntes to reevaluate ReroutePercentage.", + "type": "integer" + }, + "minReroutePercentage": { + "format": "double", + "description": "Specifies lower boundary above which ReroutePercentage will stay.", + "type": "number" + }, + "maxReroutePercentage": { + "format": "double", + "description": "Specifies upper boundary below which ReroutePercentage will stay.", + "type": "number" + }, + "changeDecisionCallbackUrl": { + "description": "Custom decision algorithm can be provided in TiPCallback site extension which URL can be specified. See TiPCallback site extension for the scaffold and contracts.\nhttps://www.siteextensions.net/packages/TiPCallback/", + "type": "string" + }, + "name": { + "description": "Name of the routing rule. The recommended name would be to point to the slot which will receive the traffic in the experiment.", + "type": "string" + } + } + }, + "RequestsBasedTrigger": { + "description": "Trigger based on total requests.", + "type": "object", + "properties": { + "count": { + "format": "int32", + "description": "Count.", + "type": "integer" + }, + "timeInterval": { + "description": "Time interval.", + "type": "string" + } + } + }, + "Resource": { + "description": "Azure resource. This resource is tracked in Azure Resource Manager", + "required": [ + "location" + ], + "properties": { + "id": { + "description": "Resource Id.", + "type": "string", + "readOnly": true + }, + "name": { + "description": "Resource Name.", + "type": "string", + "readOnly": true + }, + "kind": { + "description": "Kind of resource.", + "type": "string" + }, + "location": { + "description": "Resource Location.", + "type": "string" + }, + "type": { + "description": "Resource type.", + "type": "string", + "readOnly": true + }, + "tags": { + "description": "Resource tags.", + "type": "object", + "additionalProperties": { + "type": "string" + } + } + }, + "x-ms-azure-resource": true + }, + "ResourceMetric": { + "description": "Object representing a metric for any resource .", + "type": "object", + "properties": { + "name": { + "$ref": "#/definitions/ResourceMetricName", + "description": "Name of metric.", + "readOnly": true + }, + "unit": { + "description": "Metric unit.", + "type": "string", + "readOnly": true + }, + "timeGrain": { + "description": "Metric granularity. E.g PT1H, PT5M, P1D", + "type": "string", + "readOnly": true + }, + "startTime": { + "format": "date-time", + "description": "Metric start time.", + "type": "string", + "readOnly": true + }, + "endTime": { + "format": "date-time", + "description": "Metric end time.", + "type": "string", + "readOnly": true + }, + "resourceId": { + "description": "Metric resource Id.", + "type": "string", + "readOnly": true + }, + "id": { + "description": "Resource Id.", + "type": "string", + "readOnly": true + }, + "metricValues": { + "description": "Metric values.", + "type": "array", + "items": { + "$ref": "#/definitions/ResourceMetricValue" + }, + "readOnly": true + }, + "properties": { + "description": "Properties.", + "type": "array", + "items": { + "$ref": "#/definitions/ResourceMetricProperty" + }, + "readOnly": true + } + } + }, + "ResourceMetricAvailability": { + "description": "Metrics availability and retention.", + "type": "object", + "properties": { + "timeGrain": { + "description": "Time grain .", + "type": "string", + "readOnly": true + }, + "retention": { + "description": "Retention period for the current time grain.", + "type": "string", + "readOnly": true + } + } + }, + "ResourceMetricCollection": { + "description": "Collection of metric responses.", + "required": [ + "value" + ], + "type": "object", + "properties": { + "value": { + "description": "Collection of resources.", + "type": "array", + "items": { + "$ref": "#/definitions/ResourceMetric" + } + }, + "nextLink": { + "description": "Link to next page of resources.", + "type": "string" + } + } + }, + "ResourceMetricDefinition": { + "description": "Metadata for the metrics.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/ProxyOnlyResource" + } + ], + "properties": { + "properties": { + "description": "ResourceMetricDefinition resource specific properties", + "properties": { + "name": { + "$ref": "#/definitions/ResourceMetricName", + "description": "Name of the metric.", + "readOnly": true + }, + "unit": { + "description": "Unit of the metric.", + "type": "string", + "readOnly": true + }, + "primaryAggregationType": { + "description": "Primary aggregation type.", + "type": "string", + "readOnly": true + }, + "metricAvailabilities": { + "description": "List of time grains supported for the metric together with retention period.", + "type": "array", + "items": { + "$ref": "#/definitions/ResourceMetricAvailability" + }, + "readOnly": true + }, + "resourceUri": { + "description": "Resource URI.", + "type": "string", + "readOnly": true + }, + "id": { + "description": "Resource ID.", + "type": "string", + "readOnly": true + }, + "properties": { + "description": "Properties.", + "type": "object", + "additionalProperties": { + "type": "string" + }, + "readOnly": true + } + }, + "x-ms-client-flatten": true + } + } + }, + "ResourceMetricDefinitionCollection": { + "description": "Collection of metric definitions.", + "required": [ + "value" + ], + "type": "object", + "properties": { + "value": { + "description": "Collection of resources.", + "type": "array", + "items": { + "$ref": "#/definitions/ResourceMetricDefinition" + } + }, + "nextLink": { + "description": "Link to next page of resources.", + "type": "string" + } + } + }, + "ResourceMetricName": { + "description": "Name of a metric for any resource .", + "type": "object", + "properties": { + "value": { + "description": "metric name value.", + "type": "string", + "readOnly": true + }, + "localizedValue": { + "description": "Localized metric name value.", + "type": "string", + "readOnly": true + } + } + }, + "ResourceMetricProperty": { + "description": "Resource metric property.", + "type": "object", + "properties": { + "key": { + "description": "Key for resource metric property.", + "type": "string" + }, + "value": { + "description": "Value of pair.", + "type": "string" + } + } + }, + "ResourceMetricValue": { + "description": "Value of resource metric.", + "type": "object", + "properties": { + "timestamp": { + "description": "Value timestamp.", + "type": "string", + "readOnly": true + }, + "average": { + "format": "float", + "description": "Value average.", + "type": "number", + "readOnly": true + }, + "minimum": { + "format": "float", + "description": "Value minimum.", + "type": "number", + "readOnly": true + }, + "maximum": { + "format": "float", + "description": "Value maximum.", + "type": "number", + "readOnly": true + }, + "total": { + "format": "float", + "description": "Value total.", + "type": "number", + "readOnly": true + }, + "count": { + "format": "float", + "description": "Value count.", + "type": "number", + "readOnly": true + }, + "properties": { + "description": "Properties.", + "type": "array", + "items": { + "$ref": "#/definitions/ResourceMetricProperty" + }, + "readOnly": true + } + } + }, + "Site": { + "description": "A web app, a mobile app backend, or an API app.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/Resource" + } + ], + "properties": { + "properties": { + "description": "Site resource specific properties", + "properties": { + "state": { + "description": "Current state of the app.", + "type": "string", + "readOnly": true + }, + "hostNames": { + "description": "Hostnames associated with the app.", + "type": "array", + "items": { + "type": "string" + }, + "readOnly": true + }, + "repositorySiteName": { + "description": "Name of the repository site.", + "type": "string", + "readOnly": true + }, + "usageState": { + "description": "State indicating whether the app has exceeded its quota usage. Read-only.", + "enum": [ + "Normal", + "Exceeded" + ], + "type": "string", + "readOnly": true, + "x-ms-enum": { + "name": "UsageState", + "modelAsString": false + } + }, + "enabled": { + "description": "true if the app is enabled; otherwise, false. Setting this value to false disables the app (takes the app offline).", + "type": "boolean" + }, + "enabledHostNames": { + "description": "Enabled hostnames for the app.Hostnames need to be assigned (see HostNames) AND enabled. Otherwise,\nthe app is not served on those hostnames.", + "type": "array", + "items": { + "type": "string" + }, + "readOnly": true + }, + "availabilityState": { + "description": "Management information availability state for the app.", + "enum": [ + "Normal", + "Limited", + "DisasterRecoveryMode" + ], + "type": "string", + "readOnly": true, + "x-ms-enum": { + "name": "SiteAvailabilityState", + "modelAsString": false + } + }, + "hostNameSslStates": { + "description": "Hostname SSL states are used to manage the SSL bindings for app's hostnames.", + "type": "array", + "items": { + "$ref": "#/definitions/HostNameSslState" + } + }, + "serverFarmId": { + "description": "Resource ID of the associated App Service plan, formatted as: \"/subscriptions/{subscriptionID}/resourceGroups/{groupName}/providers/Microsoft.Web/serverfarms/{appServicePlanName}\".", + "type": "string" + }, + "reserved": { + "description": "true if reserved; otherwise, false.", + "default": false, + "type": "boolean", + "x-ms-mutability": [ + "create", + "read" + ] + }, + "lastModifiedTimeUtc": { + "format": "date-time", + "description": "Last time the app was modified, in UTC. Read-only.", + "type": "string", + "readOnly": true + }, + "siteConfig": { + "$ref": "#/definitions/SiteConfig", + "description": "Configuration of the app." + }, + "trafficManagerHostNames": { + "description": "Azure Traffic Manager hostnames associated with the app. Read-only.", + "type": "array", + "items": { + "type": "string" + }, + "readOnly": true + }, + "scmSiteAlsoStopped": { + "description": "true to stop SCM (KUDU) site when the app is stopped; otherwise, false. The default is false.", + "default": false, + "type": "boolean" + }, + "targetSwapSlot": { + "description": "Specifies which deployment slot this app will swap into. Read-only.", + "type": "string", + "readOnly": true + }, + "hostingEnvironmentProfile": { + "$ref": "#/definitions/HostingEnvironmentProfile", + "description": "App Service Environment to use for the app.", + "x-ms-mutability": [ + "create", + "read" + ] + }, + "clientAffinityEnabled": { + "description": "true to enable client affinity; false to stop sending session affinity cookies, which route client requests in the same session to the same instance. Default is true.", + "type": "boolean" + }, + "clientCertEnabled": { + "description": "true to enable client certificate authentication (TLS mutual authentication); otherwise, false. Default is false.", + "type": "boolean" + }, + "hostNamesDisabled": { + "description": "true to disable the public hostnames of the app; otherwise, false.\n If true, the app is only accessible via API management process.", + "type": "boolean" + }, + "outboundIpAddresses": { + "description": "List of IP addresses that the app uses for outbound connections (e.g. database access). Includes VIPs from tenants that site can be hosted with current settings. Read-only.", + "type": "string", + "readOnly": true + }, + "possibleOutboundIpAddresses": { + "description": "List of IP addresses that the app uses for outbound connections (e.g. database access). Includes VIPs from all tenants. Read-only.", + "type": "string", + "readOnly": true + }, + "containerSize": { + "format": "int32", + "description": "Size of the function container.", + "type": "integer" + }, + "dailyMemoryTimeQuota": { + "format": "int32", + "description": "Maximum allowed daily memory-time quota (applicable on dynamic apps only).", + "type": "integer" + }, + "suspendedTill": { + "format": "date-time", + "description": "App suspended till in case memory-time quota is exceeded.", + "type": "string", + "readOnly": true + }, + "maxNumberOfWorkers": { + "format": "int32", + "description": "Maximum number of workers.\nThis only applies to Functions container.", + "type": "integer", + "readOnly": true + }, + "cloningInfo": { + "$ref": "#/definitions/CloningInfo", + "description": "If specified during app creation, the app is cloned from a source app.", + "x-ms-mutability": [ + "create" + ] + }, + "snapshotInfo": { + "$ref": "#/definitions/SnapshotRecoveryRequest", + "description": "If specified during app creation, the app is created from a previous snapshot.", + "x-ms-mutability": [ + "create" + ] + }, + "resourceGroup": { + "description": "Name of the resource group the app belongs to. Read-only.", + "type": "string", + "readOnly": true + }, + "isDefaultContainer": { + "description": "true if the app is a default container; otherwise, false.", + "type": "boolean", + "readOnly": true + }, + "defaultHostName": { + "description": "Default hostname of the app. Read-only.", + "type": "string", + "readOnly": true + }, + "slotSwapStatus": { + "$ref": "#/definitions/SlotSwapStatus", + "description": "Status of the last deployment slot swap operation.", + "readOnly": true + }, + "httpsOnly": { + "description": "HttpsOnly: configures a web site to accept only https requests. Issues redirect for\nhttp requests", + "type": "boolean" + } + }, + "x-ms-client-flatten": true + }, + "identity": { + "$ref": "#/definitions/ManagedServiceIdentity" + } + } + }, + "SiteConfig": { + "description": "Configuration of an App Service app.", + "type": "object", + "properties": { + "numberOfWorkers": { + "format": "int32", + "description": "Number of workers.", + "type": "integer" + }, + "defaultDocuments": { + "description": "Default documents.", + "type": "array", + "items": { + "type": "string" + } + }, + "netFrameworkVersion": { + "description": ".NET Framework version.", + "default": "v4.6", + "type": "string" + }, + "phpVersion": { + "description": "Version of PHP.", + "type": "string" + }, + "pythonVersion": { + "description": "Version of Python.", + "type": "string" + }, + "nodeVersion": { + "description": "Version of Node.js.", + "type": "string" + }, + "linuxFxVersion": { + "description": "Linux App Framework and version", + "type": "string" + }, + "requestTracingEnabled": { + "description": "true if request tracing is enabled; otherwise, false.", + "type": "boolean" + }, + "requestTracingExpirationTime": { + "format": "date-time", + "description": "Request tracing expiration time.", + "type": "string" + }, + "remoteDebuggingEnabled": { + "description": "true if remote debugging is enabled; otherwise, false.", + "type": "boolean" + }, + "remoteDebuggingVersion": { + "description": "Remote debugging version.", + "type": "string" + }, + "httpLoggingEnabled": { + "description": "true if HTTP logging is enabled; otherwise, false.", + "type": "boolean" + }, + "logsDirectorySizeLimit": { + "format": "int32", + "description": "HTTP logs directory size limit.", + "type": "integer" + }, + "detailedErrorLoggingEnabled": { + "description": "true if detailed error logging is enabled; otherwise, false.", + "type": "boolean" + }, + "publishingUsername": { + "description": "Publishing user name.", + "type": "string" + }, + "appSettings": { + "description": "Application settings.", + "type": "array", + "items": { + "$ref": "#/definitions/NameValuePair" + } + }, + "connectionStrings": { + "description": "Connection strings.", + "type": "array", + "items": { + "$ref": "#/definitions/ConnStringInfo" + } + }, + "machineKey": { + "$ref": "#/definitions/SiteMachineKey", + "description": "Site MachineKey.", + "readOnly": true + }, + "handlerMappings": { + "description": "Handler mappings.", + "type": "array", + "items": { + "$ref": "#/definitions/HandlerMapping" + } + }, + "documentRoot": { + "description": "Document root.", + "type": "string" + }, + "scmType": { + "description": "SCM type.", + "enum": [ + "None", + "Dropbox", + "Tfs", + "LocalGit", + "GitHub", + "CodePlexGit", + "CodePlexHg", + "BitbucketGit", + "BitbucketHg", + "ExternalGit", + "ExternalHg", + "OneDrive", + "VSO" + ], + "type": "string", + "x-ms-enum": { + "name": "ScmType", + "modelAsString": true + } + }, + "use32BitWorkerProcess": { + "description": "true to use 32-bit worker process; otherwise, false.", + "type": "boolean" + }, + "webSocketsEnabled": { + "description": "true if WebSocket is enabled; otherwise, false.", + "type": "boolean" + }, + "alwaysOn": { + "description": "true if Always On is enabled; otherwise, false.", + "type": "boolean" + }, + "javaVersion": { + "description": "Java version.", + "type": "string" + }, + "javaContainer": { + "description": "Java container.", + "type": "string" + }, + "javaContainerVersion": { + "description": "Java container version.", + "type": "string" + }, + "appCommandLine": { + "description": "App command line to launch.", + "type": "string" + }, + "managedPipelineMode": { + "description": "Managed pipeline mode.", + "enum": [ + "Integrated", + "Classic" + ], + "type": "string", + "x-ms-enum": { + "name": "ManagedPipelineMode", + "modelAsString": false + } + }, + "virtualApplications": { + "description": "Virtual applications.", + "type": "array", + "items": { + "$ref": "#/definitions/VirtualApplication" + } + }, + "loadBalancing": { + "description": "Site load balancing.", + "enum": [ + "WeightedRoundRobin", + "LeastRequests", + "LeastResponseTime", + "WeightedTotalTraffic", + "RequestHash" + ], + "type": "string", + "x-ms-enum": { + "name": "SiteLoadBalancing", + "modelAsString": false + } + }, + "experiments": { + "$ref": "#/definitions/Experiments", + "description": "This is work around for polymophic types." + }, + "limits": { + "$ref": "#/definitions/SiteLimits", + "description": "Site limits." + }, + "autoHealEnabled": { + "description": "true if Auto Heal is enabled; otherwise, false.", + "type": "boolean" + }, + "autoHealRules": { + "$ref": "#/definitions/AutoHealRules", + "description": "Auto Heal rules." + }, + "tracingOptions": { + "description": "Tracing options.", + "type": "string" + }, + "vnetName": { + "description": "Virtual Network name.", + "type": "string", + "x-ms-mutability": [ + "create", + "read" + ] + }, + "cors": { + "$ref": "#/definitions/CorsSettings", + "description": "Cross-Origin Resource Sharing (CORS) settings." + }, + "push": { + "$ref": "#/definitions/PushSettings", + "description": "Push endpoint settings." + }, + "apiDefinition": { + "$ref": "#/definitions/ApiDefinitionInfo", + "description": "Information about the formal API definition for the app." + }, + "autoSwapSlotName": { + "description": "Auto-swap slot name.", + "type": "string" + }, + "localMySqlEnabled": { + "description": "true to enable local MySQL; otherwise, false.", + "default": false, + "type": "boolean" + }, + "ipSecurityRestrictions": { + "description": "IP security restrictions.", + "type": "array", + "items": { + "$ref": "#/definitions/IpSecurityRestriction" + } + } + } + }, + "SiteLimits": { + "description": "Metric limits set on an app.", + "type": "object", + "properties": { + "maxPercentageCpu": { + "format": "double", + "description": "Maximum allowed CPU usage percentage.", + "type": "number" + }, + "maxMemoryInMb": { + "format": "int64", + "description": "Maximum allowed memory usage in MB.", + "type": "integer" + }, + "maxDiskSizeInMb": { + "format": "int64", + "description": "Maximum allowed disk size usage in MB.", + "type": "integer" + } + } + }, + "SiteMachineKey": { + "description": "MachineKey of an app.", + "type": "object", + "properties": { + "validation": { + "description": "MachineKey validation.", + "type": "string" + }, + "validationKey": { + "description": "Validation key.", + "type": "string" + }, + "decryption": { + "description": "Decryption.", + "type": "string" + }, + "decryptionKey": { + "description": "Decryption key.", + "type": "string" + } + } + }, + "SkuCapacity": { + "description": "Description of the App Service plan scale options.", + "type": "object", + "properties": { + "minimum": { + "format": "int32", + "description": "Minimum number of workers for this App Service plan SKU.", + "type": "integer" + }, + "maximum": { + "format": "int32", + "description": "Maximum number of workers for this App Service plan SKU.", + "type": "integer" + }, + "default": { + "format": "int32", + "description": "Default number of workers for this App Service plan SKU.", + "type": "integer" + }, + "scaleType": { + "description": "Available scale configurations for an App Service plan.", + "type": "string" + } + } + }, + "SkuDescription": { + "description": "Description of a SKU for a scalable resource.", + "type": "object", + "properties": { + "name": { + "description": "Name of the resource SKU.", + "type": "string" + }, + "tier": { + "description": "Service tier of the resource SKU.", + "type": "string" + }, + "size": { + "description": "Size specifier of the resource SKU.", + "type": "string" + }, + "family": { + "description": "Family code of the resource SKU.", + "type": "string" + }, + "capacity": { + "format": "int32", + "description": "Current number of instances assigned to the resource.", + "type": "integer" + }, + "skuCapacity": { + "$ref": "#/definitions/SkuCapacity", + "description": "Min, max, and default scale values of the SKU." + }, + "locations": { + "description": "Locations of the SKU.", + "type": "array", + "items": { + "type": "string" + } + }, + "capabilities": { + "description": "Capabilities of the SKU, e.g., is traffic manager enabled?", + "type": "array", + "items": { + "$ref": "#/definitions/Capability" + } + } + } + }, + "SlotSwapStatus": { + "description": "The status of the last successfull slot swap operation.", + "type": "object", + "properties": { + "timestampUtc": { + "format": "date-time", + "description": "The time the last successful slot swap completed.", + "type": "string", + "readOnly": true + }, + "sourceSlotName": { + "description": "The source slot of the last swap operation.", + "type": "string", + "readOnly": true + }, + "destinationSlotName": { + "description": "The destination slot of the last swap operation.", + "type": "string", + "readOnly": true + } + } + }, + "SlowRequestsBasedTrigger": { + "description": "Trigger based on request execution time.", + "type": "object", + "properties": { + "timeTaken": { + "description": "Time taken.", + "type": "string" + }, + "count": { + "format": "int32", + "description": "Count.", + "type": "integer" + }, + "timeInterval": { + "description": "Time interval.", + "type": "string" + } + } + }, + "SnapshotRecoveryRequest": { + "description": "Details about app recovery operation.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/ProxyOnlyResource" + } + ], + "properties": { + "properties": { + "description": "SnapshotRecoveryRequest resource specific properties", + "required": [ + "overwrite" + ], + "properties": { + "snapshotTime": { + "description": "Point in time in which the app recovery should be attempted, formatted as a DateTime string.", + "type": "string" + }, + "recoveryTarget": { + "$ref": "#/definitions/SnapshotRecoveryTarget", + "description": "Specifies the web app that snapshot contents will be written to." + }, + "overwrite": { + "description": "If true the recovery operation can overwrite source app; otherwise, false.", + "type": "boolean" + }, + "recoverConfiguration": { + "description": "If true, site configuration, in addition to content, will be reverted.", + "type": "boolean" + }, + "ignoreConflictingHostNames": { + "description": "If true, custom hostname conflicts will be ignored when recovering to a target web app.\nThis setting is only necessary when RecoverConfiguration is enabled.", + "type": "boolean" + } + }, + "x-ms-client-flatten": true + } + } + }, + "SnapshotRecoveryTarget": { + "description": "Specifies the web app that snapshot contents will be written to.", + "type": "object", + "properties": { + "location": { + "description": "Geographical location of the target web app, e.g. SouthEastAsia, SouthCentralUS", + "type": "string" + }, + "id": { + "description": "ARM resource ID of the target app. \n/subscriptions/{subId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{siteName} for production slots and \n/subscriptions/{subId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{siteName}/slots/{slotName} for other slots.", + "type": "string" + } + } + }, + "StampCapacity": { + "description": "Stamp capacity information.", + "type": "object", + "properties": { + "name": { + "description": "Name of the stamp.", + "type": "string" + }, + "availableCapacity": { + "format": "int64", + "description": "Available capacity (# of machines, bytes of storage etc...).", + "type": "integer" + }, + "totalCapacity": { + "format": "int64", + "description": "Total capacity (# of machines, bytes of storage etc...).", + "type": "integer" + }, + "unit": { + "description": "Name of the unit.", + "type": "string" + }, + "computeMode": { + "description": "Shared/dedicated workers.", + "enum": [ + "Shared", + "Dedicated", + "Dynamic" + ], + "type": "string", + "x-ms-enum": { + "name": "ComputeModeOptions", + "modelAsString": false + } + }, + "workerSize": { + "description": "Size of the machines.", + "enum": [ + "Default", + "Small", + "Medium", + "Large", + "D1", + "D2", + "D3" + ], + "type": "string", + "x-ms-enum": { + "name": "WorkerSizeOptions", + "modelAsString": false + } + }, + "workerSizeId": { + "format": "int32", + "description": "Size ID of machines: \n0 - Small\n1 - Medium\n2 - Large", + "type": "integer" + }, + "excludeFromCapacityAllocation": { + "description": "If true, it includes basic apps.\nBasic apps are not used for capacity allocation.", + "type": "boolean" + }, + "isApplicableForAllComputeModes": { + "description": "true if capacity is applicable for all apps; otherwise, false.", + "type": "boolean" + }, + "siteMode": { + "description": "Shared or Dedicated.", + "type": "string" + } + } + }, + "StatusCodesBasedTrigger": { + "description": "Trigger based on status code.", + "type": "object", + "properties": { + "status": { + "format": "int32", + "description": "HTTP status code.", + "type": "integer" + }, + "subStatus": { + "format": "int32", + "description": "SubStatus.", + "type": "integer" + }, + "win32Status": { + "format": "int32", + "description": "Win32 error code.", + "type": "integer" + }, + "count": { + "format": "int32", + "description": "Count.", + "type": "integer" + }, + "timeInterval": { + "description": "Time interval.", + "type": "string" + } + } + }, + "User": { + "description": "User crendentials used for publishing activity.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/ProxyOnlyResource" + } + ], + "properties": { + "properties": { + "description": "User resource specific properties", + "required": [ + "publishingUserName" + ], + "properties": { + "name": { + "description": "Username", + "type": "string", + "x-ms-client-name": "UserName" + }, + "publishingUserName": { + "description": "Username used for publishing.", + "type": "string" + }, + "publishingPassword": { + "format": "password", + "description": "Password used for publishing.", + "type": "string" + }, + "publishingPasswordHash": { + "format": "password", + "description": "Password hash used for publishing.", + "type": "string" + }, + "publishingPasswordHashSalt": { + "format": "password", + "description": "Password hash salt used for publishing.", + "type": "string" + } + }, + "x-ms-client-flatten": true + } + } + }, + "VirtualApplication": { + "description": "Virtual application in an app.", + "type": "object", + "properties": { + "virtualPath": { + "description": "Virtual path.", + "type": "string" + }, + "physicalPath": { + "description": "Physical path.", + "type": "string" + }, + "preloadEnabled": { + "description": "true if preloading is enabled; otherwise, false.", + "type": "boolean" + }, + "virtualDirectories": { + "description": "Virtual directories for virtual application.", + "type": "array", + "items": { + "$ref": "#/definitions/VirtualDirectory" + } + } + } + }, + "VirtualDirectory": { + "description": "Directory for virtual application.", + "type": "object", + "properties": { + "virtualPath": { + "description": "Path to virtual application.", + "type": "string" + }, + "physicalPath": { + "description": "Physical path.", + "type": "string" + } + } + }, + "VirtualIPMapping": { + "description": "Virtual IP mapping.", + "type": "object", + "properties": { + "virtualIP": { + "description": "Virtual IP address.", + "type": "string" + }, + "internalHttpPort": { + "format": "int32", + "description": "Internal HTTP port.", + "type": "integer" + }, + "internalHttpsPort": { + "format": "int32", + "description": "Internal HTTPS port.", + "type": "integer" + }, + "inUse": { + "description": "Is virtual IP mapping in use.", + "type": "boolean" + } + } + }, + "VirtualNetworkProfile": { + "description": "Specification for using a Virtual Network.", + "type": "object", + "properties": { + "id": { + "description": "Resource id of the Virtual Network.", + "type": "string" + }, + "name": { + "description": "Name of the Virtual Network (read-only).", + "type": "string", + "readOnly": true + }, + "type": { + "description": "Resource type of the Virtual Network (read-only).", + "type": "string", + "readOnly": true + }, + "subnet": { + "description": "Subnet within the Virtual Network.", + "type": "string" + } + } + }, + "VnetGateway": { + "description": "The Virtual Network gateway contract. This is used to give the Virtual Network gateway access to the VPN package.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/ProxyOnlyResource" + } + ], + "properties": { + "properties": { + "description": "VnetGateway resource specific properties", + "required": [ + "vpnPackageUri" + ], + "properties": { + "vnetName": { + "description": "The Virtual Network name.", + "type": "string", + "x-ms-mutability": [ + "create", + "read" + ] + }, + "vpnPackageUri": { + "description": "The URI where the VPN package can be downloaded.", + "type": "string", + "x-ms-mutability": [ + "create", + "update" + ] + } + }, + "x-ms-client-flatten": true + } + } + }, + "VnetInfo": { + "description": "Virtual Network information contract.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/ProxyOnlyResource" + } + ], + "properties": { + "properties": { + "description": "VnetInfo resource specific properties", + "properties": { + "vnetResourceId": { + "description": "The Virtual Network's resource ID.", + "type": "string" + }, + "certThumbprint": { + "description": "The client certificate thumbprint.", + "type": "string", + "readOnly": true + }, + "certBlob": { + "format": "byte", + "description": "A certificate file (.cer) blob containing the public key of the private key used to authenticate a \nPoint-To-Site VPN connection.", + "type": "string" + }, + "routes": { + "description": "The routes that this Virtual Network connection uses.", + "type": "array", + "items": { + "$ref": "#/definitions/VnetRoute" + }, + "readOnly": true + }, + "resyncRequired": { + "description": "true if a resync is required; otherwise, false.", + "type": "boolean", + "readOnly": true + }, + "dnsServers": { + "description": "DNS servers to be used by this Virtual Network. This should be a comma-separated list of IP addresses.", + "type": "string" + } + }, + "x-ms-client-flatten": true + } + } + }, + "VnetRoute": { + "description": "Virtual Network route contract used to pass routing information for a Virtual Network.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/ProxyOnlyResource" + } + ], + "properties": { + "properties": { + "description": "VnetRoute resource specific properties", + "properties": { + "name": { + "description": "The name of this route. This is only returned by the server and does not need to be set by the client.", + "type": "string", + "x-ms-mutability": [ + "create", + "read" + ], + "x-ms-client-name": "vnetRouteName" + }, + "startAddress": { + "description": "The starting address for this route. This may also include a CIDR notation, in which case the end address must not be specified.", + "type": "string" + }, + "endAddress": { + "description": "The ending address for this route. If the start address is specified in CIDR notation, this must be omitted.", + "type": "string" + }, + "routeType": { + "description": "The type of route this is:\nDEFAULT - By default, every app has routes to the local address ranges specified by RFC1918\nINHERITED - Routes inherited from the real Virtual Network routes\nSTATIC - Static route set on the app only\n\nThese values will be used for syncing an app's routes with those from a Virtual Network.", + "enum": [ + "DEFAULT", + "INHERITED", + "STATIC" + ], + "type": "string", + "x-ms-enum": { + "name": "RouteType", + "modelAsString": true + } + } + }, + "x-ms-client-flatten": true + } + } + }, + "WebAppCollection": { + "description": "Collection of App Service apps.", + "required": [ + "value" + ], + "type": "object", + "properties": { + "value": { + "description": "Collection of resources.", + "type": "array", + "items": { + "$ref": "#/definitions/Site" + } + }, + "nextLink": { + "description": "Link to next page of resources.", + "type": "string" + } + } + }, + "WorkerPool": { + "description": "Worker pool of an App Service Environment.", + "type": "object", + "properties": { + "workerSizeId": { + "format": "int32", + "description": "Worker size ID for referencing this worker pool.", + "type": "integer" + }, + "computeMode": { + "description": "Shared or dedicated app hosting.", + "enum": [ + "Shared", + "Dedicated", + "Dynamic" + ], + "type": "string", + "x-ms-enum": { + "name": "ComputeModeOptions", + "modelAsString": false + } + }, + "workerSize": { + "description": "VM size of the worker pool instances.", + "type": "string" + }, + "workerCount": { + "format": "int32", + "description": "Number of instances in the worker pool.", + "type": "integer" + }, + "instanceNames": { + "description": "Names of all instances in the worker pool (read only).", + "type": "array", + "items": { + "type": "string" + }, + "readOnly": true + } + } + } + } +} \ No newline at end of file diff --git a/specification/web/resource-manager/Microsoft.Web/2016-03-01/DeletedWebApps.json b/specification/web/resource-manager/Microsoft.Web/2016-03-01/DeletedWebApps.json index 48906a350390..11cb03b510fd 100644 --- a/specification/web/resource-manager/Microsoft.Web/2016-03-01/DeletedWebApps.json +++ b/specification/web/resource-manager/Microsoft.Web/2016-03-01/DeletedWebApps.json @@ -8,6 +8,12 @@ "schemes": [ "https" ], + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], "paths": { "/subscriptions/{subscriptionId}/providers/Microsoft.Web/deletedSites": { "get": { @@ -17,10 +23,6 @@ "summary": "Get all deleted apps for a subscription.", "description": "Get all deleted apps for a subscription.", "operationId": "DeletedWebApps_List", - "produces": [ - "application/json", - "text/json" - ], "parameters": [ { "$ref": "#/parameters/subscriptionIdParameter" @@ -72,6 +74,11 @@ "description": "Name of the deleted site", "type": "string", "readOnly": true + }, + "slot": { + "description": "Slot of the deleted site", + "type": "string", + "readOnly": true } } }, diff --git a/specification/web/resource-manager/Microsoft.Web/2016-03-01/Provider.json b/specification/web/resource-manager/Microsoft.Web/2016-03-01/Provider.json index 53d02bfbe046..54119f8a921c 100644 --- a/specification/web/resource-manager/Microsoft.Web/2016-03-01/Provider.json +++ b/specification/web/resource-manager/Microsoft.Web/2016-03-01/Provider.json @@ -8,6 +8,12 @@ "schemes": [ "https" ], + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], "paths": { "/providers/Microsoft.Web/availableStacks": { "get": { @@ -17,12 +23,6 @@ "summary": "Get available application frameworks and their versions", "description": "Get available application frameworks and their versions", "operationId": "Provider_GetAvailableStacks", - "produces": [ - "application/json", - "text/json", - "application/xml", - "text/xml" - ], "parameters": [ { "$ref": "#/parameters/apiVersionParameter" @@ -32,7 +32,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/Object" + "type": "object" } } } @@ -43,11 +43,9 @@ "tags": [ "Provider" ], + "summary": "Gets all available operations for the Microsoft.Web resource provider. Also exposes resource metric definitions", + "description": "Gets all available operations for the Microsoft.Web resource provider. Also exposes resource metric definitions", "operationId": "Provider_ListOperations", - "produces": [ - "application/json", - "text/json" - ], "parameters": [ { "$ref": "#/parameters/apiVersionParameter" @@ -74,12 +72,6 @@ "summary": "Get available application frameworks and their versions", "description": "Get available application frameworks and their versions", "operationId": "Provider_GetAvailableStacksOnPrem", - "produces": [ - "application/json", - "text/json", - "application/xml", - "text/xml" - ], "parameters": [ { "$ref": "#/parameters/subscriptionIdParameter" @@ -92,7 +84,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/Object" + "type": "object" } } } @@ -121,6 +113,7 @@ } }, "CsmOperationDescription": { + "description": "Description of an operation available for Microsoft.Web resource provider.", "type": "object", "properties": { "name": { @@ -138,6 +131,7 @@ } }, "CsmOperationDescriptionProperties": { + "description": "Properties available for a Microsoft.Web resource provider operation.", "type": "object", "properties": { "serviceSpecification": { @@ -146,6 +140,7 @@ } }, "CsmOperationDisplay": { + "description": "Meta data about operation used for display in portal.", "type": "object", "properties": { "provider": { @@ -163,6 +158,7 @@ } }, "Dimension": { + "description": "Dimension of a resource metric. For e.g. instance specific HTTP requests for a web app, \nwhere instance name is dimension of the metric HTTP request", "type": "object", "properties": { "name": { @@ -180,6 +176,7 @@ } }, "MetricAvailability": { + "description": "Retention policy of a resource metric.", "type": "object", "properties": { "timeGrain": { @@ -191,6 +188,7 @@ } }, "MetricSpecification": { + "description": "Definition of a single resource metric.", "type": "object", "properties": { "name": { @@ -246,11 +244,8 @@ } } }, - "Object": { - "type": "object", - "properties": {} - }, "ServiceSpecification": { + "description": "Resource metrics service provided by Microsoft.Insights resource provider.", "type": "object", "properties": { "metricSpecifications": { diff --git a/specification/web/resource-manager/Microsoft.Web/2016-03-01/Recommendations.json b/specification/web/resource-manager/Microsoft.Web/2016-03-01/Recommendations.json index 8be8eeff17ea..feb0fc3e1323 100644 --- a/specification/web/resource-manager/Microsoft.Web/2016-03-01/Recommendations.json +++ b/specification/web/resource-manager/Microsoft.Web/2016-03-01/Recommendations.json @@ -8,6 +8,12 @@ "schemes": [ "https" ], + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], "paths": { "/subscriptions/{subscriptionId}/providers/Microsoft.Web/recommendations": { "get": { @@ -17,12 +23,6 @@ "summary": "List all recommendations for a subscription.", "description": "List all recommendations for a subscription.", "operationId": "Recommendations_List", - "produces": [ - "application/json", - "text/json", - "application/xml", - "text/xml" - ], "parameters": [ { "name": "featured", @@ -34,8 +34,8 @@ "name": "$filter", "in": "query", "description": "Filter is specified by using OData syntax. Example: $filter=channels eq 'Api' or channel eq 'Notification' and startTime eq '2014-01-01T00:00:00Z' and endTime eq '2014-12-31T23:59:59Z' and timeGrain eq duration'[PT1H|PT1M|P1D]", - "x-ms-skip-url-encoding": true, - "type": "string" + "type": "string", + "x-ms-skip-url-encoding": true }, { "$ref": "#/parameters/subscriptionIdParameter" @@ -88,12 +88,6 @@ "summary": "Get past recommendations for an app, optionally specified by the time range.", "description": "Get past recommendations for an app, optionally specified by the time range.", "operationId": "Recommendations_ListHistoryForWebApp", - "produces": [ - "application/json", - "text/json", - "application/xml", - "text/xml" - ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -109,8 +103,8 @@ "name": "$filter", "in": "query", "description": "Filter is specified by using OData syntax. Example: $filter=channels eq 'Api' or channel eq 'Notification' and startTime eq '2014-01-01T00:00:00Z' and endTime eq '2014-12-31T23:59:59Z' and timeGrain eq duration'[PT1H|PT1M|P1D]", - "x-ms-skip-url-encoding": true, - "type": "string" + "type": "string", + "x-ms-skip-url-encoding": true }, { "$ref": "#/parameters/subscriptionIdParameter" @@ -140,12 +134,6 @@ "summary": "Get all recommendations for an app.", "description": "Get all recommendations for an app.", "operationId": "Recommendations_ListRecommendedRulesForWebApp", - "produces": [ - "application/json", - "text/json", - "application/xml", - "text/xml" - ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -167,8 +155,8 @@ "name": "$filter", "in": "query", "description": "Return only channels specified in the filter. Filter is specified by using OData syntax. Example: $filter=channels eq 'Api' or channel eq 'Notification'", - "x-ms-skip-url-encoding": true, - "type": "string" + "type": "string", + "x-ms-skip-url-encoding": true }, { "$ref": "#/parameters/subscriptionIdParameter" @@ -264,12 +252,6 @@ "summary": "Get a recommendation rule for an app.", "description": "Get a recommendation rule for an app.", "operationId": "Recommendations_GetRuleDetailsByWebApp", - "produces": [ - "application/json", - "text/json", - "application/xml", - "text/xml" - ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -323,8 +305,10 @@ "type": "string" }, "recommendationId": { + "format": "uuid", "description": "A GUID value that each recommendation object is associated with.", - "type": "string" + "type": "string", + "example": "00000000-0000-0000-0000-000000000000" }, "resourceId": { "description": "Full ARM resource ID string that this recommendation object is associated with.", @@ -461,8 +445,9 @@ }, "recommendationId": { "format": "uuid", - "description": "Recommendation ID of an associated recommendation object tied to the rule, if exists.\n If such an object doesn't exist, it is set to null.", - "type": "string" + "description": "Recommendation ID of an associated recommendation object tied to the rule, if exists.\nIf such an object doesn't exist, it is set to null.", + "type": "string", + "example": "00000000-0000-0000-0000-000000000000" }, "description": { "description": "Localized detailed description of the rule.", @@ -540,11 +525,11 @@ "in": "path", "description": "Name of the resource group to which the resource belongs.", "required": true, - "x-ms-parameter-location": "method", "type": "string", "maxLength": 90, "minLength": 1, - "pattern": "^[-\\w\\._\\(\\)]+[^\\.]$" + "pattern": "^[-\\w\\._\\(\\)]+[^\\.]$", + "x-ms-parameter-location": "method" }, "apiVersionParameter": { "name": "api-version", @@ -572,4 +557,4 @@ ] } ] -} +} \ No newline at end of file diff --git a/specification/web/resource-manager/Microsoft.Web/2016-03-01/ResourceProvider.json b/specification/web/resource-manager/Microsoft.Web/2016-03-01/ResourceProvider.json index 1e9d849f812b..c27d25e7ea8c 100644 --- a/specification/web/resource-manager/Microsoft.Web/2016-03-01/ResourceProvider.json +++ b/specification/web/resource-manager/Microsoft.Web/2016-03-01/ResourceProvider.json @@ -8,18 +8,18 @@ "schemes": [ "https" ], + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], "paths": { "/providers/Microsoft.Web/publishingUsers/web": { "get": { "summary": "Gets publishing user", "description": "Gets publishing user", "operationId": "GetPublishingUser", - "produces": [ - "application/json", - "text/json", - "application/xml", - "text/xml" - ], "parameters": [ { "$ref": "#/parameters/apiVersionParameter" @@ -38,17 +38,6 @@ "summary": "Updates publishing user", "description": "Updates publishing user", "operationId": "UpdatePublishingUser", - "consumes": [ - "application/json", - "text/json", - "application/x-www-form-urlencoded" - ], - "produces": [ - "application/json", - "text/json", - "application/xml", - "text/xml" - ], "parameters": [ { "name": "userDetails", @@ -78,10 +67,6 @@ "summary": "Gets the source controls available for Azure websites.", "description": "Gets the source controls available for Azure websites.", "operationId": "ListSourceControls", - "produces": [ - "application/json", - "text/json" - ], "parameters": [ { "$ref": "#/parameters/apiVersionParameter" @@ -101,21 +86,35 @@ } }, "/providers/Microsoft.Web/sourcecontrols/{sourceControlType}": { + "get": { + "summary": "Gets source control token", + "description": "Gets source control token", + "operationId": "GetSourceControl", + "parameters": [ + { + "name": "sourceControlType", + "in": "path", + "description": "Type of source control", + "required": true, + "type": "string" + }, + { + "$ref": "#/parameters/apiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/SourceControl" + } + } + } + }, "put": { "summary": "Updates source control token", "description": "Updates source control token", "operationId": "UpdateSourceControl", - "consumes": [ - "application/json", - "text/json", - "application/x-www-form-urlencoded" - ], - "produces": [ - "application/json", - "text/json", - "application/xml", - "text/xml" - ], "parameters": [ { "name": "sourceControlType", @@ -152,19 +151,6 @@ "summary": "Check if a resource name is available.", "description": "Check if a resource name is available.", "operationId": "CheckNameAvailability", - "consumes": [ - "application/json", - "text/json", - "application/xml", - "text/xml", - "application/x-www-form-urlencoded" - ], - "produces": [ - "application/json", - "text/json", - "application/xml", - "text/xml" - ], "parameters": [ { "name": "request", @@ -193,24 +179,39 @@ } } }, + "/subscriptions/{subscriptionId}/providers/Microsoft.Web/deploymentLocations": { + "get": { + "summary": "Gets list of available geo regions plus ministamps", + "description": "Gets list of available geo regions plus ministamps", + "operationId": "GetSubscriptionDeploymentLocations", + "parameters": [ + { + "$ref": "#/parameters/subscriptionIdParameter" + }, + { + "$ref": "#/parameters/apiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/DeploymentLocations" + } + } + } + } + }, "/subscriptions/{subscriptionId}/providers/Microsoft.Web/geoRegions": { "get": { "summary": "Get a list of available geographical regions.", "description": "Get a list of available geographical regions.", "operationId": "ListGeoRegions", - "produces": [ - "application/json", - "text/json" - ], "parameters": [ { "name": "sku", "in": "query", "description": "Name of SKU used to filter the regions.", - "x-ms-enum": { - "name": "SkuName", - "modelAsString": true - }, "type": "string", "enum": [ "Free", @@ -221,7 +222,11 @@ "PremiumV2", "Dynamic", "Isolated" - ] + ], + "x-ms-enum": { + "name": "SkuName", + "modelAsString": true + } }, { "name": "linuxWorkersEnabled", @@ -254,10 +259,6 @@ "summary": "List all premier add-on offers.", "description": "List all premier add-on offers.", "operationId": "ListPremierAddOnOffers", - "produces": [ - "application/json", - "text/json" - ], "parameters": [ { "$ref": "#/parameters/subscriptionIdParameter" @@ -284,12 +285,6 @@ "summary": "List all SKUs.", "description": "List all SKUs.", "operationId": "ListSkus", - "produces": [ - "application/json", - "text/json", - "application/xml", - "text/xml" - ], "parameters": [ { "$ref": "#/parameters/subscriptionIdParameter" @@ -310,18 +305,9 @@ }, "/subscriptions/{subscriptionId}/providers/Microsoft.Web/verifyHostingEnvironmentVnet": { "post": { - "summary": "Verifies if this VNET is compatible with an App Service Environment.", + "summary": "Verifies if this VNET is compatible with an App Service Environment by analyzing the Network Security Group rules.", "description": "Verifies if this VNET is compatible with an App Service Environment by analyzing the Network Security Group rules.", "operationId": "VerifyHostingEnvironmentVnet", - "x-ms-examples": { - "VerifyHostingEnvironmentVnet": { "$ref": "./examples/VerifyHostingEnvironmentVnet.json" } - }, - "consumes": [ - "application/json" - ], - "produces": [ - "application/json" - ], "parameters": [ { "name": "parameters", @@ -346,6 +332,11 @@ "$ref": "#/definitions/VnetValidationFailureDetails" } } + }, + "x-ms-examples": { + "VerifyHostingEnvironmentVnet": { + "$ref": "./examples/VerifyHostingEnvironmentVnet.json" + } } } }, @@ -354,13 +345,6 @@ "summary": "Move resources between resource groups.", "description": "Move resources between resource groups.", "operationId": "Move", - "consumes": [ - "application/json", - "text/json", - "application/xml", - "text/xml", - "application/x-www-form-urlencoded" - ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -393,19 +377,6 @@ "summary": "Validate if a resource can be created.", "description": "Validate if a resource can be created.", "operationId": "Validate", - "consumes": [ - "application/json", - "text/json", - "application/xml", - "text/xml", - "application/x-www-form-urlencoded" - ], - "produces": [ - "application/json", - "text/json", - "application/xml", - "text/xml" - ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -441,13 +412,6 @@ "summary": "Validate whether a resource can be moved.", "description": "Validate whether a resource can be moved.", "operationId": "ValidateMove", - "consumes": [ - "application/json", - "text/json", - "application/xml", - "text/xml", - "application/x-www-form-urlencoded" - ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -477,6 +441,233 @@ } }, "definitions": { + "AppServiceEnvironment": { + "description": "Description of an App Service Environment.", + "required": [ + "name", + "location", + "virtualNetwork", + "workerPools" + ], + "type": "object", + "properties": { + "name": { + "description": "Name of the App Service Environment.", + "type": "string" + }, + "location": { + "description": "Location of the App Service Environment, e.g. \"West US\".", + "type": "string" + }, + "provisioningState": { + "description": "Provisioning state of the App Service Environment.", + "enum": [ + "Succeeded", + "Failed", + "Canceled", + "InProgress", + "Deleting" + ], + "type": "string", + "readOnly": true, + "x-ms-enum": { + "name": "ProvisioningState", + "modelAsString": false + } + }, + "status": { + "description": "Current status of the App Service Environment.", + "enum": [ + "Preparing", + "Ready", + "Scaling", + "Deleting" + ], + "type": "string", + "readOnly": true, + "x-ms-enum": { + "name": "HostingEnvironmentStatus", + "modelAsString": false + } + }, + "vnetName": { + "description": "Name of the Virtual Network for the App Service Environment.", + "type": "string" + }, + "vnetResourceGroupName": { + "description": "Resource group of the Virtual Network.", + "type": "string" + }, + "vnetSubnetName": { + "description": "Subnet of the Virtual Network.", + "type": "string" + }, + "virtualNetwork": { + "$ref": "#/definitions/VirtualNetworkProfile", + "description": "Description of the Virtual Network." + }, + "internalLoadBalancingMode": { + "description": "Specifies which endpoints to serve internally in the Virtual Network for the App Service Environment.", + "enum": [ + "None", + "Web", + "Publishing" + ], + "type": "string", + "x-ms-enum": { + "name": "InternalLoadBalancingMode", + "modelAsString": false + } + }, + "multiSize": { + "description": "Front-end VM size, e.g. \"Medium\", \"Large\".", + "type": "string" + }, + "multiRoleCount": { + "format": "int32", + "description": "Number of front-end instances.", + "type": "integer" + }, + "workerPools": { + "description": "Description of worker pools with worker size IDs, VM sizes, and number of workers in each pool.", + "type": "array", + "items": { + "$ref": "#/definitions/WorkerPool" + } + }, + "ipsslAddressCount": { + "format": "int32", + "description": "Number of IP SSL addresses reserved for the App Service Environment.", + "type": "integer" + }, + "databaseEdition": { + "description": "Edition of the metadata database for the App Service Environment, e.g. \"Standard\".", + "type": "string", + "readOnly": true + }, + "databaseServiceObjective": { + "description": "Service objective of the metadata database for the App Service Environment, e.g. \"S0\".", + "type": "string", + "readOnly": true + }, + "upgradeDomains": { + "format": "int32", + "description": "Number of upgrade domains of the App Service Environment.", + "type": "integer", + "readOnly": true + }, + "subscriptionId": { + "description": "Subscription of the App Service Environment.", + "type": "string", + "readOnly": true + }, + "dnsSuffix": { + "description": "DNS suffix of the App Service Environment.", + "type": "string" + }, + "lastAction": { + "description": "Last deployment action on the App Service Environment.", + "type": "string", + "readOnly": true + }, + "lastActionResult": { + "description": "Result of the last deployment action on the App Service Environment.", + "type": "string", + "readOnly": true + }, + "allowedMultiSizes": { + "description": "List of comma separated strings describing which VM sizes are allowed for front-ends.", + "type": "string", + "readOnly": true + }, + "allowedWorkerSizes": { + "description": "List of comma separated strings describing which VM sizes are allowed for workers.", + "type": "string", + "readOnly": true + }, + "maximumNumberOfMachines": { + "format": "int32", + "description": "Maximum number of VMs in the App Service Environment.", + "type": "integer", + "readOnly": true + }, + "vipMappings": { + "description": "Description of IP SSL mapping for the App Service Environment.", + "type": "array", + "items": { + "$ref": "#/definitions/VirtualIPMapping" + }, + "readOnly": true + }, + "environmentCapacities": { + "description": "Current total, used, and available worker capacities.", + "type": "array", + "items": { + "$ref": "#/definitions/StampCapacity" + }, + "readOnly": true + }, + "networkAccessControlList": { + "description": "Access control list for controlling traffic to the App Service Environment.", + "type": "array", + "items": { + "$ref": "#/definitions/NetworkAccessControlEntry" + } + }, + "environmentIsHealthy": { + "description": "True/false indicating whether the App Service Environment is healthy.", + "type": "boolean", + "readOnly": true + }, + "environmentStatus": { + "description": "Detailed message about with results of the last check of the App Service Environment.", + "type": "string", + "readOnly": true + }, + "resourceGroup": { + "description": "Resource group of the App Service Environment.", + "type": "string", + "readOnly": true + }, + "frontEndScaleFactor": { + "format": "int32", + "description": "Scale factor for front-ends.", + "type": "integer" + }, + "defaultFrontEndScaleFactor": { + "format": "int32", + "description": "Default Scale Factor for FrontEnds.", + "type": "integer", + "readOnly": true + }, + "apiManagementAccountId": { + "description": "API Management Account associated with the App Service Environment.", + "type": "string" + }, + "suspended": { + "description": "true if the App Service Environment is suspended; otherwise, false. The environment can be suspended, e.g. when the management endpoint is no longer available\n (most likely because NSG blocked the incoming traffic).", + "type": "boolean" + }, + "dynamicCacheEnabled": { + "description": "True/false indicating whether the App Service Environment is suspended. The environment can be suspended e.g. when the management endpoint is no longer available\n(most likely because NSG blocked the incoming traffic).", + "type": "boolean" + }, + "clusterSettings": { + "description": "Custom settings for changing the behavior of the App Service Environment.", + "type": "array", + "items": { + "$ref": "#/definitions/NameValuePair" + } + }, + "userWhitelistedIpRanges": { + "description": "User added ip ranges to whitelist on ASE db", + "type": "array", + "items": { + "type": "string" + } + } + } + }, "Capability": { "description": "Describes the capabilities/features allowed for a specific SKU.", "type": "object", @@ -513,6 +704,33 @@ } } }, + "DeploymentLocations": { + "description": "List of available locations (regions or App Service Environments) for\ndeployment of App Service resources.", + "type": "object", + "properties": { + "locations": { + "description": "Available regions.", + "type": "array", + "items": { + "$ref": "#/definitions/GeoRegion" + } + }, + "hostingEnvironments": { + "description": "Available App Service Environments with full descriptions of the environments.", + "type": "array", + "items": { + "$ref": "#/definitions/AppServiceEnvironment" + } + }, + "hostingEnvironmentDeploymentInfos": { + "description": "Available App Service Environments with basic information.", + "type": "array", + "items": { + "$ref": "#/definitions/HostingEnvironmentDeploymentInfo" + } + } + } + }, "GeoRegion": { "description": "Geographical region.", "type": "object", @@ -577,6 +795,14 @@ "description": "Service Tier of the resource SKU.", "type": "string" }, + "size": { + "description": "Size specifier of the resource SKU.", + "type": "string" + }, + "family": { + "description": "Family code of the resource SKU.", + "type": "string" + }, "capacity": { "$ref": "#/definitions/SkuCapacity", "description": "Min, max, and default scale values of the SKU." @@ -597,6 +823,65 @@ } } }, + "HostingEnvironmentDeploymentInfo": { + "description": "Information needed to create resources on an App Service Environment.", + "type": "object", + "properties": { + "name": { + "description": "Name of the App Service Environment.", + "type": "string" + }, + "location": { + "description": "Location of the App Service Environment.", + "type": "string" + } + } + }, + "NameValuePair": { + "description": "Name value pair.", + "type": "object", + "properties": { + "name": { + "description": "Pair name.", + "type": "string" + }, + "value": { + "description": "Pair value.", + "type": "string" + } + } + }, + "NetworkAccessControlEntry": { + "description": "Network access control entry.", + "type": "object", + "properties": { + "action": { + "description": "Action object.", + "enum": [ + "Permit", + "Deny" + ], + "type": "string", + "x-ms-enum": { + "name": "AccessControlEntryAction", + "modelAsString": false + } + }, + "description": { + "description": "Description.", + "type": "string" + }, + "order": { + "format": "int32", + "description": "Order of precedence.", + "type": "integer" + }, + "remoteSubnet": { + "description": "Remote subnet.", + "type": "string" + } + } + }, "PremierAddOnOffer": { "description": "Premier add-on offer.", "type": "object", @@ -873,6 +1158,77 @@ } } }, + "StampCapacity": { + "description": "Stamp capacity information.", + "type": "object", + "properties": { + "name": { + "description": "Name of the stamp.", + "type": "string" + }, + "availableCapacity": { + "format": "int64", + "description": "Available capacity (# of machines, bytes of storage etc...).", + "type": "integer" + }, + "totalCapacity": { + "format": "int64", + "description": "Total capacity (# of machines, bytes of storage etc...).", + "type": "integer" + }, + "unit": { + "description": "Name of the unit.", + "type": "string" + }, + "computeMode": { + "description": "Shared/dedicated workers.", + "enum": [ + "Shared", + "Dedicated", + "Dynamic" + ], + "type": "string", + "x-ms-enum": { + "name": "ComputeModeOptions", + "modelAsString": false + } + }, + "workerSize": { + "description": "Size of the machines.", + "enum": [ + "Default", + "Small", + "Medium", + "Large", + "D1", + "D2", + "D3" + ], + "type": "string", + "x-ms-enum": { + "name": "WorkerSizeOptions", + "modelAsString": false + } + }, + "workerSizeId": { + "format": "int32", + "description": "Size ID of machines: \n0 - Small\n1 - Medium\n2 - Large", + "type": "integer" + }, + "excludeFromCapacityAllocation": { + "description": "If true, it includes basic apps.\nBasic apps are not used for capacity allocation.", + "type": "boolean" + }, + "isApplicableForAllComputeModes": { + "description": "true if capacity is applicable for all apps; otherwise, false.", + "type": "boolean" + }, + "siteMode": { + "description": "Shared or Dedicated.", + "type": "string" + } + } + }, "User": { "description": "User crendentials used for publishing activity.", "type": "object", @@ -933,6 +1289,10 @@ "description": "true if App Service plan is for Linux workers; otherwise, false.", "type": "boolean" }, + "isSpot": { + "description": "true if App Service plan is for Spot instances; otherwise, false.", + "type": "boolean" + }, "capacity": { "format": "int32", "description": "Target capacity of the App Service plan (number of VM's).", @@ -1010,6 +1370,54 @@ } } }, + "VirtualIPMapping": { + "description": "Virtual IP mapping.", + "type": "object", + "properties": { + "virtualIP": { + "description": "Virtual IP address.", + "type": "string" + }, + "internalHttpPort": { + "format": "int32", + "description": "Internal HTTP port.", + "type": "integer" + }, + "internalHttpsPort": { + "format": "int32", + "description": "Internal HTTPS port.", + "type": "integer" + }, + "inUse": { + "description": "Is virtual IP mapping in use.", + "type": "boolean" + } + } + }, + "VirtualNetworkProfile": { + "description": "Specification for using a Virtual Network.", + "type": "object", + "properties": { + "id": { + "description": "Resource id of the Virtual Network.", + "type": "string" + }, + "name": { + "description": "Name of the Virtual Network (read-only).", + "type": "string", + "readOnly": true + }, + "type": { + "description": "Resource type of the Virtual Network (read-only).", + "type": "string", + "readOnly": true + }, + "subnet": { + "description": "Subnet within the Virtual Network.", + "type": "string" + } + } + }, "VnetParameters": { "description": "The required set of inputs to validate a VNET", "type": "object", @@ -1091,6 +1499,47 @@ "x-ms-client-flatten": true } } + }, + "WorkerPool": { + "description": "Worker pool of an App Service Environment.", + "type": "object", + "properties": { + "workerSizeId": { + "format": "int32", + "description": "Worker size ID for referencing this worker pool.", + "type": "integer" + }, + "computeMode": { + "description": "Shared or dedicated app hosting.", + "enum": [ + "Shared", + "Dedicated", + "Dynamic" + ], + "type": "string", + "x-ms-enum": { + "name": "ComputeModeOptions", + "modelAsString": false + } + }, + "workerSize": { + "description": "VM size of the worker pool instances.", + "type": "string" + }, + "workerCount": { + "format": "int32", + "description": "Number of instances in the worker pool.", + "type": "integer" + }, + "instanceNames": { + "description": "Names of all instances in the worker pool (read only).", + "type": "array", + "items": { + "type": "string" + }, + "readOnly": true + } + } } }, "parameters": { @@ -1106,11 +1555,11 @@ "in": "path", "description": "Name of the resource group to which the resource belongs.", "required": true, - "x-ms-parameter-location": "method", "type": "string", "maxLength": 90, "minLength": 1, - "pattern": "^[-\\w\\._\\(\\)]+[^\\.]$" + "pattern": "^[-\\w\\._\\(\\)]+[^\\.]$", + "x-ms-parameter-location": "method" }, "apiVersionParameter": { "name": "api-version", diff --git a/specification/web/resource-manager/Microsoft.Web/2016-08-01/WebApps.json b/specification/web/resource-manager/Microsoft.Web/2016-08-01/WebApps.json index 7a509833bbea..41b689fdaabc 100644 --- a/specification/web/resource-manager/Microsoft.Web/2016-08-01/WebApps.json +++ b/specification/web/resource-manager/Microsoft.Web/2016-08-01/WebApps.json @@ -8,6 +8,12 @@ "schemes": [ "https" ], + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], "paths": { "/subscriptions/{subscriptionId}/providers/Microsoft.Web/sites": { "get": { @@ -17,10 +23,6 @@ "summary": "Get all apps for a subscription.", "description": "Get all apps for a subscription.", "operationId": "WebApps_List", - "produces": [ - "application/json", - "text/json" - ], "parameters": [ { "$ref": "#/parameters/subscriptionIdParameter" @@ -50,10 +52,6 @@ "summary": "Gets all web, mobile, and API apps in the specified resource group.", "description": "Gets all web, mobile, and API apps in the specified resource group.", "operationId": "WebApps_ListByResourceGroup", - "produces": [ - "application/json", - "text/json" - ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -92,12 +90,6 @@ "summary": "Gets the details of a web, mobile, or API app.", "description": "Gets the details of a web, mobile, or API app.", "operationId": "WebApps_Get", - "produces": [ - "application/json", - "text/json", - "application/xml", - "text/xml" - ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -118,10 +110,13 @@ ], "responses": { "200": { - "description": "OK", + "description": "OK.", "schema": { "$ref": "#/definitions/Site" } + }, + "404": { + "description": "Not found." } } }, @@ -132,17 +127,6 @@ "summary": "Creates a new web, mobile, or API app in an existing resource group, or updates an existing app.", "description": "Creates a new web, mobile, or API app in an existing resource group, or updates an existing app.", "operationId": "WebApps_CreateOrUpdate", - "consumes": [ - "application/json", - "text/json", - "application/x-www-form-urlencoded" - ], - "produces": [ - "application/json", - "text/json", - "application/xml", - "text/xml" - ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -255,12 +239,88 @@ ], "responses": { "200": { - "description": "Succesfully deleted web app." + "description": "Successfully deleted web app." + }, + "204": { + "description": "Successfully deleted web app." }, "404": { "description": "Web app not found." } } + }, + "patch": { + "tags": [ + "WebApps" + ], + "summary": "Creates a new web, mobile, or API app in an existing resource group, or updates an existing app.", + "description": "Creates a new web, mobile, or API app in an existing resource group, or updates an existing app.", + "operationId": "WebApps_Update", + "parameters": [ + { + "$ref": "#/parameters/resourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Unique name of the app to create or update. To create or update a deployment slot, use the {slot} parameter.", + "required": true, + "type": "string" + }, + { + "name": "siteEnvelope", + "in": "body", + "description": "A JSON representation of the app properties. See example.", + "required": true, + "schema": { + "$ref": "#/definitions/SitePatchResource" + } + }, + { + "name": "skipDnsRegistration", + "in": "query", + "description": "If true web app hostname is not registered with DNS on creation. This parameter is\n only used for app creation.", + "type": "boolean" + }, + { + "name": "skipCustomDomainVerification", + "in": "query", + "description": "If true, custom (non *.azurewebsites.net) domains associated with web app are not verified.", + "type": "boolean" + }, + { + "name": "forceDnsRegistration", + "in": "query", + "description": "If true, web app hostname is force registered with DNS.", + "type": "boolean" + }, + { + "name": "ttlInSeconds", + "in": "query", + "description": "Time to live in seconds for web app's default domain name.", + "type": "string" + }, + { + "$ref": "#/parameters/subscriptionIdParameter" + }, + { + "$ref": "#/parameters/apiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK.", + "schema": { + "$ref": "#/definitions/Site" + } + }, + "202": { + "description": "Asynchronous operation in progress.", + "schema": { + "$ref": "#/definitions/Site" + } + } + } } }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/analyzeCustomHostname": { @@ -271,12 +331,6 @@ "summary": "Analyze a custom hostname.", "description": "Analyze a custom hostname.", "operationId": "WebApps_AnalyzeCustomHostname", - "produces": [ - "application/json", - "text/json", - "application/xml", - "text/xml" - ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -319,13 +373,6 @@ "summary": "Applies the configuration settings from the target slot onto the current slot.", "description": "Applies the configuration settings from the target slot onto the current slot.", "operationId": "WebApps_ApplySlotConfigToProduction", - "consumes": [ - "application/json", - "text/json", - "application/xml", - "text/xml", - "application/x-www-form-urlencoded" - ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -368,17 +415,6 @@ "summary": "Creates a backup of an app.", "description": "Creates a backup of an app.", "operationId": "WebApps_Backup", - "consumes": [ - "application/json", - "text/json", - "application/x-www-form-urlencoded" - ], - "produces": [ - "application/json", - "text/json", - "application/xml", - "text/xml" - ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -424,10 +460,6 @@ "summary": "Gets existing backups of an app.", "description": "Gets existing backups of an app.", "operationId": "WebApps_ListBackups", - "produces": [ - "application/json", - "text/json" - ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -467,17 +499,6 @@ "summary": "Discovers an existing app backup that can be restored from a blob in Azure storage.", "description": "Discovers an existing app backup that can be restored from a blob in Azure storage.", "operationId": "WebApps_DiscoverRestore", - "consumes": [ - "application/json", - "text/json", - "application/x-www-form-urlencoded" - ], - "produces": [ - "application/json", - "text/json", - "application/xml", - "text/xml" - ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -523,12 +544,6 @@ "summary": "Gets a backup of an app by its ID.", "description": "Gets a backup of an app by its ID.", "operationId": "WebApps_GetBackupStatus", - "produces": [ - "application/json", - "text/json", - "application/xml", - "text/xml" - ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -613,17 +628,6 @@ "summary": "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.", "description": "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.", "operationId": "WebApps_ListBackupStatusSecrets", - "consumes": [ - "application/json", - "text/json", - "application/x-www-form-urlencoded" - ], - "produces": [ - "application/json", - "text/json", - "application/xml", - "text/xml" - ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -676,17 +680,6 @@ "summary": "Restores a specific backup to another app (or deployment slot, if specified).", "description": "Restores a specific backup to another app (or deployment slot, if specified).", "operationId": "WebApps_Restore", - "consumes": [ - "application/json", - "text/json", - "application/x-www-form-urlencoded" - ], - "produces": [ - "application/json", - "text/json", - "application/xml", - "text/xml" - ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -740,10 +733,6 @@ "summary": "List the configurations of an app", "description": "List the configurations of an app", "operationId": "WebApps_ListConfigurations", - "produces": [ - "application/json", - "text/json" - ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -783,17 +772,6 @@ "summary": "Replaces the application settings of an app.", "description": "Replaces the application settings of an app.", "operationId": "WebApps_UpdateApplicationSettings", - "consumes": [ - "application/json", - "text/json", - "application/x-www-form-urlencoded" - ], - "produces": [ - "application/json", - "text/json", - "application/xml", - "text/xml" - ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -839,12 +817,6 @@ "summary": "Gets the application settings of an app.", "description": "Gets the application settings of an app.", "operationId": "WebApps_ListApplicationSettings", - "produces": [ - "application/json", - "text/json", - "application/xml", - "text/xml" - ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -881,17 +853,6 @@ "summary": "Updates the Authentication / Authorization settings associated with web app.", "description": "Updates the Authentication / Authorization settings associated with web app.", "operationId": "WebApps_UpdateAuthSettings", - "consumes": [ - "application/json", - "text/json", - "application/x-www-form-urlencoded" - ], - "produces": [ - "application/json", - "text/json", - "application/xml", - "text/xml" - ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -937,12 +898,6 @@ "summary": "Gets the Authentication/Authorization settings of an app.", "description": "Gets the Authentication/Authorization settings of an app.", "operationId": "WebApps_GetAuthSettings", - "produces": [ - "application/json", - "text/json", - "application/xml", - "text/xml" - ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -979,17 +934,6 @@ "summary": "Updates the backup configuration of an app.", "description": "Updates the backup configuration of an app.", "operationId": "WebApps_UpdateBackupConfiguration", - "consumes": [ - "application/json", - "text/json", - "application/x-www-form-urlencoded" - ], - "produces": [ - "application/json", - "text/json", - "application/xml", - "text/xml" - ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -1066,12 +1010,6 @@ "summary": "Gets the backup configuration of an app.", "description": "Gets the backup configuration of an app.", "operationId": "WebApps_GetBackupConfiguration", - "produces": [ - "application/json", - "text/json", - "application/xml", - "text/xml" - ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -1108,17 +1046,6 @@ "summary": "Replaces the connection strings of an app.", "description": "Replaces the connection strings of an app.", "operationId": "WebApps_UpdateConnectionStrings", - "consumes": [ - "application/json", - "text/json", - "application/x-www-form-urlencoded" - ], - "produces": [ - "application/json", - "text/json", - "application/xml", - "text/xml" - ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -1164,12 +1091,6 @@ "summary": "Gets the connection strings of an app.", "description": "Gets the connection strings of an app.", "operationId": "WebApps_ListConnectionStrings", - "produces": [ - "application/json", - "text/json", - "application/xml", - "text/xml" - ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -1206,12 +1127,6 @@ "summary": "Gets the logging configuration of an app.", "description": "Gets the logging configuration of an app.", "operationId": "WebApps_GetDiagnosticLogsConfiguration", - "produces": [ - "application/json", - "text/json", - "application/xml", - "text/xml" - ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -1246,17 +1161,6 @@ "summary": "Updates the logging configuration of an app.", "description": "Updates the logging configuration of an app.", "operationId": "WebApps_UpdateDiagnosticLogsConfig", - "consumes": [ - "application/json", - "text/json", - "application/x-www-form-urlencoded" - ], - "produces": [ - "application/json", - "text/json", - "application/xml", - "text/xml" - ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -1302,17 +1206,6 @@ "summary": "Replaces the metadata of an app.", "description": "Replaces the metadata of an app.", "operationId": "WebApps_UpdateMetadata", - "consumes": [ - "application/json", - "text/json", - "application/x-www-form-urlencoded" - ], - "produces": [ - "application/json", - "text/json", - "application/xml", - "text/xml" - ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -1358,12 +1251,6 @@ "summary": "Gets the metadata of an app.", "description": "Gets the metadata of an app.", "operationId": "WebApps_ListMetadata", - "produces": [ - "application/json", - "text/json", - "application/xml", - "text/xml" - ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -1400,12 +1287,6 @@ "summary": "Gets the Git/FTP publishing credentials of an app.", "description": "Gets the Git/FTP publishing credentials of an app.", "operationId": "WebApps_ListPublishingCredentials", - "produces": [ - "application/json", - "text/json", - "application/xml", - "text/xml" - ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -1443,17 +1324,6 @@ "summary": "Updates the Push settings associated with web app.", "description": "Updates the Push settings associated with web app.", "operationId": "WebApps_UpdateSitePushSettings", - "consumes": [ - "application/json", - "text/json", - "application/x-www-form-urlencoded" - ], - "produces": [ - "application/json", - "text/json", - "application/xml", - "text/xml" - ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -1499,12 +1369,6 @@ "summary": "Gets the Push settings associated with web app.", "description": "Gets the Push settings associated with web app.", "operationId": "WebApps_ListSitePushSettings", - "produces": [ - "application/json", - "text/json", - "application/xml", - "text/xml" - ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -1541,12 +1405,6 @@ "summary": "Gets the names of app settings and connection strings that stick to the slot (not swapped).", "description": "Gets the names of app settings and connection strings that stick to the slot (not swapped).", "operationId": "WebApps_ListSlotConfigurationNames", - "produces": [ - "application/json", - "text/json", - "application/xml", - "text/xml" - ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -1581,17 +1439,6 @@ "summary": "Updates the names of application settings and connection string that remain with the slot during swap operation.", "description": "Updates the names of application settings and connection string that remain with the slot during swap operation.", "operationId": "WebApps_UpdateSlotConfigurationNames", - "consumes": [ - "application/json", - "text/json", - "application/x-www-form-urlencoded" - ], - "produces": [ - "application/json", - "text/json", - "application/xml", - "text/xml" - ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -1637,12 +1484,6 @@ "summary": "Gets the configuration of an app, such as platform version and bitness, default documents, virtual applications, Always On, etc.", "description": "Gets the configuration of an app, such as platform version and bitness, default documents, virtual applications, Always On, etc.", "operationId": "WebApps_GetConfiguration", - "produces": [ - "application/json", - "text/json", - "application/xml", - "text/xml" - ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -1677,17 +1518,6 @@ "summary": "Updates the configuration of an app.", "description": "Updates the configuration of an app.", "operationId": "WebApps_CreateOrUpdateConfiguration", - "consumes": [ - "application/json", - "text/json", - "application/x-www-form-urlencoded" - ], - "produces": [ - "application/json", - "text/json", - "application/xml", - "text/xml" - ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -1731,17 +1561,6 @@ "summary": "Updates the configuration of an app.", "description": "Updates the configuration of an app.", "operationId": "WebApps_UpdateConfiguration", - "consumes": [ - "application/json", - "text/json", - "application/x-www-form-urlencoded" - ], - "produces": [ - "application/json", - "text/json", - "application/xml", - "text/xml" - ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -1787,12 +1606,6 @@ "summary": "Gets a list of web app configuration snapshots identifiers. Each element of the list contains a timestamp and the ID of the snapshot.", "description": "Gets a list of web app configuration snapshots identifiers. Each element of the list contains a timestamp and the ID of the snapshot.", "operationId": "WebApps_ListConfigurationSnapshotInfo", - "produces": [ - "application/json", - "text/json", - "application/xml", - "text/xml" - ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -1815,12 +1628,12 @@ "200": { "description": "OK", "schema": { - "type": "array", - "items": { - "$ref": "#/definitions/SiteConfigurationSnapshotInfo" - } + "$ref": "#/definitions/SiteConfigurationSnapshotInfoCollection" } } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" } } }, @@ -1832,12 +1645,6 @@ "summary": "Gets a snapshot of the configuration of an app at a previous point in time.", "description": "Gets a snapshot of the configuration of an app at a previous point in time.", "operationId": "WebApps_GetConfigurationSnapshot", - "produces": [ - "application/json", - "text/json", - "application/xml", - "text/xml" - ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -1913,6 +1720,84 @@ } } }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/containerlogs": { + "post": { + "tags": [ + "WebApps" + ], + "summary": "Gets the last lines of docker logs for the given site", + "description": "Gets the last lines of docker logs for the given site", + "operationId": "WebApps_GetWebSiteContainerLogs", + "parameters": [ + { + "$ref": "#/parameters/resourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of web app.", + "required": true, + "type": "string" + }, + { + "$ref": "#/parameters/subscriptionIdParameter" + }, + { + "$ref": "#/parameters/apiVersionParameter" + } + ], + "responses": { + "204": { + "description": "No Content" + }, + "200": { + "description": "OK", + "schema": { + "type": "file" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/containerlogs/zip/download": { + "post": { + "tags": [ + "WebApps" + ], + "summary": "Gets the ZIP archived docker log files for the given site", + "description": "Gets the ZIP archived docker log files for the given site", + "operationId": "WebApps_GetContainerLogsZip", + "parameters": [ + { + "$ref": "#/parameters/resourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of web app.", + "required": true, + "type": "string" + }, + { + "$ref": "#/parameters/subscriptionIdParameter" + }, + { + "$ref": "#/parameters/apiVersionParameter" + } + ], + "responses": { + "204": { + "description": "No Content" + }, + "200": { + "description": "OK", + "schema": { + "type": "file" + } + } + } + } + }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/continuouswebjobs": { "get": { "tags": [ @@ -1921,10 +1806,6 @@ "summary": "List continuous web jobs for an app, or a deployment slot.", "description": "List continuous web jobs for an app, or a deployment slot.", "operationId": "WebApps_ListContinuousWebJobs", - "produces": [ - "application/json", - "text/json" - ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -1964,12 +1845,6 @@ "summary": "Gets a continuous web job by its ID for an app, or a deployment slot.", "description": "Gets a continuous web job by its ID for an app, or a deployment slot.", "operationId": "WebApps_GetContinuousWebJob", - "produces": [ - "application/json", - "text/json", - "application/xml", - "text/xml" - ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -1981,16 +1856,10 @@ "required": true, "type": "string" }, - { - "name": "webJobId", - "in": "query", - "description": "Web job ID.", - "required": true, - "type": "string" - }, { "name": "webJobName", "in": "path", + "description": "Name of Web Job.", "required": true, "type": "string" }, @@ -2031,16 +1900,10 @@ "required": true, "type": "string" }, - { - "name": "webJobId", - "in": "query", - "description": "Web job ID.", - "required": true, - "type": "string" - }, { "name": "webJobName", "in": "path", + "description": "Name of Web Job.", "required": true, "type": "string" }, @@ -2080,16 +1943,10 @@ "required": true, "type": "string" }, - { - "name": "webJobId", - "in": "query", - "description": "Web job ID.", - "required": true, - "type": "string" - }, { "name": "webJobName", "in": "path", + "description": "Name of Web Job.", "required": true, "type": "string" }, @@ -2129,16 +1986,10 @@ "required": true, "type": "string" }, - { - "name": "webJobId", - "in": "query", - "description": "Web job ID.", - "required": true, - "type": "string" - }, { "name": "webJobName", "in": "path", + "description": "Name of Web Job.", "required": true, "type": "string" }, @@ -2167,10 +2018,6 @@ "summary": "List deployments for an app, or a deployment slot.", "description": "List deployments for an app, or a deployment slot.", "operationId": "WebApps_ListDeployments", - "produces": [ - "application/json", - "text/json" - ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -2210,12 +2057,6 @@ "summary": "Get a deployment by its ID for an app, or a deployment slot.", "description": "Get a deployment by its ID for an app, or a deployment slot.", "operationId": "WebApps_GetDeployment", - "produces": [ - "application/json", - "text/json", - "application/xml", - "text/xml" - ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -2257,17 +2098,6 @@ "summary": "Create a deployment for an app, or a deployment slot.", "description": "Create a deployment for an app, or a deployment slot.", "operationId": "WebApps_CreateDeployment", - "consumes": [ - "application/json", - "text/json", - "application/x-www-form-urlencoded" - ], - "produces": [ - "application/json", - "text/json", - "application/xml", - "text/xml" - ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -2361,12 +2191,6 @@ "summary": "List deployment log for specific deployment for an app, or a deployment slot.", "description": "List deployment log for specific deployment for an app, or a deployment slot.", "operationId": "WebApps_ListDeploymentLog", - "produces": [ - "application/json", - "text/json", - "application/xml", - "text/xml" - ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -2410,10 +2234,6 @@ "summary": "Lists ownership identifiers for domain associated with web app.", "description": "Lists ownership identifiers for domain associated with web app.", "operationId": "WebApps_ListDomainOwnershipIdentifiers", - "produces": [ - "application/json", - "text/json" - ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -2453,12 +2273,6 @@ "summary": "Get domain ownership identifier for web app.", "description": "Get domain ownership identifier for web app.", "operationId": "WebApps_GetDomainOwnershipIdentifier", - "produces": [ - "application/json", - "text/json", - "application/xml", - "text/xml" - ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -2500,17 +2314,6 @@ "summary": "Creates a domain ownership identifier for web app, or updates an existing ownership identifier.", "description": "Creates a domain ownership identifier for web app, or updates an existing ownership identifier.", "operationId": "WebApps_CreateOrUpdateDomainOwnershipIdentifier", - "consumes": [ - "application/json", - "text/json", - "application/x-www-form-urlencoded" - ], - "produces": [ - "application/json", - "text/json", - "application/xml", - "text/xml" - ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -2602,17 +2405,6 @@ "summary": "Creates a domain ownership identifier for web app, or updates an existing ownership identifier.", "description": "Creates a domain ownership identifier for web app, or updates an existing ownership identifier.", "operationId": "WebApps_UpdateDomainOwnershipIdentifier", - "consumes": [ - "application/json", - "text/json", - "application/x-www-form-urlencoded" - ], - "produces": [ - "application/json", - "text/json", - "application/xml", - "text/xml" - ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -2665,12 +2457,6 @@ "summary": "Get the status of the last MSDeploy operation.", "description": "Get the status of the last MSDeploy operation.", "operationId": "WebApps_GetMSDeployStatus", - "produces": [ - "application/json", - "text/json", - "application/xml", - "text/xml" - ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -2705,17 +2491,6 @@ "summary": "Invoke the MSDeploy web app extension.", "description": "Invoke the MSDeploy web app extension.", "operationId": "WebApps_CreateMSDeployOperation", - "consumes": [ - "application/json", - "text/json", - "application/x-www-form-urlencoded" - ], - "produces": [ - "application/json", - "text/json", - "application/xml", - "text/xml" - ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -2765,12 +2540,6 @@ "summary": "Get the MSDeploy Log for the last MSDeploy operation.", "description": "Get the MSDeploy Log for the last MSDeploy operation.", "operationId": "WebApps_GetMSDeployLog", - "produces": [ - "application/json", - "text/json", - "application/xml", - "text/xml" - ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -2810,10 +2579,6 @@ "summary": "List the functions for a web site, or a deployment slot.", "description": "List the functions for a web site, or a deployment slot.", "operationId": "WebApps_ListFunctions", - "produces": [ - "application/json", - "text/json" - ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -2856,12 +2621,6 @@ "summary": "Fetch a short lived token that can be exchanged for a master key.", "description": "Fetch a short lived token that can be exchanged for a master key.", "operationId": "WebApps_GetFunctionsAdminToken", - "produces": [ - "application/json", - "text/json", - "application/xml", - "text/xml" - ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -2898,12 +2657,6 @@ "summary": "Get function information by its ID for web site, or a deployment slot.", "description": "Get function information by its ID for web site, or a deployment slot.", "operationId": "WebApps_GetFunction", - "produces": [ - "application/json", - "text/json", - "application/xml", - "text/xml" - ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -2948,17 +2701,6 @@ "summary": "Create function for web site, or a deployment slot.", "description": "Create function for web site, or a deployment slot.", "operationId": "WebApps_CreateFunction", - "consumes": [ - "application/json", - "text/json", - "application/x-www-form-urlencoded" - ], - "produces": [ - "application/json", - "text/json", - "application/xml", - "text/xml" - ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -3053,12 +2795,6 @@ "summary": "Get function secrets for a function in a web site, or a deployment slot.", "description": "Get function secrets for a function in a web site, or a deployment slot.", "operationId": "WebApps_ListFunctionSecrets", - "produces": [ - "application/json", - "text/json", - "application/xml", - "text/xml" - ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -3102,10 +2838,6 @@ "summary": "Get hostname bindings for an app or a deployment slot.", "description": "Get hostname bindings for an app or a deployment slot.", "operationId": "WebApps_ListHostNameBindings", - "produces": [ - "application/json", - "text/json" - ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -3145,12 +2877,6 @@ "summary": "Get the named hostname binding for an app (or deployment slot, if specified).", "description": "Get the named hostname binding for an app (or deployment slot, if specified).", "operationId": "WebApps_GetHostNameBinding", - "produces": [ - "application/json", - "text/json", - "application/xml", - "text/xml" - ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -3192,17 +2918,6 @@ "summary": "Creates a hostname binding for an app.", "description": "Creates a hostname binding for an app.", "operationId": "WebApps_CreateOrUpdateHostNameBinding", - "consumes": [ - "application/json", - "text/json", - "application/x-www-form-urlencoded" - ], - "produces": [ - "application/json", - "text/json", - "application/xml", - "text/xml" - ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -3296,12 +3011,6 @@ "summary": "Retrieves a specific Service Bus Hybrid Connection used by this Web App.", "description": "Retrieves a specific Service Bus Hybrid Connection used by this Web App.", "operationId": "WebApps_GetHybridConnection", - "produces": [ - "application/json", - "text/json", - "application/xml", - "text/xml" - ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -3350,17 +3059,6 @@ "summary": "Creates a new Hybrid Connection using a Service Bus relay.", "description": "Creates a new Hybrid Connection using a Service Bus relay.", "operationId": "WebApps_CreateOrUpdateHybridConnection", - "consumes": [ - "application/json", - "text/json", - "application/x-www-form-urlencoded" - ], - "produces": [ - "application/json", - "text/json", - "application/xml", - "text/xml" - ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -3466,17 +3164,6 @@ "summary": "Creates a new Hybrid Connection using a Service Bus relay.", "description": "Creates a new Hybrid Connection using a Service Bus relay.", "operationId": "WebApps_UpdateHybridConnection", - "consumes": [ - "application/json", - "text/json", - "application/x-www-form-urlencoded" - ], - "produces": [ - "application/json", - "text/json", - "application/xml", - "text/xml" - ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -3536,12 +3223,6 @@ "summary": "Gets the send key name and value for a Hybrid Connection.", "description": "Gets the send key name and value for a Hybrid Connection.", "operationId": "WebApps_ListHybridConnectionKeys", - "produces": [ - "application/json", - "text/json", - "application/xml", - "text/xml" - ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -3592,12 +3273,6 @@ "summary": "Retrieves all Service Bus Hybrid Connections used by this Web App.", "description": "Retrieves all Service Bus Hybrid Connections used by this Web App.", "operationId": "WebApps_ListHybridConnections", - "produces": [ - "application/json", - "text/json", - "application/xml", - "text/xml" - ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -3634,12 +3309,6 @@ "summary": "Gets hybrid connections configured for an app (or deployment slot, if specified).", "description": "Gets hybrid connections configured for an app (or deployment slot, if specified).", "operationId": "WebApps_ListRelayServiceConnections", - "produces": [ - "application/json", - "text/json", - "application/xml", - "text/xml" - ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -3676,12 +3345,6 @@ "summary": "Gets a hybrid connection configuration by its name.", "description": "Gets a hybrid connection configuration by its name.", "operationId": "WebApps_GetRelayServiceConnection", - "produces": [ - "application/json", - "text/json", - "application/xml", - "text/xml" - ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -3723,17 +3386,6 @@ "summary": "Creates a new hybrid connection configuration (PUT), or updates an existing one (PATCH).", "description": "Creates a new hybrid connection configuration (PUT), or updates an existing one (PATCH).", "operationId": "WebApps_CreateOrUpdateRelayServiceConnection", - "consumes": [ - "application/json", - "text/json", - "application/x-www-form-urlencoded" - ], - "produces": [ - "application/json", - "text/json", - "application/xml", - "text/xml" - ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -3825,17 +3477,6 @@ "summary": "Creates a new hybrid connection configuration (PUT), or updates an existing one (PATCH).", "description": "Creates a new hybrid connection configuration (PUT), or updates an existing one (PATCH).", "operationId": "WebApps_UpdateRelayServiceConnection", - "consumes": [ - "application/json", - "text/json", - "application/x-www-form-urlencoded" - ], - "produces": [ - "application/json", - "text/json", - "application/xml", - "text/xml" - ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -3888,10 +3529,6 @@ "summary": "Gets all scale-out instances of an app.", "description": "Gets all scale-out instances of an app.", "operationId": "WebApps_ListInstanceIdentifiers", - "produces": [ - "application/json", - "text/json" - ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -3931,12 +3568,6 @@ "summary": "Get the status of the last MSDeploy operation.", "description": "Get the status of the last MSDeploy operation.", "operationId": "WebApps_GetInstanceMsDeployStatus", - "produces": [ - "application/json", - "text/json", - "application/xml", - "text/xml" - ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -3978,17 +3609,6 @@ "summary": "Invoke the MSDeploy web app extension.", "description": "Invoke the MSDeploy web app extension.", "operationId": "WebApps_CreateInstanceMSDeployOperation", - "consumes": [ - "application/json", - "text/json", - "application/x-www-form-urlencoded" - ], - "produces": [ - "application/json", - "text/json", - "application/xml", - "text/xml" - ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -4045,12 +3665,6 @@ "summary": "Get the MSDeploy Log for the last MSDeploy operation.", "description": "Get the MSDeploy Log for the last MSDeploy operation.", "operationId": "WebApps_GetInstanceMSDeployLog", - "produces": [ - "application/json", - "text/json", - "application/xml", - "text/xml" - ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -4097,10 +3711,6 @@ "summary": "Get list of processes for a web site, or a deployment slot, or for a specific scaled-out instance in a web site.", "description": "Get list of processes for a web site, or a deployment slot, or for a specific scaled-out instance in a web site.", "operationId": "WebApps_ListInstanceProcesses", - "produces": [ - "application/json", - "text/json" - ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -4150,12 +3760,6 @@ "summary": "Get process information by its ID for a specific scaled-out instance in a web site.", "description": "Get process information by its ID for a specific scaled-out instance in a web site.", "operationId": "WebApps_GetInstanceProcess", - "produces": [ - "application/json", - "text/json", - "application/xml", - "text/xml" - ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -4309,11 +3913,7 @@ ], "summary": "List module information for a process by its ID for a specific scaled-out instance in a web site.", "description": "List module information for a process by its ID for a specific scaled-out instance in a web site.", - "operationId": "WebApps_ListInstanceProcessModules", - "produces": [ - "application/json", - "text/json" - ], + "operationId": "WebApps_ListInstanceProcessModules", "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -4362,7 +3962,7 @@ } } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/instances/{instanceId}/processes/{processId}/modules/{base_address}": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/instances/{instanceId}/processes/{processId}/modules/{baseAddress}": { "get": { "tags": [ "WebApps" @@ -4370,12 +3970,6 @@ "summary": "Get process information by its ID for a specific scaled-out instance in a web site.", "description": "Get process information by its ID for a specific scaled-out instance in a web site.", "operationId": "WebApps_GetInstanceProcessModule", - "produces": [ - "application/json", - "text/json", - "application/xml", - "text/xml" - ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -4396,7 +3990,7 @@ }, { "name": "baseAddress", - "in": "query", + "in": "path", "description": "Module base address.", "required": true, "type": "string" @@ -4408,12 +4002,6 @@ "required": true, "type": "string" }, - { - "name": "base_address", - "in": "path", - "required": true, - "type": "string" - }, { "$ref": "#/parameters/subscriptionIdParameter" }, @@ -4429,7 +4017,7 @@ } }, "404": { - "description": "Process with the specified ID is not running, or a module with the specified base_address was not found." + "description": "Process with the specified ID is not running, or a module with the specified baseAddress was not found." } } } @@ -4442,10 +4030,6 @@ "summary": "List the threads in a process by its ID for a specific scaled-out instance in a web site.", "description": "List the threads in a process by its ID for a specific scaled-out instance in a web site.", "operationId": "WebApps_ListInstanceProcessThreads", - "produces": [ - "application/json", - "text/json" - ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -4502,12 +4086,6 @@ "summary": "Get thread information by Thread ID for a specific process, in a specific scaled-out instance in a web site.", "description": "Get thread information by Thread ID for a specific process, in a specific scaled-out instance in a web site.", "operationId": "WebApps_GetInstanceProcessThread", - "produces": [ - "application/json", - "text/json", - "application/xml", - "text/xml" - ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -4568,12 +4146,6 @@ "summary": "Shows whether an app can be cloned to another resource group or subscription.", "description": "Shows whether an app can be cloned to another resource group or subscription.", "operationId": "WebApps_IsCloneable", - "produces": [ - "application/json", - "text/json", - "application/xml", - "text/xml" - ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -4610,12 +4182,6 @@ "summary": "This is to allow calling via powershell and ARM template.", "description": "This is to allow calling via powershell and ARM template.", "operationId": "WebApps_ListSyncFunctionTriggers", - "produces": [ - "application/json", - "text/json", - "application/xml", - "text/xml" - ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -4652,10 +4218,6 @@ "summary": "Gets all metric definitions of an app (or deployment slot, if specified).", "description": "Gets all metric definitions of an app (or deployment slot, if specified).", "operationId": "WebApps_ListMetricDefinitions", - "produces": [ - "application/json", - "text/json" - ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -4695,10 +4257,6 @@ "summary": "Gets performance metrics of an app (or deployment slot, if specified).", "description": "Gets performance metrics of an app (or deployment slot, if specified).", "operationId": "WebApps_ListMetrics", - "produces": [ - "application/json", - "text/json" - ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -4720,8 +4278,8 @@ "name": "$filter", "in": "query", "description": "Return only metrics specified in the filter (using OData syntax). For 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]'.", - "x-ms-skip-url-encoding": true, - "type": "string" + "type": "string", + "x-ms-skip-url-encoding": true }, { "$ref": "#/parameters/subscriptionIdParameter" @@ -4751,17 +4309,6 @@ "summary": "Restores a web app.", "description": "Restores a web app.", "operationId": "WebApps_MigrateStorage", - "consumes": [ - "application/json", - "text/json", - "application/x-www-form-urlencoded" - ], - "produces": [ - "application/json", - "text/json", - "application/xml", - "text/xml" - ], "parameters": [ { "name": "subscriptionName", @@ -4815,17 +4362,6 @@ "summary": "Migrates a local (in-app) MySql database to a remote MySql database.", "description": "Migrates a local (in-app) MySql database to a remote MySql database.", "operationId": "WebApps_MigrateMySql", - "consumes": [ - "application/json", - "text/json", - "application/x-www-form-urlencoded" - ], - "produces": [ - "application/json", - "text/json", - "application/xml", - "text/xml" - ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -4872,12 +4408,6 @@ "summary": "Returns the status of MySql in app migration, if one is active, and whether or not MySql in app is enabled", "description": "Returns the status of MySql in app migration, if one is active, and whether or not MySql in app is enabled", "operationId": "WebApps_GetMigrateMySqlStatus", - "produces": [ - "application/json", - "text/json", - "application/xml", - "text/xml" - ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -4914,12 +4444,6 @@ "summary": "Gets all network features used by the app (or deployment slot, if specified).", "description": "Gets all network features used by the app (or deployment slot, if specified).", "operationId": "WebApps_ListNetworkFeatures", - "produces": [ - "application/json", - "text/json", - "application/xml", - "text/xml" - ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -4966,12 +4490,6 @@ "summary": "Start capturing network packets for the site.", "description": "Start capturing network packets for the site.", "operationId": "WebApps_StartWebSiteNetworkTrace", - "produces": [ - "application/json", - "text/json", - "application/xml", - "text/xml" - ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -5028,12 +4546,6 @@ "summary": "Stop ongoing capturing network packets for the site.", "description": "Stop ongoing capturing network packets for the site.", "operationId": "WebApps_StopWebSiteNetworkTrace", - "produces": [ - "application/json", - "text/json", - "application/xml", - "text/xml" - ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -5089,8 +4601,8 @@ } ], "responses": { - "204": { - "description": "No Content" + "200": { + "description": "Successfully generate new password." } } } @@ -5103,10 +4615,6 @@ "summary": "Gets perfmon counters for web app.", "description": "Gets perfmon counters for web app.", "operationId": "WebApps_ListPerfMonCounters", - "produces": [ - "application/json", - "text/json" - ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -5122,8 +4630,8 @@ "name": "$filter", "in": "query", "description": "Return only usages/metrics specified in the filter. Filter conforms to odata syntax. Example: $filter=(startTime eq '2014-01-01T00:00:00Z' and endTime eq '2014-12-31T23:59:59Z' and timeGrain eq duration'[Hour|Minute|Day]'.", - "x-ms-skip-url-encoding": true, - "type": "string" + "type": "string", + "x-ms-skip-url-encoding": true }, { "$ref": "#/parameters/subscriptionIdParameter" @@ -5153,12 +4661,6 @@ "summary": "Gets web app's event logs.", "description": "Gets web app's event logs.", "operationId": "WebApps_GetSitePhpErrorLogFlag", - "produces": [ - "application/json", - "text/json", - "application/xml", - "text/xml" - ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -5195,12 +4697,6 @@ "summary": "Gets the premier add-ons of an app.", "description": "Gets the premier add-ons of an app.", "operationId": "WebApps_ListPremierAddOns", - "produces": [ - "application/json", - "text/json", - "application/xml", - "text/xml" - ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -5237,12 +4733,6 @@ "summary": "Gets a named add-on of an app.", "description": "Gets a named add-on of an app.", "operationId": "WebApps_GetPremierAddOn", - "produces": [ - "application/json", - "text/json", - "application/xml", - "text/xml" - ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -5284,17 +4774,6 @@ "summary": "Updates a named add-on of an app.", "description": "Updates a named add-on of an app.", "operationId": "WebApps_AddPremierAddOn", - "consumes": [ - "application/json", - "text/json", - "application/x-www-form-urlencoded" - ], - "produces": [ - "application/json", - "text/json", - "application/xml", - "text/xml" - ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -5385,10 +4864,6 @@ "summary": "Get list of processes for a web site, or a deployment slot, or for a specific scaled-out instance in a web site.", "description": "Get list of processes for a web site, or a deployment slot, or for a specific scaled-out instance in a web site.", "operationId": "WebApps_ListProcesses", - "produces": [ - "application/json", - "text/json" - ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -5431,12 +4906,6 @@ "summary": "Get process information by its ID for a specific scaled-out instance in a web site.", "description": "Get process information by its ID for a specific scaled-out instance in a web site.", "operationId": "WebApps_GetProcess", - "produces": [ - "application/json", - "text/json", - "application/xml", - "text/xml" - ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -5570,10 +5039,6 @@ "summary": "List module information for a process by its ID for a specific scaled-out instance in a web site.", "description": "List module information for a process by its ID for a specific scaled-out instance in a web site.", "operationId": "WebApps_ListProcessModules", - "produces": [ - "application/json", - "text/json" - ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -5615,7 +5080,7 @@ } } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/processes/{processId}/modules/{base_address}": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/processes/{processId}/modules/{baseAddress}": { "get": { "tags": [ "WebApps" @@ -5623,12 +5088,6 @@ "summary": "Get process information by its ID for a specific scaled-out instance in a web site.", "description": "Get process information by its ID for a specific scaled-out instance in a web site.", "operationId": "WebApps_GetProcessModule", - "produces": [ - "application/json", - "text/json", - "application/xml", - "text/xml" - ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -5649,14 +5108,8 @@ }, { "name": "baseAddress", - "in": "query", - "description": "Module base address.", - "required": true, - "type": "string" - }, - { - "name": "base_address", "in": "path", + "description": "Module base address.", "required": true, "type": "string" }, @@ -5675,7 +5128,7 @@ } }, "404": { - "description": "Process with the specified ID is not running, or a module with the specified base_address was not found." + "description": "Process with the specified ID is not running, or a module with the specified baseAddress was not found." } } } @@ -5688,10 +5141,6 @@ "summary": "List the threads in a process by its ID for a specific scaled-out instance in a web site.", "description": "List the threads in a process by its ID for a specific scaled-out instance in a web site.", "operationId": "WebApps_ListProcessThreads", - "produces": [ - "application/json", - "text/json" - ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -5741,12 +5190,6 @@ "summary": "Get thread information by Thread ID for a specific process, in a specific scaled-out instance in a web site.", "description": "Get thread information by Thread ID for a specific process, in a specific scaled-out instance in a web site.", "operationId": "WebApps_GetProcessThread", - "produces": [ - "application/json", - "text/json", - "application/xml", - "text/xml" - ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -5800,10 +5243,6 @@ "summary": "Get public certificates for an app or a deployment slot.", "description": "Get public certificates for an app or a deployment slot.", "operationId": "WebApps_ListPublicCertificates", - "produces": [ - "application/json", - "text/json" - ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -5843,12 +5282,6 @@ "summary": "Get the named public certificate for an app (or deployment slot, if specified).", "description": "Get the named public certificate for an app (or deployment slot, if specified).", "operationId": "WebApps_GetPublicCertificate", - "produces": [ - "application/json", - "text/json", - "application/xml", - "text/xml" - ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -5890,17 +5323,6 @@ "summary": "Creates a hostname binding for an app.", "description": "Creates a hostname binding for an app.", "operationId": "WebApps_CreateOrUpdatePublicCertificate", - "consumes": [ - "application/json", - "text/json", - "application/x-www-form-urlencoded" - ], - "produces": [ - "application/json", - "text/json", - "application/xml", - "text/xml" - ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -5994,18 +5416,8 @@ "summary": "Gets the publishing profile for an app (or deployment slot, if specified).", "description": "Gets the publishing profile for an app (or deployment slot, if specified).", "operationId": "WebApps_ListPublishingProfileXmlWithSecrets", - "consumes": [ - "application/json", - "text/json", - "application/xml", - "text/xml", - "application/x-www-form-urlencoded" - ], "produces": [ - "application/json", - "text/json", - "application/xml", - "text/xml" + "application/xml" ], "parameters": [ { @@ -6052,11 +5464,6 @@ "summary": "Recovers a web app to a previous snapshot.", "description": "Recovers a web app to a previous snapshot.", "operationId": "WebApps_Recover", - "consumes": [ - "application/json", - "text/json", - "application/x-www-form-urlencoded" - ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -6178,10 +5585,6 @@ "summary": "Get list of siteextensions for a web site, or a deployment slot.", "description": "Get list of siteextensions for a web site, or a deployment slot.", "operationId": "WebApps_ListSiteExtensions", - "produces": [ - "application/json", - "text/json" - ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -6216,7 +5619,7 @@ } } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/siteextensions/{extensionName}": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/siteextensions/{siteExtensionId}": { "get": { "tags": [ "WebApps" @@ -6224,12 +5627,6 @@ "summary": "Get site extension information by its ID for a web site, or a deployment slot.", "description": "Get site extension information by its ID for a web site, or a deployment slot.", "operationId": "WebApps_GetSiteExtension", - "produces": [ - "application/json", - "text/json", - "application/xml", - "text/xml" - ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -6243,14 +5640,8 @@ }, { "name": "siteExtensionId", - "in": "query", - "description": "Site extension name.", - "required": true, - "type": "string" - }, - { - "name": "extensionName", "in": "path", + "description": "Site extension name.", "required": true, "type": "string" }, @@ -6280,12 +5671,6 @@ "summary": "Install site extension on a web site, or a deployment slot.", "description": "Install site extension on a web site, or a deployment slot.", "operationId": "WebApps_InstallSiteExtension", - "produces": [ - "application/json", - "text/json", - "application/xml", - "text/xml" - ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -6299,14 +5684,8 @@ }, { "name": "siteExtensionId", - "in": "query", - "description": "Site extension name.", - "required": true, - "type": "string" - }, - { - "name": "extensionName", "in": "path", + "description": "Site extension name.", "required": true, "type": "string" }, @@ -6356,14 +5735,8 @@ }, { "name": "siteExtensionId", - "in": "query", - "description": "Site extension name.", - "required": true, - "type": "string" - }, - { - "name": "extensionName", "in": "path", + "description": "Site extension name.", "required": true, "type": "string" }, @@ -6392,10 +5765,6 @@ "summary": "Gets an app's deployment slots.", "description": "Gets an app's deployment slots.", "operationId": "WebApps_ListSlots", - "produces": [ - "application/json", - "text/json" - ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -6435,12 +5804,6 @@ "summary": "Gets the details of a web, mobile, or API app.", "description": "Gets the details of a web, mobile, or API app.", "operationId": "WebApps_GetSlot", - "produces": [ - "application/json", - "text/json", - "application/xml", - "text/xml" - ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -6468,31 +5831,166 @@ ], "responses": { "200": { - "description": "OK", + "description": "OK.", + "schema": { + "$ref": "#/definitions/Site" + } + }, + "404": { + "description": "Not found." + } + } + }, + "put": { + "tags": [ + "WebApps" + ], + "summary": "Creates a new web, mobile, or API app in an existing resource group, or updates an existing app.", + "description": "Creates a new web, mobile, or API app in an existing resource group, or updates an existing app.", + "operationId": "WebApps_CreateOrUpdateSlot", + "parameters": [ + { + "$ref": "#/parameters/resourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Unique name of the app to create or update. To create or update a deployment slot, use the {slot} parameter.", + "required": true, + "type": "string" + }, + { + "name": "siteEnvelope", + "in": "body", + "description": "A JSON representation of the app properties. See example.", + "required": true, + "schema": { + "$ref": "#/definitions/Site" + } + }, + { + "name": "slot", + "in": "path", + "description": "Name of the deployment slot to create or update. By default, this API attempts to create or modify the production slot.", + "required": true, + "type": "string" + }, + { + "name": "skipDnsRegistration", + "in": "query", + "description": "If true web app hostname is not registered with DNS on creation. This parameter is\n only used for app creation.", + "type": "boolean" + }, + { + "name": "skipCustomDomainVerification", + "in": "query", + "description": "If true, custom (non *.azurewebsites.net) domains associated with web app are not verified.", + "type": "boolean" + }, + { + "name": "forceDnsRegistration", + "in": "query", + "description": "If true, web app hostname is force registered with DNS.", + "type": "boolean" + }, + { + "name": "ttlInSeconds", + "in": "query", + "description": "Time to live in seconds for web app's default domain name.", + "type": "string" + }, + { + "$ref": "#/parameters/subscriptionIdParameter" + }, + { + "$ref": "#/parameters/apiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK.", + "schema": { + "$ref": "#/definitions/Site" + } + }, + "202": { + "description": "Asynchronous operation in progress.", "schema": { "$ref": "#/definitions/Site" } } + }, + "x-ms-long-running-operation": true + }, + "delete": { + "tags": [ + "WebApps" + ], + "summary": "Deletes a web, mobile, or API app, or one of the deployment slots.", + "description": "Deletes a web, mobile, or API app, or one of the deployment slots.", + "operationId": "WebApps_DeleteSlot", + "parameters": [ + { + "$ref": "#/parameters/resourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of the app to delete.", + "required": true, + "type": "string" + }, + { + "name": "slot", + "in": "path", + "description": "Name of the deployment slot to delete. By default, the API deletes the production slot.", + "required": true, + "type": "string" + }, + { + "name": "deleteMetrics", + "in": "query", + "description": "If true, web app metrics are also deleted.", + "type": "boolean" + }, + { + "name": "deleteEmptyServerFarm", + "in": "query", + "description": "Specify true if the App Service plan will be empty after app deletion and you want to delete the empty App Service plan. By default, the empty App Service plan is not deleted.", + "type": "boolean" + }, + { + "name": "skipDnsRegistration", + "in": "query", + "description": "If true, DNS registration is skipped.", + "type": "boolean" + }, + { + "$ref": "#/parameters/subscriptionIdParameter" + }, + { + "$ref": "#/parameters/apiVersionParameter" + } + ], + "responses": { + "200": { + "description": "Successfully deleted web app." + }, + "204": { + "description": "Successfully deleted web app." + }, + "404": { + "description": "Web app not found." + } } }, - "put": { + "patch": { "tags": [ "WebApps" ], "summary": "Creates a new web, mobile, or API app in an existing resource group, or updates an existing app.", "description": "Creates a new web, mobile, or API app in an existing resource group, or updates an existing app.", - "operationId": "WebApps_CreateOrUpdateSlot", - "consumes": [ - "application/json", - "text/json", - "application/x-www-form-urlencoded" - ], - "produces": [ - "application/json", - "text/json", - "application/xml", - "text/xml" - ], + "operationId": "WebApps_UpdateSlot", "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -6510,7 +6008,7 @@ "description": "A JSON representation of the app properties. See example.", "required": true, "schema": { - "$ref": "#/definitions/Site" + "$ref": "#/definitions/SitePatchResource" } }, { @@ -6564,66 +6062,6 @@ "$ref": "#/definitions/Site" } } - }, - "x-ms-long-running-operation": true - }, - "delete": { - "tags": [ - "WebApps" - ], - "summary": "Deletes a web, mobile, or API app, or one of the deployment slots.", - "description": "Deletes a web, mobile, or API app, or one of the deployment slots.", - "operationId": "WebApps_DeleteSlot", - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "Name of the app to delete.", - "required": true, - "type": "string" - }, - { - "name": "slot", - "in": "path", - "description": "Name of the deployment slot to delete. By default, the API deletes the production slot.", - "required": true, - "type": "string" - }, - { - "name": "deleteMetrics", - "in": "query", - "description": "If true, web app metrics are also deleted.", - "type": "boolean" - }, - { - "name": "deleteEmptyServerFarm", - "in": "query", - "description": "Specify true if the App Service plan will be empty after app deletion and you want to delete the empty App Service plan. By default, the empty App Service plan is not deleted.", - "type": "boolean" - }, - { - "name": "skipDnsRegistration", - "in": "query", - "description": "If true, DNS registration is skipped.", - "type": "boolean" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "Succesfully deleted web app." - }, - "404": { - "description": "Web app not found." - } } } }, @@ -6635,12 +6073,6 @@ "summary": "Analyze a custom hostname.", "description": "Analyze a custom hostname.", "operationId": "WebApps_AnalyzeCustomHostnameSlot", - "produces": [ - "application/json", - "text/json", - "application/xml", - "text/xml" - ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -6690,13 +6122,6 @@ "summary": "Applies the configuration settings from the target slot onto the current slot.", "description": "Applies the configuration settings from the target slot onto the current slot.", "operationId": "WebApps_ApplySlotConfigurationSlot", - "consumes": [ - "application/json", - "text/json", - "application/xml", - "text/xml", - "application/x-www-form-urlencoded" - ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -6746,17 +6171,6 @@ "summary": "Creates a backup of an app.", "description": "Creates a backup of an app.", "operationId": "WebApps_BackupSlot", - "consumes": [ - "application/json", - "text/json", - "application/x-www-form-urlencoded" - ], - "produces": [ - "application/json", - "text/json", - "application/xml", - "text/xml" - ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -6809,10 +6223,6 @@ "summary": "Gets existing backups of an app.", "description": "Gets existing backups of an app.", "operationId": "WebApps_ListBackupsSlot", - "produces": [ - "application/json", - "text/json" - ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -6859,17 +6269,6 @@ "summary": "Discovers an existing app backup that can be restored from a blob in Azure storage.", "description": "Discovers an existing app backup that can be restored from a blob in Azure storage.", "operationId": "WebApps_DiscoverRestoreSlot", - "consumes": [ - "application/json", - "text/json", - "application/x-www-form-urlencoded" - ], - "produces": [ - "application/json", - "text/json", - "application/xml", - "text/xml" - ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -6922,12 +6321,6 @@ "summary": "Gets a backup of an app by its ID.", "description": "Gets a backup of an app by its ID.", "operationId": "WebApps_GetBackupStatusSlot", - "produces": [ - "application/json", - "text/json", - "application/xml", - "text/xml" - ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -7026,17 +6419,6 @@ "summary": "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.", "description": "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.", "operationId": "WebApps_ListBackupStatusSecretsSlot", - "consumes": [ - "application/json", - "text/json", - "application/x-www-form-urlencoded" - ], - "produces": [ - "application/json", - "text/json", - "application/xml", - "text/xml" - ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -7096,17 +6478,6 @@ "summary": "Restores a specific backup to another app (or deployment slot, if specified).", "description": "Restores a specific backup to another app (or deployment slot, if specified).", "operationId": "WebApps_RestoreSlot", - "consumes": [ - "application/json", - "text/json", - "application/x-www-form-urlencoded" - ], - "produces": [ - "application/json", - "text/json", - "application/xml", - "text/xml" - ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -7167,10 +6538,6 @@ "summary": "List the configurations of an app", "description": "List the configurations of an app", "operationId": "WebApps_ListConfigurationsSlot", - "produces": [ - "application/json", - "text/json" - ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -7217,17 +6584,6 @@ "summary": "Replaces the application settings of an app.", "description": "Replaces the application settings of an app.", "operationId": "WebApps_UpdateApplicationSettingsSlot", - "consumes": [ - "application/json", - "text/json", - "application/x-www-form-urlencoded" - ], - "produces": [ - "application/json", - "text/json", - "application/xml", - "text/xml" - ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -7280,12 +6636,6 @@ "summary": "Gets the application settings of an app.", "description": "Gets the application settings of an app.", "operationId": "WebApps_ListApplicationSettingsSlot", - "produces": [ - "application/json", - "text/json", - "application/xml", - "text/xml" - ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -7329,17 +6679,6 @@ "summary": "Updates the Authentication / Authorization settings associated with web app.", "description": "Updates the Authentication / Authorization settings associated with web app.", "operationId": "WebApps_UpdateAuthSettingsSlot", - "consumes": [ - "application/json", - "text/json", - "application/x-www-form-urlencoded" - ], - "produces": [ - "application/json", - "text/json", - "application/xml", - "text/xml" - ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -7392,12 +6731,6 @@ "summary": "Gets the Authentication/Authorization settings of an app.", "description": "Gets the Authentication/Authorization settings of an app.", "operationId": "WebApps_GetAuthSettingsSlot", - "produces": [ - "application/json", - "text/json", - "application/xml", - "text/xml" - ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -7441,17 +6774,6 @@ "summary": "Updates the backup configuration of an app.", "description": "Updates the backup configuration of an app.", "operationId": "WebApps_UpdateBackupConfigurationSlot", - "consumes": [ - "application/json", - "text/json", - "application/x-www-form-urlencoded" - ], - "produces": [ - "application/json", - "text/json", - "application/xml", - "text/xml" - ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -7542,12 +6864,6 @@ "summary": "Gets the backup configuration of an app.", "description": "Gets the backup configuration of an app.", "operationId": "WebApps_GetBackupConfigurationSlot", - "produces": [ - "application/json", - "text/json", - "application/xml", - "text/xml" - ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -7591,17 +6907,6 @@ "summary": "Replaces the connection strings of an app.", "description": "Replaces the connection strings of an app.", "operationId": "WebApps_UpdateConnectionStringsSlot", - "consumes": [ - "application/json", - "text/json", - "application/x-www-form-urlencoded" - ], - "produces": [ - "application/json", - "text/json", - "application/xml", - "text/xml" - ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -7654,12 +6959,6 @@ "summary": "Gets the connection strings of an app.", "description": "Gets the connection strings of an app.", "operationId": "WebApps_ListConnectionStringsSlot", - "produces": [ - "application/json", - "text/json", - "application/xml", - "text/xml" - ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -7703,12 +7002,6 @@ "summary": "Gets the logging configuration of an app.", "description": "Gets the logging configuration of an app.", "operationId": "WebApps_GetDiagnosticLogsConfigurationSlot", - "produces": [ - "application/json", - "text/json", - "application/xml", - "text/xml" - ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -7750,17 +7043,6 @@ "summary": "Updates the logging configuration of an app.", "description": "Updates the logging configuration of an app.", "operationId": "WebApps_UpdateDiagnosticLogsConfigSlot", - "consumes": [ - "application/json", - "text/json", - "application/x-www-form-urlencoded" - ], - "produces": [ - "application/json", - "text/json", - "application/xml", - "text/xml" - ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -7813,17 +7095,6 @@ "summary": "Replaces the metadata of an app.", "description": "Replaces the metadata of an app.", "operationId": "WebApps_UpdateMetadataSlot", - "consumes": [ - "application/json", - "text/json", - "application/x-www-form-urlencoded" - ], - "produces": [ - "application/json", - "text/json", - "application/xml", - "text/xml" - ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -7876,12 +7147,6 @@ "summary": "Gets the metadata of an app.", "description": "Gets the metadata of an app.", "operationId": "WebApps_ListMetadataSlot", - "produces": [ - "application/json", - "text/json", - "application/xml", - "text/xml" - ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -7925,12 +7190,6 @@ "summary": "Gets the Git/FTP publishing credentials of an app.", "description": "Gets the Git/FTP publishing credentials of an app.", "operationId": "WebApps_ListPublishingCredentialsSlot", - "produces": [ - "application/json", - "text/json", - "application/xml", - "text/xml" - ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -7975,17 +7234,6 @@ "summary": "Updates the Push settings associated with web app.", "description": "Updates the Push settings associated with web app.", "operationId": "WebApps_UpdateSitePushSettingsSlot", - "consumes": [ - "application/json", - "text/json", - "application/x-www-form-urlencoded" - ], - "produces": [ - "application/json", - "text/json", - "application/xml", - "text/xml" - ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -8038,12 +7286,6 @@ "summary": "Gets the Push settings associated with web app.", "description": "Gets the Push settings associated with web app.", "operationId": "WebApps_ListSitePushSettingsSlot", - "produces": [ - "application/json", - "text/json", - "application/xml", - "text/xml" - ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -8087,12 +7329,6 @@ "summary": "Gets the configuration of an app, such as platform version and bitness, default documents, virtual applications, Always On, etc.", "description": "Gets the configuration of an app, such as platform version and bitness, default documents, virtual applications, Always On, etc.", "operationId": "WebApps_GetConfigurationSlot", - "produces": [ - "application/json", - "text/json", - "application/xml", - "text/xml" - ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -8134,17 +7370,6 @@ "summary": "Updates the configuration of an app.", "description": "Updates the configuration of an app.", "operationId": "WebApps_CreateOrUpdateConfigurationSlot", - "consumes": [ - "application/json", - "text/json", - "application/x-www-form-urlencoded" - ], - "produces": [ - "application/json", - "text/json", - "application/xml", - "text/xml" - ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -8195,17 +7420,6 @@ "summary": "Updates the configuration of an app.", "description": "Updates the configuration of an app.", "operationId": "WebApps_UpdateConfigurationSlot", - "consumes": [ - "application/json", - "text/json", - "application/x-www-form-urlencoded" - ], - "produces": [ - "application/json", - "text/json", - "application/xml", - "text/xml" - ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -8258,12 +7472,6 @@ "summary": "Gets a list of web app configuration snapshots identifiers. Each element of the list contains a timestamp and the ID of the snapshot.", "description": "Gets a list of web app configuration snapshots identifiers. Each element of the list contains a timestamp and the ID of the snapshot.", "operationId": "WebApps_ListConfigurationSnapshotInfoSlot", - "produces": [ - "application/json", - "text/json", - "application/xml", - "text/xml" - ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -8293,12 +7501,12 @@ "200": { "description": "OK", "schema": { - "type": "array", - "items": { - "$ref": "#/definitions/SiteConfigurationSnapshotInfo" - } + "$ref": "#/definitions/SiteConfigurationSnapshotInfoCollection" } } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" } } }, @@ -8310,12 +7518,6 @@ "summary": "Gets a snapshot of the configuration of an app at a previous point in time.", "description": "Gets a snapshot of the configuration of an app at a previous point in time.", "operationId": "WebApps_GetConfigurationSnapshotSlot", - "produces": [ - "application/json", - "text/json", - "application/xml", - "text/xml" - ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -8405,6 +7607,98 @@ } } }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/containerlogs": { + "post": { + "tags": [ + "WebApps" + ], + "summary": "Gets the last lines of docker logs for the given site", + "description": "Gets the last lines of docker logs for the given site", + "operationId": "WebApps_GetWebSiteContainerLogsSlot", + "parameters": [ + { + "$ref": "#/parameters/resourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of web app.", + "required": true, + "type": "string" + }, + { + "name": "slot", + "in": "path", + "description": "Name of web app slot. If not specified then will default to production slot.", + "required": true, + "type": "string" + }, + { + "$ref": "#/parameters/subscriptionIdParameter" + }, + { + "$ref": "#/parameters/apiVersionParameter" + } + ], + "responses": { + "204": { + "description": "No Content" + }, + "200": { + "description": "OK", + "schema": { + "type": "file" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/containerlogs/zip/download": { + "post": { + "tags": [ + "WebApps" + ], + "summary": "Gets the ZIP archived docker log files for the given site", + "description": "Gets the ZIP archived docker log files for the given site", + "operationId": "WebApps_GetContainerLogsZipSlot", + "parameters": [ + { + "$ref": "#/parameters/resourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of web app.", + "required": true, + "type": "string" + }, + { + "name": "slot", + "in": "path", + "description": "Name of web app slot. If not specified then will default to production slot.", + "required": true, + "type": "string" + }, + { + "$ref": "#/parameters/subscriptionIdParameter" + }, + { + "$ref": "#/parameters/apiVersionParameter" + } + ], + "responses": { + "204": { + "description": "No Content" + }, + "200": { + "description": "OK", + "schema": { + "type": "file" + } + } + } + } + }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/continuouswebjobs": { "get": { "tags": [ @@ -8413,10 +7707,6 @@ "summary": "List continuous web jobs for an app, or a deployment slot.", "description": "List continuous web jobs for an app, or a deployment slot.", "operationId": "WebApps_ListContinuousWebJobsSlot", - "produces": [ - "application/json", - "text/json" - ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -8463,12 +7753,6 @@ "summary": "Gets a continuous web job by its ID for an app, or a deployment slot.", "description": "Gets a continuous web job by its ID for an app, or a deployment slot.", "operationId": "WebApps_GetContinuousWebJobSlot", - "produces": [ - "application/json", - "text/json", - "application/xml", - "text/xml" - ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -8481,9 +7765,9 @@ "type": "string" }, { - "name": "webJobId", - "in": "query", - "description": "Web job ID.", + "name": "webJobName", + "in": "path", + "description": "Name of Web Job.", "required": true, "type": "string" }, @@ -8494,12 +7778,6 @@ "required": true, "type": "string" }, - { - "name": "webJobName", - "in": "path", - "required": true, - "type": "string" - }, { "$ref": "#/parameters/subscriptionIdParameter" }, @@ -8538,9 +7816,9 @@ "type": "string" }, { - "name": "webJobId", - "in": "query", - "description": "Web job ID.", + "name": "webJobName", + "in": "path", + "description": "Name of Web Job.", "required": true, "type": "string" }, @@ -8551,12 +7829,6 @@ "required": true, "type": "string" }, - { - "name": "webJobName", - "in": "path", - "required": true, - "type": "string" - }, { "$ref": "#/parameters/subscriptionIdParameter" }, @@ -8594,22 +7866,16 @@ "type": "string" }, { - "name": "webJobId", - "in": "query", - "description": "Web job ID.", - "required": true, - "type": "string" - }, - { - "name": "slot", + "name": "webJobName", "in": "path", - "description": "Name of the deployment slot. If a slot is not specified, the API deletes a deployment for the production slot.", + "description": "Name of Web Job.", "required": true, "type": "string" }, { - "name": "webJobName", + "name": "slot", "in": "path", + "description": "Name of the deployment slot. If a slot is not specified, the API deletes a deployment for the production slot.", "required": true, "type": "string" }, @@ -8650,9 +7916,9 @@ "type": "string" }, { - "name": "webJobId", - "in": "query", - "description": "Web job ID.", + "name": "webJobName", + "in": "path", + "description": "Name of Web Job.", "required": true, "type": "string" }, @@ -8663,12 +7929,6 @@ "required": true, "type": "string" }, - { - "name": "webJobName", - "in": "path", - "required": true, - "type": "string" - }, { "$ref": "#/parameters/subscriptionIdParameter" }, @@ -8694,10 +7954,6 @@ "summary": "List deployments for an app, or a deployment slot.", "description": "List deployments for an app, or a deployment slot.", "operationId": "WebApps_ListDeploymentsSlot", - "produces": [ - "application/json", - "text/json" - ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -8744,12 +8000,6 @@ "summary": "Get a deployment by its ID for an app, or a deployment slot.", "description": "Get a deployment by its ID for an app, or a deployment slot.", "operationId": "WebApps_GetDeploymentSlot", - "produces": [ - "application/json", - "text/json", - "application/xml", - "text/xml" - ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -8798,17 +8048,6 @@ "summary": "Create a deployment for an app, or a deployment slot.", "description": "Create a deployment for an app, or a deployment slot.", "operationId": "WebApps_CreateDeploymentSlot", - "consumes": [ - "application/json", - "text/json", - "application/x-www-form-urlencoded" - ], - "produces": [ - "application/json", - "text/json", - "application/xml", - "text/xml" - ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -8916,12 +8155,6 @@ "summary": "List deployment log for specific deployment for an app, or a deployment slot.", "description": "List deployment log for specific deployment for an app, or a deployment slot.", "operationId": "WebApps_ListDeploymentLogSlot", - "produces": [ - "application/json", - "text/json", - "application/xml", - "text/xml" - ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -8972,10 +8205,6 @@ "summary": "Lists ownership identifiers for domain associated with web app.", "description": "Lists ownership identifiers for domain associated with web app.", "operationId": "WebApps_ListDomainOwnershipIdentifiersSlot", - "produces": [ - "application/json", - "text/json" - ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -9022,12 +8251,6 @@ "summary": "Get domain ownership identifier for web app.", "description": "Get domain ownership identifier for web app.", "operationId": "WebApps_GetDomainOwnershipIdentifierSlot", - "produces": [ - "application/json", - "text/json", - "application/xml", - "text/xml" - ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -9076,17 +8299,6 @@ "summary": "Creates a domain ownership identifier for web app, or updates an existing ownership identifier.", "description": "Creates a domain ownership identifier for web app, or updates an existing ownership identifier.", "operationId": "WebApps_CreateOrUpdateDomainOwnershipIdentifierSlot", - "consumes": [ - "application/json", - "text/json", - "application/x-www-form-urlencoded" - ], - "produces": [ - "application/json", - "text/json", - "application/xml", - "text/xml" - ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -9192,17 +8404,6 @@ "summary": "Creates a domain ownership identifier for web app, or updates an existing ownership identifier.", "description": "Creates a domain ownership identifier for web app, or updates an existing ownership identifier.", "operationId": "WebApps_UpdateDomainOwnershipIdentifierSlot", - "consumes": [ - "application/json", - "text/json", - "application/x-www-form-urlencoded" - ], - "produces": [ - "application/json", - "text/json", - "application/xml", - "text/xml" - ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -9262,12 +8463,6 @@ "summary": "Get the status of the last MSDeploy operation.", "description": "Get the status of the last MSDeploy operation.", "operationId": "WebApps_GetMSDeployStatusSlot", - "produces": [ - "application/json", - "text/json", - "application/xml", - "text/xml" - ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -9309,17 +8504,6 @@ "summary": "Invoke the MSDeploy web app extension.", "description": "Invoke the MSDeploy web app extension.", "operationId": "WebApps_CreateMSDeployOperationSlot", - "consumes": [ - "application/json", - "text/json", - "application/x-www-form-urlencoded" - ], - "produces": [ - "application/json", - "text/json", - "application/xml", - "text/xml" - ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -9376,12 +8560,6 @@ "summary": "Get the MSDeploy Log for the last MSDeploy operation.", "description": "Get the MSDeploy Log for the last MSDeploy operation.", "operationId": "WebApps_GetMSDeployLogSlot", - "produces": [ - "application/json", - "text/json", - "application/xml", - "text/xml" - ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -9428,10 +8606,6 @@ "summary": "List the functions for a web site, or a deployment slot.", "description": "List the functions for a web site, or a deployment slot.", "operationId": "WebApps_ListInstanceFunctionsSlot", - "produces": [ - "application/json", - "text/json" - ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -9481,12 +8655,6 @@ "summary": "Fetch a short lived token that can be exchanged for a master key.", "description": "Fetch a short lived token that can be exchanged for a master key.", "operationId": "WebApps_GetFunctionsAdminTokenSlot", - "produces": [ - "application/json", - "text/json", - "application/xml", - "text/xml" - ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -9530,12 +8698,6 @@ "summary": "Get function information by its ID for web site, or a deployment slot.", "description": "Get function information by its ID for web site, or a deployment slot.", "operationId": "WebApps_GetInstanceFunctionSlot", - "produces": [ - "application/json", - "text/json", - "application/xml", - "text/xml" - ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -9587,17 +8749,6 @@ "summary": "Create function for web site, or a deployment slot.", "description": "Create function for web site, or a deployment slot.", "operationId": "WebApps_CreateInstanceFunctionSlot", - "consumes": [ - "application/json", - "text/json", - "application/x-www-form-urlencoded" - ], - "produces": [ - "application/json", - "text/json", - "application/xml", - "text/xml" - ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -9706,12 +8857,6 @@ "summary": "Get function secrets for a function in a web site, or a deployment slot.", "description": "Get function secrets for a function in a web site, or a deployment slot.", "operationId": "WebApps_ListFunctionSecretsSlot", - "produces": [ - "application/json", - "text/json", - "application/xml", - "text/xml" - ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -9762,10 +8907,6 @@ "summary": "Get hostname bindings for an app or a deployment slot.", "description": "Get hostname bindings for an app or a deployment slot.", "operationId": "WebApps_ListHostNameBindingsSlot", - "produces": [ - "application/json", - "text/json" - ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -9812,12 +8953,6 @@ "summary": "Get the named hostname binding for an app (or deployment slot, if specified).", "description": "Get the named hostname binding for an app (or deployment slot, if specified).", "operationId": "WebApps_GetHostNameBindingSlot", - "produces": [ - "application/json", - "text/json", - "application/xml", - "text/xml" - ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -9866,17 +9001,6 @@ "summary": "Creates a hostname binding for an app.", "description": "Creates a hostname binding for an app.", "operationId": "WebApps_CreateOrUpdateHostNameBindingSlot", - "consumes": [ - "application/json", - "text/json", - "application/x-www-form-urlencoded" - ], - "produces": [ - "application/json", - "text/json", - "application/xml", - "text/xml" - ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -9984,12 +9108,6 @@ "summary": "Retrieves a specific Service Bus Hybrid Connection used by this Web App.", "description": "Retrieves a specific Service Bus Hybrid Connection used by this Web App.", "operationId": "WebApps_GetHybridConnectionSlot", - "produces": [ - "application/json", - "text/json", - "application/xml", - "text/xml" - ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -10045,17 +9163,6 @@ "summary": "Creates a new Hybrid Connection using a Service Bus relay.", "description": "Creates a new Hybrid Connection using a Service Bus relay.", "operationId": "WebApps_CreateOrUpdateHybridConnectionSlot", - "consumes": [ - "application/json", - "text/json", - "application/x-www-form-urlencoded" - ], - "produces": [ - "application/json", - "text/json", - "application/xml", - "text/xml" - ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -10175,17 +9282,6 @@ "summary": "Creates a new Hybrid Connection using a Service Bus relay.", "description": "Creates a new Hybrid Connection using a Service Bus relay.", "operationId": "WebApps_UpdateHybridConnectionSlot", - "consumes": [ - "application/json", - "text/json", - "application/x-www-form-urlencoded" - ], - "produces": [ - "application/json", - "text/json", - "application/xml", - "text/xml" - ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -10252,12 +9348,6 @@ "summary": "Gets the send key name and value for a Hybrid Connection.", "description": "Gets the send key name and value for a Hybrid Connection.", "operationId": "WebApps_ListHybridConnectionKeysSlot", - "produces": [ - "application/json", - "text/json", - "application/xml", - "text/xml" - ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -10315,12 +9405,6 @@ "summary": "Retrieves all Service Bus Hybrid Connections used by this Web App.", "description": "Retrieves all Service Bus Hybrid Connections used by this Web App.", "operationId": "WebApps_ListHybridConnectionsSlot", - "produces": [ - "application/json", - "text/json", - "application/xml", - "text/xml" - ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -10364,12 +9448,6 @@ "summary": "Gets hybrid connections configured for an app (or deployment slot, if specified).", "description": "Gets hybrid connections configured for an app (or deployment slot, if specified).", "operationId": "WebApps_ListRelayServiceConnectionsSlot", - "produces": [ - "application/json", - "text/json", - "application/xml", - "text/xml" - ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -10413,12 +9491,6 @@ "summary": "Gets a hybrid connection configuration by its name.", "description": "Gets a hybrid connection configuration by its name.", "operationId": "WebApps_GetRelayServiceConnectionSlot", - "produces": [ - "application/json", - "text/json", - "application/xml", - "text/xml" - ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -10467,17 +9539,6 @@ "summary": "Creates a new hybrid connection configuration (PUT), or updates an existing one (PATCH).", "description": "Creates a new hybrid connection configuration (PUT), or updates an existing one (PATCH).", "operationId": "WebApps_CreateOrUpdateRelayServiceConnectionSlot", - "consumes": [ - "application/json", - "text/json", - "application/x-www-form-urlencoded" - ], - "produces": [ - "application/json", - "text/json", - "application/xml", - "text/xml" - ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -10583,17 +9644,6 @@ "summary": "Creates a new hybrid connection configuration (PUT), or updates an existing one (PATCH).", "description": "Creates a new hybrid connection configuration (PUT), or updates an existing one (PATCH).", "operationId": "WebApps_UpdateRelayServiceConnectionSlot", - "consumes": [ - "application/json", - "text/json", - "application/x-www-form-urlencoded" - ], - "produces": [ - "application/json", - "text/json", - "application/xml", - "text/xml" - ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -10653,10 +9703,6 @@ "summary": "Gets all scale-out instances of an app.", "description": "Gets all scale-out instances of an app.", "operationId": "WebApps_ListInstanceIdentifiersSlot", - "produces": [ - "application/json", - "text/json" - ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -10703,12 +9749,6 @@ "summary": "Get the status of the last MSDeploy operation.", "description": "Get the status of the last MSDeploy operation.", "operationId": "WebApps_GetInstanceMsDeployStatusSlot", - "produces": [ - "application/json", - "text/json", - "application/xml", - "text/xml" - ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -10757,17 +9797,6 @@ "summary": "Invoke the MSDeploy web app extension.", "description": "Invoke the MSDeploy web app extension.", "operationId": "WebApps_CreateInstanceMSDeployOperationSlot", - "consumes": [ - "application/json", - "text/json", - "application/x-www-form-urlencoded" - ], - "produces": [ - "application/json", - "text/json", - "application/xml", - "text/xml" - ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -10831,12 +9860,6 @@ "summary": "Get the MSDeploy Log for the last MSDeploy operation.", "description": "Get the MSDeploy Log for the last MSDeploy operation.", "operationId": "WebApps_GetInstanceMSDeployLogSlot", - "produces": [ - "application/json", - "text/json", - "application/xml", - "text/xml" - ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -10890,10 +9913,6 @@ "summary": "Get list of processes for a web site, or a deployment slot, or for a specific scaled-out instance in a web site.", "description": "Get list of processes for a web site, or a deployment slot, or for a specific scaled-out instance in a web site.", "operationId": "WebApps_ListInstanceProcessesSlot", - "produces": [ - "application/json", - "text/json" - ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -10950,12 +9969,6 @@ "summary": "Get process information by its ID for a specific scaled-out instance in a web site.", "description": "Get process information by its ID for a specific scaled-out instance in a web site.", "operationId": "WebApps_GetInstanceProcessSlot", - "produces": [ - "application/json", - "text/json", - "application/xml", - "text/xml" - ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -11131,10 +10144,6 @@ "summary": "List module information for a process by its ID for a specific scaled-out instance in a web site.", "description": "List module information for a process by its ID for a specific scaled-out instance in a web site.", "operationId": "WebApps_ListInstanceProcessModulesSlot", - "produces": [ - "application/json", - "text/json" - ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -11190,7 +10199,7 @@ } } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/instances/{instanceId}/processes/{processId}/modules/{base_address}": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/instances/{instanceId}/processes/{processId}/modules/{baseAddress}": { "get": { "tags": [ "WebApps" @@ -11198,12 +10207,6 @@ "summary": "Get process information by its ID for a specific scaled-out instance in a web site.", "description": "Get process information by its ID for a specific scaled-out instance in a web site.", "operationId": "WebApps_GetInstanceProcessModuleSlot", - "produces": [ - "application/json", - "text/json", - "application/xml", - "text/xml" - ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -11224,7 +10227,7 @@ }, { "name": "baseAddress", - "in": "query", + "in": "path", "description": "Module base address.", "required": true, "type": "string" @@ -11243,12 +10246,6 @@ "required": true, "type": "string" }, - { - "name": "base_address", - "in": "path", - "required": true, - "type": "string" - }, { "$ref": "#/parameters/subscriptionIdParameter" }, @@ -11264,7 +10261,7 @@ } }, "404": { - "description": "Process with the specified ID is not running, or a module with the specified base_address was not found." + "description": "Process with the specified ID is not running, or a module with the specified baseAddress was not found." } } } @@ -11277,10 +10274,6 @@ "summary": "List the threads in a process by its ID for a specific scaled-out instance in a web site.", "description": "List the threads in a process by its ID for a specific scaled-out instance in a web site.", "operationId": "WebApps_ListInstanceProcessThreadsSlot", - "produces": [ - "application/json", - "text/json" - ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -11344,12 +10337,6 @@ "summary": "Get thread information by Thread ID for a specific process, in a specific scaled-out instance in a web site.", "description": "Get thread information by Thread ID for a specific process, in a specific scaled-out instance in a web site.", "operationId": "WebApps_GetInstanceProcessThreadSlot", - "produces": [ - "application/json", - "text/json", - "application/xml", - "text/xml" - ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -11417,12 +10404,6 @@ "summary": "Shows whether an app can be cloned to another resource group or subscription.", "description": "Shows whether an app can be cloned to another resource group or subscription.", "operationId": "WebApps_IsCloneableSlot", - "produces": [ - "application/json", - "text/json", - "application/xml", - "text/xml" - ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -11466,12 +10447,6 @@ "summary": "This is to allow calling via powershell and ARM template.", "description": "This is to allow calling via powershell and ARM template.", "operationId": "WebApps_ListSyncFunctionTriggersSlot", - "produces": [ - "application/json", - "text/json", - "application/xml", - "text/xml" - ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -11515,10 +10490,6 @@ "summary": "Gets all metric definitions of an app (or deployment slot, if specified).", "description": "Gets all metric definitions of an app (or deployment slot, if specified).", "operationId": "WebApps_ListMetricDefinitionsSlot", - "produces": [ - "application/json", - "text/json" - ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -11565,10 +10536,6 @@ "summary": "Gets performance metrics of an app (or deployment slot, if specified).", "description": "Gets performance metrics of an app (or deployment slot, if specified).", "operationId": "WebApps_ListMetricsSlot", - "produces": [ - "application/json", - "text/json" - ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -11597,8 +10564,8 @@ "name": "$filter", "in": "query", "description": "Return only metrics specified in the filter (using OData syntax). For 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]'.", - "x-ms-skip-url-encoding": true, - "type": "string" + "type": "string", + "x-ms-skip-url-encoding": true }, { "$ref": "#/parameters/subscriptionIdParameter" @@ -11628,12 +10595,6 @@ "summary": "Returns the status of MySql in app migration, if one is active, and whether or not MySql in app is enabled", "description": "Returns the status of MySql in app migration, if one is active, and whether or not MySql in app is enabled", "operationId": "WebApps_GetMigrateMySqlStatusSlot", - "produces": [ - "application/json", - "text/json", - "application/xml", - "text/xml" - ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -11677,12 +10638,6 @@ "summary": "Gets all network features used by the app (or deployment slot, if specified).", "description": "Gets all network features used by the app (or deployment slot, if specified).", "operationId": "WebApps_ListNetworkFeaturesSlot", - "produces": [ - "application/json", - "text/json", - "application/xml", - "text/xml" - ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -11736,12 +10691,6 @@ "summary": "Start capturing network packets for the site.", "description": "Start capturing network packets for the site.", "operationId": "WebApps_StartWebSiteNetworkTraceSlot", - "produces": [ - "application/json", - "text/json", - "application/xml", - "text/xml" - ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -11805,12 +10754,6 @@ "summary": "Stop ongoing capturing network packets for the site.", "description": "Stop ongoing capturing network packets for the site.", "operationId": "WebApps_StopWebSiteNetworkTraceSlot", - "produces": [ - "application/json", - "text/json", - "application/xml", - "text/xml" - ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -11880,8 +10823,8 @@ } ], "responses": { - "204": { - "description": "No Content" + "200": { + "description": "Successfully generate new password." } } } @@ -11894,10 +10837,6 @@ "summary": "Gets perfmon counters for web app.", "description": "Gets perfmon counters for web app.", "operationId": "WebApps_ListPerfMonCountersSlot", - "produces": [ - "application/json", - "text/json" - ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -11920,8 +10859,8 @@ "name": "$filter", "in": "query", "description": "Return only usages/metrics specified in the filter. Filter conforms to odata syntax. Example: $filter=(startTime eq '2014-01-01T00:00:00Z' and endTime eq '2014-12-31T23:59:59Z' and timeGrain eq duration'[Hour|Minute|Day]'.", - "x-ms-skip-url-encoding": true, - "type": "string" + "type": "string", + "x-ms-skip-url-encoding": true }, { "$ref": "#/parameters/subscriptionIdParameter" @@ -11951,12 +10890,6 @@ "summary": "Gets web app's event logs.", "description": "Gets web app's event logs.", "operationId": "WebApps_GetSitePhpErrorLogFlagSlot", - "produces": [ - "application/json", - "text/json", - "application/xml", - "text/xml" - ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -12000,12 +10933,6 @@ "summary": "Gets the premier add-ons of an app.", "description": "Gets the premier add-ons of an app.", "operationId": "WebApps_ListPremierAddOnsSlot", - "produces": [ - "application/json", - "text/json", - "application/xml", - "text/xml" - ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -12049,12 +10976,6 @@ "summary": "Gets a named add-on of an app.", "description": "Gets a named add-on of an app.", "operationId": "WebApps_GetPremierAddOnSlot", - "produces": [ - "application/json", - "text/json", - "application/xml", - "text/xml" - ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -12103,17 +11024,6 @@ "summary": "Updates a named add-on of an app.", "description": "Updates a named add-on of an app.", "operationId": "WebApps_AddPremierAddOnSlot", - "consumes": [ - "application/json", - "text/json", - "application/x-www-form-urlencoded" - ], - "produces": [ - "application/json", - "text/json", - "application/xml", - "text/xml" - ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -12218,10 +11128,6 @@ "summary": "Get list of processes for a web site, or a deployment slot, or for a specific scaled-out instance in a web site.", "description": "Get list of processes for a web site, or a deployment slot, or for a specific scaled-out instance in a web site.", "operationId": "WebApps_ListProcessesSlot", - "produces": [ - "application/json", - "text/json" - ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -12271,12 +11177,6 @@ "summary": "Get process information by its ID for a specific scaled-out instance in a web site.", "description": "Get process information by its ID for a specific scaled-out instance in a web site.", "operationId": "WebApps_GetProcessSlot", - "produces": [ - "application/json", - "text/json", - "application/xml", - "text/xml" - ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -12431,10 +11331,6 @@ "summary": "List module information for a process by its ID for a specific scaled-out instance in a web site.", "description": "List module information for a process by its ID for a specific scaled-out instance in a web site.", "operationId": "WebApps_ListProcessModulesSlot", - "produces": [ - "application/json", - "text/json" - ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -12483,7 +11379,7 @@ } } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/processes/{processId}/modules/{base_address}": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/processes/{processId}/modules/{baseAddress}": { "get": { "tags": [ "WebApps" @@ -12491,12 +11387,6 @@ "summary": "Get process information by its ID for a specific scaled-out instance in a web site.", "description": "Get process information by its ID for a specific scaled-out instance in a web site.", "operationId": "WebApps_GetProcessModuleSlot", - "produces": [ - "application/json", - "text/json", - "application/xml", - "text/xml" - ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -12517,7 +11407,7 @@ }, { "name": "baseAddress", - "in": "query", + "in": "path", "description": "Module base address.", "required": true, "type": "string" @@ -12529,12 +11419,6 @@ "required": true, "type": "string" }, - { - "name": "base_address", - "in": "path", - "required": true, - "type": "string" - }, { "$ref": "#/parameters/subscriptionIdParameter" }, @@ -12550,7 +11434,7 @@ } }, "404": { - "description": "Process with the specified ID is not running, or a module with the specified base_address was not found." + "description": "Process with the specified ID is not running, or a module with the specified baseAddress was not found." } } } @@ -12563,10 +11447,6 @@ "summary": "List the threads in a process by its ID for a specific scaled-out instance in a web site.", "description": "List the threads in a process by its ID for a specific scaled-out instance in a web site.", "operationId": "WebApps_ListProcessThreadsSlot", - "produces": [ - "application/json", - "text/json" - ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -12623,12 +11503,6 @@ "summary": "Get thread information by Thread ID for a specific process, in a specific scaled-out instance in a web site.", "description": "Get thread information by Thread ID for a specific process, in a specific scaled-out instance in a web site.", "operationId": "WebApps_GetProcessThreadSlot", - "produces": [ - "application/json", - "text/json", - "application/xml", - "text/xml" - ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -12689,10 +11563,6 @@ "summary": "Get public certificates for an app or a deployment slot.", "description": "Get public certificates for an app or a deployment slot.", "operationId": "WebApps_ListPublicCertificatesSlot", - "produces": [ - "application/json", - "text/json" - ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -12739,12 +11609,6 @@ "summary": "Get the named public certificate for an app (or deployment slot, if specified).", "description": "Get the named public certificate for an app (or deployment slot, if specified).", "operationId": "WebApps_GetPublicCertificateSlot", - "produces": [ - "application/json", - "text/json", - "application/xml", - "text/xml" - ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -12793,17 +11657,6 @@ "summary": "Creates a hostname binding for an app.", "description": "Creates a hostname binding for an app.", "operationId": "WebApps_CreateOrUpdatePublicCertificateSlot", - "consumes": [ - "application/json", - "text/json", - "application/x-www-form-urlencoded" - ], - "produces": [ - "application/json", - "text/json", - "application/xml", - "text/xml" - ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -12911,18 +11764,8 @@ "summary": "Gets the publishing profile for an app (or deployment slot, if specified).", "description": "Gets the publishing profile for an app (or deployment slot, if specified).", "operationId": "WebApps_ListPublishingProfileXmlWithSecretsSlot", - "consumes": [ - "application/json", - "text/json", - "application/xml", - "text/xml", - "application/x-www-form-urlencoded" - ], "produces": [ - "application/json", - "text/json", - "application/xml", - "text/xml" + "application/xml" ], "parameters": [ { @@ -12976,11 +11819,6 @@ "summary": "Recovers a web app to a previous snapshot.", "description": "Recovers a web app to a previous snapshot.", "operationId": "WebApps_RecoverSlot", - "consumes": [ - "application/json", - "text/json", - "application/x-www-form-urlencoded" - ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -13123,10 +11961,6 @@ "summary": "Get list of siteextensions for a web site, or a deployment slot.", "description": "Get list of siteextensions for a web site, or a deployment slot.", "operationId": "WebApps_ListSiteExtensionsSlot", - "produces": [ - "application/json", - "text/json" - ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -13168,7 +12002,7 @@ } } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/siteextensions/{extensionName}": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/siteextensions/{siteExtensionId}": { "get": { "tags": [ "WebApps" @@ -13176,12 +12010,6 @@ "summary": "Get site extension information by its ID for a web site, or a deployment slot.", "description": "Get site extension information by its ID for a web site, or a deployment slot.", "operationId": "WebApps_GetSiteExtensionSlot", - "produces": [ - "application/json", - "text/json", - "application/xml", - "text/xml" - ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -13195,7 +12023,7 @@ }, { "name": "siteExtensionId", - "in": "query", + "in": "path", "description": "Site extension name.", "required": true, "type": "string" @@ -13207,12 +12035,6 @@ "required": true, "type": "string" }, - { - "name": "extensionName", - "in": "path", - "required": true, - "type": "string" - }, { "$ref": "#/parameters/subscriptionIdParameter" }, @@ -13239,12 +12061,6 @@ "summary": "Install site extension on a web site, or a deployment slot.", "description": "Install site extension on a web site, or a deployment slot.", "operationId": "WebApps_InstallSiteExtensionSlot", - "produces": [ - "application/json", - "text/json", - "application/xml", - "text/xml" - ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -13258,7 +12074,7 @@ }, { "name": "siteExtensionId", - "in": "query", + "in": "path", "description": "Site extension name.", "required": true, "type": "string" @@ -13270,12 +12086,6 @@ "required": true, "type": "string" }, - { - "name": "extensionName", - "in": "path", - "required": true, - "type": "string" - }, { "$ref": "#/parameters/subscriptionIdParameter" }, @@ -13322,7 +12132,7 @@ }, { "name": "siteExtensionId", - "in": "query", + "in": "path", "description": "Site extension name.", "required": true, "type": "string" @@ -13334,12 +12144,6 @@ "required": true, "type": "string" }, - { - "name": "extensionName", - "in": "path", - "required": true, - "type": "string" - }, { "$ref": "#/parameters/subscriptionIdParameter" }, @@ -13365,17 +12169,6 @@ "summary": "Get the difference in configuration settings between two web app slots.", "description": "Get the difference in configuration settings between two web app slots.", "operationId": "WebApps_ListSlotDifferencesSlot", - "consumes": [ - "application/json", - "text/json", - "application/xml", - "text/xml", - "application/x-www-form-urlencoded" - ], - "produces": [ - "application/json", - "text/json" - ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -13431,13 +12224,6 @@ "summary": "Swaps two deployment slots of an app.", "description": "Swaps two deployment slots of an app.", "operationId": "WebApps_SwapSlotSlot", - "consumes": [ - "application/json", - "text/json", - "application/xml", - "text/xml", - "application/x-www-form-urlencoded" - ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -13491,10 +12277,6 @@ "summary": "Returns all Snapshots to the user.", "description": "Returns all Snapshots to the user.", "operationId": "WebApps_ListSnapshotsSlot", - "produces": [ - "application/json", - "text/json" - ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -13541,12 +12323,6 @@ "summary": "Gets the source control configuration of an app.", "description": "Gets the source control configuration of an app.", "operationId": "WebApps_GetSourceControlSlot", - "produces": [ - "application/json", - "text/json", - "application/xml", - "text/xml" - ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -13588,17 +12364,6 @@ "summary": "Updates the source control configuration of an app.", "description": "Updates the source control configuration of an app.", "operationId": "WebApps_CreateOrUpdateSourceControlSlot", - "consumes": [ - "application/json", - "text/json", - "application/x-www-form-urlencoded" - ], - "produces": [ - "application/json", - "text/json", - "application/xml", - "text/xml" - ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -13688,8 +12453,64 @@ "202": { "description": "Source control delete operation in progress." }, - "404": { - "description": "Source control does not exist." + "404": { + "description": "Source control does not exist." + } + } + }, + "patch": { + "tags": [ + "WebApps" + ], + "summary": "Updates the source control configuration of an app.", + "description": "Updates the source control configuration of an app.", + "operationId": "WebApps_UpdateSourceControlSlot", + "parameters": [ + { + "$ref": "#/parameters/resourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of the app.", + "required": true, + "type": "string" + }, + { + "name": "siteSourceControl", + "in": "body", + "description": "JSON representation of a SiteSourceControl object. See example.", + "required": true, + "schema": { + "$ref": "#/definitions/SiteSourceControl" + } + }, + { + "name": "slot", + "in": "path", + "description": "Name of the deployment slot. If a slot is not specified, the API will update the source control configuration for the production slot.", + "required": true, + "type": "string" + }, + { + "$ref": "#/parameters/subscriptionIdParameter" + }, + { + "$ref": "#/parameters/apiVersionParameter" + } + ], + "responses": { + "200": { + "description": "Succesfully created or updated source control for web app.", + "schema": { + "$ref": "#/definitions/SiteSourceControl" + } + }, + "201": { + "description": "Create or update source control for web app in progress.", + "schema": { + "$ref": "#/definitions/SiteSourceControl" + } } } } @@ -13862,10 +12683,6 @@ "summary": "List triggered web jobs for an app, or a deployment slot.", "description": "List triggered web jobs for an app, or a deployment slot.", "operationId": "WebApps_ListTriggeredWebJobsSlot", - "produces": [ - "application/json", - "text/json" - ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -13912,12 +12729,6 @@ "summary": "Gets a triggered web job by its ID for an app, or a deployment slot.", "description": "Gets a triggered web job by its ID for an app, or a deployment slot.", "operationId": "WebApps_GetTriggeredWebJobSlot", - "produces": [ - "application/json", - "text/json", - "application/xml", - "text/xml" - ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -13930,9 +12741,9 @@ "type": "string" }, { - "name": "webJobId", - "in": "query", - "description": "Web job ID.", + "name": "webJobName", + "in": "path", + "description": "Name of Web Job.", "required": true, "type": "string" }, @@ -13943,12 +12754,6 @@ "required": true, "type": "string" }, - { - "name": "webJobName", - "in": "path", - "required": true, - "type": "string" - }, { "$ref": "#/parameters/subscriptionIdParameter" }, @@ -13987,9 +12792,9 @@ "type": "string" }, { - "name": "webJobId", - "in": "query", - "description": "Web job ID.", + "name": "webJobName", + "in": "path", + "description": "Name of Web Job.", "required": true, "type": "string" }, @@ -14000,12 +12805,6 @@ "required": true, "type": "string" }, - { - "name": "webJobName", - "in": "path", - "required": true, - "type": "string" - }, { "$ref": "#/parameters/subscriptionIdParameter" }, @@ -14031,10 +12830,6 @@ "summary": "List a triggered web job's history for an app, or a deployment slot.", "description": "List a triggered web job's history for an app, or a deployment slot.", "operationId": "WebApps_ListTriggeredWebJobHistorySlot", - "produces": [ - "application/json", - "text/json" - ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -14047,9 +12842,9 @@ "type": "string" }, { - "name": "webJobId", - "in": "query", - "description": "Web job ID.", + "name": "webJobName", + "in": "path", + "description": "Name of Web Job.", "required": true, "type": "string" }, @@ -14060,12 +12855,6 @@ "required": true, "type": "string" }, - { - "name": "webJobName", - "in": "path", - "required": true, - "type": "string" - }, { "$ref": "#/parameters/subscriptionIdParameter" }, @@ -14097,12 +12886,6 @@ "summary": "Gets a triggered web job's history by its ID for an app, , or a deployment slot.", "description": "Gets a triggered web job's history by its ID for an app, , or a deployment slot.", "operationId": "WebApps_GetTriggeredWebJobHistorySlot", - "produces": [ - "application/json", - "text/json", - "application/xml", - "text/xml" - ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -14115,9 +12898,9 @@ "type": "string" }, { - "name": "webJobId", - "in": "query", - "description": "Web job ID.", + "name": "webJobName", + "in": "path", + "description": "Name of Web Job.", "required": true, "type": "string" }, @@ -14135,12 +12918,6 @@ "required": true, "type": "string" }, - { - "name": "webJobName", - "in": "path", - "required": true, - "type": "string" - }, { "$ref": "#/parameters/subscriptionIdParameter" }, @@ -14181,9 +12958,9 @@ "type": "string" }, { - "name": "webJobId", - "in": "query", - "description": "Web job ID.", + "name": "webJobName", + "in": "path", + "description": "Name of Web Job.", "required": true, "type": "string" }, @@ -14194,12 +12971,6 @@ "required": true, "type": "string" }, - { - "name": "webJobName", - "in": "path", - "required": true, - "type": "string" - }, { "$ref": "#/parameters/subscriptionIdParameter" }, @@ -14225,10 +12996,6 @@ "summary": "Gets the quota usage information of an app (or deployment slot, if specified).", "description": "Gets the quota usage information of an app (or deployment slot, if specified).", "operationId": "WebApps_ListUsagesSlot", - "produces": [ - "application/json", - "text/json" - ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -14251,8 +13018,8 @@ "name": "$filter", "in": "query", "description": "Return only information specified in the filter (using OData syntax). For 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]'.", - "x-ms-skip-url-encoding": true, - "type": "string" + "type": "string", + "x-ms-skip-url-encoding": true }, { "$ref": "#/parameters/subscriptionIdParameter" @@ -14282,12 +13049,6 @@ "summary": "Gets the virtual networks the app (or deployment slot) is connected to.", "description": "Gets the virtual networks the app (or deployment slot) is connected to.", "operationId": "WebApps_ListVnetConnectionsSlot", - "produces": [ - "application/json", - "text/json", - "application/xml", - "text/xml" - ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -14334,12 +13095,6 @@ "summary": "Gets a virtual network the app (or deployment slot) is connected to by name.", "description": "Gets a virtual network the app (or deployment slot) is connected to by name.", "operationId": "WebApps_GetVnetConnectionSlot", - "produces": [ - "application/json", - "text/json", - "application/xml", - "text/xml" - ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -14388,17 +13143,6 @@ "summary": "Adds a Virtual Network connection to an app or slot (PUT) or updates the connection properties (PATCH).", "description": "Adds a Virtual Network connection to an app or slot (PUT) or updates the connection properties (PATCH).", "operationId": "WebApps_CreateOrUpdateVnetConnectionSlot", - "consumes": [ - "application/json", - "text/json", - "application/x-www-form-urlencoded" - ], - "produces": [ - "application/json", - "text/json", - "application/xml", - "text/xml" - ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -14504,17 +13248,6 @@ "summary": "Adds a Virtual Network connection to an app or slot (PUT) or updates the connection properties (PATCH).", "description": "Adds a Virtual Network connection to an app or slot (PUT) or updates the connection properties (PATCH).", "operationId": "WebApps_UpdateVnetConnectionSlot", - "consumes": [ - "application/json", - "text/json", - "application/x-www-form-urlencoded" - ], - "produces": [ - "application/json", - "text/json", - "application/xml", - "text/xml" - ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -14574,12 +13307,6 @@ "summary": "Gets an app's Virtual Network gateway.", "description": "Gets an app's Virtual Network gateway.", "operationId": "WebApps_GetVnetConnectionGatewaySlot", - "produces": [ - "application/json", - "text/json", - "application/xml", - "text/xml" - ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -14638,17 +13365,6 @@ "summary": "Adds a gateway to a connected Virtual Network (PUT) or updates it (PATCH).", "description": "Adds a gateway to a connected Virtual Network (PUT) or updates it (PATCH).", "operationId": "WebApps_CreateOrUpdateVnetConnectionGatewaySlot", - "consumes": [ - "application/json", - "text/json", - "application/x-www-form-urlencoded" - ], - "produces": [ - "application/json", - "text/json", - "application/xml", - "text/xml" - ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -14713,17 +13429,6 @@ "summary": "Adds a gateway to a connected Virtual Network (PUT) or updates it (PATCH).", "description": "Adds a gateway to a connected Virtual Network (PUT) or updates it (PATCH).", "operationId": "WebApps_UpdateVnetConnectionGatewaySlot", - "consumes": [ - "application/json", - "text/json", - "application/x-www-form-urlencoded" - ], - "produces": [ - "application/json", - "text/json", - "application/xml", - "text/xml" - ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -14790,10 +13495,6 @@ "summary": "List webjobs for an app, or a deployment slot.", "description": "List webjobs for an app, or a deployment slot.", "operationId": "WebApps_ListWebJobsSlot", - "produces": [ - "application/json", - "text/json" - ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -14840,12 +13541,6 @@ "summary": "Get webjob information for an app, or a deployment slot.", "description": "Get webjob information for an app, or a deployment slot.", "operationId": "WebApps_GetWebJobSlot", - "produces": [ - "application/json", - "text/json", - "application/xml", - "text/xml" - ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -14896,17 +13591,6 @@ "summary": "Get the difference in configuration settings between two web app slots.", "description": "Get the difference in configuration settings between two web app slots.", "operationId": "WebApps_ListSlotDifferencesFromProduction", - "consumes": [ - "application/json", - "text/json", - "application/xml", - "text/xml", - "application/x-www-form-urlencoded" - ], - "produces": [ - "application/json", - "text/json" - ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -14955,13 +13639,6 @@ "summary": "Swaps two deployment slots of an app.", "description": "Swaps two deployment slots of an app.", "operationId": "WebApps_SwapSlotWithProduction", - "consumes": [ - "application/json", - "text/json", - "application/xml", - "text/xml", - "application/x-www-form-urlencoded" - ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -15008,10 +13685,6 @@ "summary": "Returns all Snapshots to the user.", "description": "Returns all Snapshots to the user.", "operationId": "WebApps_ListSnapshots", - "produces": [ - "application/json", - "text/json" - ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -15051,12 +13724,6 @@ "summary": "Gets the source control configuration of an app.", "description": "Gets the source control configuration of an app.", "operationId": "WebApps_GetSourceControl", - "produces": [ - "application/json", - "text/json", - "application/xml", - "text/xml" - ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -15091,17 +13758,6 @@ "summary": "Updates the source control configuration of an app.", "description": "Updates the source control configuration of an app.", "operationId": "WebApps_CreateOrUpdateSourceControl", - "consumes": [ - "application/json", - "text/json", - "application/x-www-form-urlencoded" - ], - "produces": [ - "application/json", - "text/json", - "application/xml", - "text/xml" - ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -15181,6 +13837,55 @@ "description": "Source control does not exist." } } + }, + "patch": { + "tags": [ + "WebApps" + ], + "summary": "Updates the source control configuration of an app.", + "description": "Updates the source control configuration of an app.", + "operationId": "WebApps_UpdateSourceControl", + "parameters": [ + { + "$ref": "#/parameters/resourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of the app.", + "required": true, + "type": "string" + }, + { + "name": "siteSourceControl", + "in": "body", + "description": "JSON representation of a SiteSourceControl object. See example.", + "required": true, + "schema": { + "$ref": "#/definitions/SiteSourceControl" + } + }, + { + "$ref": "#/parameters/subscriptionIdParameter" + }, + { + "$ref": "#/parameters/apiVersionParameter" + } + ], + "responses": { + "200": { + "description": "Succesfully created or updated source control for web app.", + "schema": { + "$ref": "#/definitions/SiteSourceControl" + } + }, + "201": { + "description": "Create or update source control for web app in progress.", + "schema": { + "$ref": "#/definitions/SiteSourceControl" + } + } + } } }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/start": { @@ -15323,10 +14028,6 @@ "summary": "List triggered web jobs for an app, or a deployment slot.", "description": "List triggered web jobs for an app, or a deployment slot.", "operationId": "WebApps_ListTriggeredWebJobs", - "produces": [ - "application/json", - "text/json" - ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -15366,12 +14067,6 @@ "summary": "Gets a triggered web job by its ID for an app, or a deployment slot.", "description": "Gets a triggered web job by its ID for an app, or a deployment slot.", "operationId": "WebApps_GetTriggeredWebJob", - "produces": [ - "application/json", - "text/json", - "application/xml", - "text/xml" - ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -15383,16 +14078,10 @@ "required": true, "type": "string" }, - { - "name": "webJobId", - "in": "query", - "description": "Web job ID.", - "required": true, - "type": "string" - }, { "name": "webJobName", "in": "path", + "description": "Name of Web Job.", "required": true, "type": "string" }, @@ -15433,16 +14122,10 @@ "required": true, "type": "string" }, - { - "name": "webJobId", - "in": "query", - "description": "Web job ID.", - "required": true, - "type": "string" - }, { "name": "webJobName", "in": "path", + "description": "Name of Web Job.", "required": true, "type": "string" }, @@ -15471,10 +14154,6 @@ "summary": "List a triggered web job's history for an app, or a deployment slot.", "description": "List a triggered web job's history for an app, or a deployment slot.", "operationId": "WebApps_ListTriggeredWebJobHistory", - "produces": [ - "application/json", - "text/json" - ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -15486,16 +14165,10 @@ "required": true, "type": "string" }, - { - "name": "webJobId", - "in": "query", - "description": "Web job ID.", - "required": true, - "type": "string" - }, { "name": "webJobName", "in": "path", + "description": "Name of Web Job.", "required": true, "type": "string" }, @@ -15530,12 +14203,6 @@ "summary": "Gets a triggered web job's history by its ID for an app, , or a deployment slot.", "description": "Gets a triggered web job's history by its ID for an app, , or a deployment slot.", "operationId": "WebApps_GetTriggeredWebJobHistory", - "produces": [ - "application/json", - "text/json", - "application/xml", - "text/xml" - ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -15548,9 +14215,9 @@ "type": "string" }, { - "name": "webJobId", - "in": "query", - "description": "Web job ID.", + "name": "webJobName", + "in": "path", + "description": "Name of Web Job.", "required": true, "type": "string" }, @@ -15561,12 +14228,6 @@ "required": true, "type": "string" }, - { - "name": "webJobName", - "in": "path", - "required": true, - "type": "string" - }, { "$ref": "#/parameters/subscriptionIdParameter" }, @@ -15606,16 +14267,10 @@ "required": true, "type": "string" }, - { - "name": "webJobId", - "in": "query", - "description": "Web job ID.", - "required": true, - "type": "string" - }, { "name": "webJobName", "in": "path", + "description": "Name of Web Job.", "required": true, "type": "string" }, @@ -15644,10 +14299,6 @@ "summary": "Gets the quota usage information of an app (or deployment slot, if specified).", "description": "Gets the quota usage information of an app (or deployment slot, if specified).", "operationId": "WebApps_ListUsages", - "produces": [ - "application/json", - "text/json" - ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -15663,8 +14314,8 @@ "name": "$filter", "in": "query", "description": "Return only information specified in the filter (using OData syntax). For 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]'.", - "x-ms-skip-url-encoding": true, - "type": "string" + "type": "string", + "x-ms-skip-url-encoding": true }, { "$ref": "#/parameters/subscriptionIdParameter" @@ -15694,12 +14345,6 @@ "summary": "Gets the virtual networks the app (or deployment slot) is connected to.", "description": "Gets the virtual networks the app (or deployment slot) is connected to.", "operationId": "WebApps_ListVnetConnections", - "produces": [ - "application/json", - "text/json", - "application/xml", - "text/xml" - ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -15739,12 +14384,6 @@ "summary": "Gets a virtual network the app (or deployment slot) is connected to by name.", "description": "Gets a virtual network the app (or deployment slot) is connected to by name.", "operationId": "WebApps_GetVnetConnection", - "produces": [ - "application/json", - "text/json", - "application/xml", - "text/xml" - ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -15786,17 +14425,6 @@ "summary": "Adds a Virtual Network connection to an app or slot (PUT) or updates the connection properties (PATCH).", "description": "Adds a Virtual Network connection to an app or slot (PUT) or updates the connection properties (PATCH).", "operationId": "WebApps_CreateOrUpdateVnetConnection", - "consumes": [ - "application/json", - "text/json", - "application/x-www-form-urlencoded" - ], - "produces": [ - "application/json", - "text/json", - "application/xml", - "text/xml" - ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -15888,17 +14516,6 @@ "summary": "Adds a Virtual Network connection to an app or slot (PUT) or updates the connection properties (PATCH).", "description": "Adds a Virtual Network connection to an app or slot (PUT) or updates the connection properties (PATCH).", "operationId": "WebApps_UpdateVnetConnection", - "consumes": [ - "application/json", - "text/json", - "application/x-www-form-urlencoded" - ], - "produces": [ - "application/json", - "text/json", - "application/xml", - "text/xml" - ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -15951,12 +14568,6 @@ "summary": "Gets an app's Virtual Network gateway.", "description": "Gets an app's Virtual Network gateway.", "operationId": "WebApps_GetVnetConnectionGateway", - "produces": [ - "application/json", - "text/json", - "application/xml", - "text/xml" - ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -16008,17 +14619,6 @@ "summary": "Adds a gateway to a connected Virtual Network (PUT) or updates it (PATCH).", "description": "Adds a gateway to a connected Virtual Network (PUT) or updates it (PATCH).", "operationId": "WebApps_CreateOrUpdateVnetConnectionGateway", - "consumes": [ - "application/json", - "text/json", - "application/x-www-form-urlencoded" - ], - "produces": [ - "application/json", - "text/json", - "application/xml", - "text/xml" - ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -16076,17 +14676,6 @@ "summary": "Adds a gateway to a connected Virtual Network (PUT) or updates it (PATCH).", "description": "Adds a gateway to a connected Virtual Network (PUT) or updates it (PATCH).", "operationId": "WebApps_UpdateVnetConnectionGateway", - "consumes": [ - "application/json", - "text/json", - "application/x-www-form-urlencoded" - ], - "produces": [ - "application/json", - "text/json", - "application/xml", - "text/xml" - ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -16146,10 +14735,6 @@ "summary": "List webjobs for an app, or a deployment slot.", "description": "List webjobs for an app, or a deployment slot.", "operationId": "WebApps_ListWebJobs", - "produces": [ - "application/json", - "text/json" - ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -16189,12 +14774,6 @@ "summary": "Get webjob information for an app, or a deployment slot.", "description": "Get webjob information for an app, or a deployment slot.", "operationId": "WebApps_GetWebJob", - "produces": [ - "application/json", - "text/json", - "application/xml", - "text/xml" - ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -16282,13 +14861,13 @@ "description": "Custom action to be taken." }, "minProcessExecutionTime": { - "description": "Minimum time the process must execute\n before taking the action", + "description": "Minimum time the process must execute\nbefore taking the action", "type": "string" } } }, "AutoHealCustomAction": { - "description": "Custom action to be executed\n when an auto heal rule is triggered.", + "description": "Custom action to be executed\nwhen an auto heal rule is triggered.", "type": "object", "properties": { "exe": { @@ -16366,7 +14945,7 @@ }, "retentionInDays": { "format": "int32", - "description": "Retention in days.\n Remove blobs older than X days.\n 0 or lower means no retention.", + "description": "Retention in days.\nRemove blobs older than X days.\n0 or lower means no retention.", "type": "integer" } } @@ -16381,7 +14960,7 @@ }, "retentionInDays": { "format": "int32", - "description": "Retention in days.\n Remove blobs older than X days.\n 0 or lower means no retention.", + "description": "Retention in days.\nRemove blobs older than X days.\n0 or lower means no retention.", "type": "integer" }, "enabled": { @@ -16671,8 +15250,10 @@ "type": "object", "properties": { "correlationId": { - "description": "Correlation ID of cloning operation. This ID ties multiple cloning operations\n together to use the same snapshot.", - "type": "string" + "format": "uuid", + "description": "Correlation ID of cloning operation. This ID ties multiple cloning operations\ntogether to use the same snapshot.", + "type": "string", + "example": "00000000-0000-0000-0000-000000000000" }, "overwrite": { "description": "true to overwrite destination app; otherwise, false.", @@ -16687,7 +15268,7 @@ "type": "boolean" }, "sourceWebAppId": { - "description": "ARM resource ID of the source app. App resource ID is of the form \n /subscriptions/{subId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{siteName} for production slots and \n /subscriptions/{subId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{siteName}/slots/{slotName} for other slots.", + "description": "ARM resource ID of the source app. App resource ID is of the form \n/subscriptions/{subId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{siteName} for production slots and \n/subscriptions/{subId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{siteName}/slots/{slotName} for other slots.", "type": "string" }, "hostingEnvironment": { @@ -16695,7 +15276,7 @@ "type": "string" }, "appSettingsOverrides": { - "description": "Application setting overrides for cloned app. If specified, these settings override the settings cloned \n from source app. Otherwise, application settings from source app are retained.", + "description": "Application setting overrides for cloned app. If specified, these settings override the settings cloned \nfrom source app. Otherwise, application settings from source app are retained.", "type": "object", "additionalProperties": { "type": "string" @@ -16706,7 +15287,7 @@ "type": "boolean" }, "trafficManagerProfileId": { - "description": "ARM resource ID of the Traffic Manager profile to use, if it exists. Traffic Manager resource ID is of the form \n /subscriptions/{subId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/trafficManagerProfiles/{profileName}.", + "description": "ARM resource ID of the Traffic Manager profile to use, if it exists. Traffic Manager resource ID is of the form \n/subscriptions/{subId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/trafficManagerProfiles/{profileName}.", "type": "string" }, "trafficManagerProfileName": { @@ -16882,7 +15463,10 @@ }, "settings": { "description": "Job settings.", - "type": "object" + "type": "object", + "additionalProperties": { + "type": "object" + } } }, "x-ms-client-flatten": true @@ -16914,7 +15498,7 @@ "type": "object", "properties": { "allowedOrigins": { - "description": "Gets or sets the list of origins that should be allowed to make cross-origin\n calls (for example: http://example.com:12345). Use \"*\" to allow all.", + "description": "Gets or sets the list of origins that should be allowed to make cross-origin\ncalls (for example: http://example.com:12345). Use \"*\" to allow all.", "type": "array", "items": { "type": "string" @@ -16927,7 +15511,7 @@ "type": "object", "properties": { "format": { - "description": "Name of the format. Valid values are: \n FileZilla3\n WebDeploy -- default\n Ftp", + "description": "Name of the format. Valid values are: \nFileZilla3\nWebDeploy -- default\nFtp", "enum": [ "FileZilla3", "WebDeploy", @@ -17124,7 +15708,7 @@ "type": "string" }, "connectionStringName": { - "description": "Contains a connection string name that is linked to the SiteConfig.ConnectionStrings.\n This is used during restore with overwrite connection strings options.", + "description": "Contains a connection string name that is linked to the SiteConfig.ConnectionStrings.\nThis is used during restore with overwrite connection strings options.", "type": "string" }, "connectionString": { @@ -17235,14 +15819,6 @@ "description": "Body of the error response returned from the API.", "type": "object", "properties": { - "code": { - "description": "Basic error code.", - "type": "string" - }, - "message": { - "description": "Any details of the error.", - "type": "string" - }, "extendedCode": { "description": "Type of error.", "type": "string" @@ -17264,6 +15840,14 @@ "items": { "$ref": "#/definitions/ErrorEntity" } + }, + "code": { + "description": "Basic error code.", + "type": "string" + }, + "message": { + "description": "Any details of the error.", + "type": "string" } } }, @@ -17308,14 +15892,14 @@ "properties": { "retentionInMb": { "format": "int32", - "description": "Maximum size in megabytes that http log files can use.\n When reached old log files will be removed to make space for new ones.\n Value can range between 25 and 100.", + "description": "Maximum size in megabytes that http log files can use.\nWhen reached old log files will be removed to make space for new ones.\nValue can range between 25 and 100.", "maximum": 100, "minimum": 25, "type": "integer" }, "retentionInDays": { "format": "int32", - "description": "Retention in days.\n Remove files older than X days.\n 0 or lower means no retention.", + "description": "Retention in days.\nRemove files older than X days.\n0 or lower means no retention.", "type": "integer" }, "enabled": { @@ -17432,7 +16016,7 @@ } }, "HandlerMapping": { - "description": "The IIS handler mappings used to define which handler processes HTTP requests with certain extension. \n For example, it is used to configure php-cgi.exe process to handle all HTTP requests with *.php extension.", + "description": "The IIS handler mappings used to define which handler processes HTTP requests with certain extension. \nFor example, it is used to configure php-cgi.exe process to handle all HTTP requests with *.php extension.", "type": "object", "properties": { "extension": { @@ -17460,18 +16044,7 @@ "properties": { "properties": { "description": "HostNameBinding resource specific properties", - "required": [ - "name" - ], "properties": { - "name": { - "description": "Hostname.", - "type": "string", - "x-ms-mutability": [ - "create", - "read" - ] - }, "siteName": { "description": "App Service app name.", "type": "string", @@ -17726,7 +16299,7 @@ "type": "string" }, "sendKeyValue": { - "description": "The value of the Service Bus key. This is used to authenticate to Service Bus. In ARM this key will not be returned\n normally, use the POST /listKeys API instead.", + "description": "The value of the Service Bus key. This is used to authenticate to Service Bus. In ARM this key will not be returned\nnormally, use the POST /listKeys API instead.", "type": "string" }, "serviceBusSuffix": { @@ -17848,6 +16421,7 @@ "properties": { "properties": { "$ref": "#/definitions/MSDeployCore", + "description": "Core resource properties", "properties": { "addOnPackages": { "description": "List of Add-On packages. Add-On packages implicitly enable the Do Not Delete MSDeploy rule.", @@ -17889,11 +16463,11 @@ } }, "skipAppData": { - "description": "Controls whether the MSDeploy operation skips the App_Data directory.\n If set to true, the existing App_Data directory on the destination\n will not be deleted, and any App_Data directory in the source will be ignored.\n Setting is false by default.", + "description": "Controls whether the MSDeploy operation skips the App_Data directory.\nIf set to true, the existing App_Data directory on the destination\nwill not be deleted, and any App_Data directory in the source will be ignored.\nSetting is false by default.", "type": "boolean" }, "appOffline": { - "description": "Sets the AppOffline rule while the MSDeploy operation executes.\n Setting is false by default.", + "description": "Sets the AppOffline rule while the MSDeploy operation executes.\nSetting is false by default.", "type": "boolean" } } @@ -18009,6 +16583,32 @@ } } }, + "ManagedServiceIdentity": { + "description": "Managed service identity.", + "type": "object", + "properties": { + "type": { + "description": "Type of managed service identity.", + "enum": [ + "SystemAssigned" + ], + "x-ms-enum": { + "name": "ManagedServiceIdentityType", + "modelAsString": true + } + }, + "tenantId": { + "description": "Tenant of managed service identity.", + "type": "string", + "readOnly": true + }, + "principalId": { + "description": "Principal Id of managed service identity.", + "type": "string", + "readOnly": true + } + } + }, "MigrateMySqlRequest": { "description": "MySQL migration request.", "type": "object", @@ -18196,8 +16796,10 @@ "type": "string" }, "geoMasterOperationId": { + "format": "uuid", "description": "Applicable only for stamp operation ids.", - "type": "string" + "type": "string", + "example": "00000000-0000-0000-0000-000000000000" } } }, @@ -18777,6 +17379,7 @@ "description": "PublicCertificate resource specific properties", "properties": { "blob": { + "format": "byte", "description": "Public Certificate byte array", "type": "string" }, @@ -18847,7 +17450,7 @@ "type": "string" }, "tagsRequiringAuth": { - "description": "Gets or sets a JSON string containing a list of tags that require user authentication to be used in the push registration endpoint.\n Tags can consist of alphanumeric characters and the following:\n '_', '@', '#', '.', ':', '-'. \n Validation should be performed at the PushRequestHandler.", + "description": "Gets or sets a JSON string containing a list of tags that require user authentication to be used in the push registration endpoint.\nTags can consist of alphanumeric characters and the following:\n'_', '@', '#', '.', ':', '-'. \nValidation should be performed at the PushRequestHandler.", "type": "string" }, "dynamicTagsJson": { @@ -18874,7 +17477,7 @@ }, "changeStep": { "format": "double", - "description": "In auto ramp up scenario this is the step to to add/remove from ReroutePercentage until it reaches \n MinReroutePercentage or MaxReroutePercentage. Site metrics are checked every N minutes specificed in ChangeIntervalInMinutes.\n Custom decision algorithm can be provided in TiPCallback site extension which URL can be specified in ChangeDecisionCallbackUrl.", + "description": "In auto ramp up scenario this is the step to to add/remove from ReroutePercentage until it reaches \nMinReroutePercentage or MaxReroutePercentage. Site metrics are checked every N minutes specificed in ChangeIntervalInMinutes.\nCustom decision algorithm can be provided in TiPCallback site extension which URL can be specified in ChangeDecisionCallbackUrl.", "type": "number" }, "changeIntervalInMinutes": { @@ -18893,7 +17496,7 @@ "type": "number" }, "changeDecisionCallbackUrl": { - "description": "Custom decision algorithm can be provided in TiPCallback site extension which URL can be specified. See TiPCallback site extension for the scaffold and contracts.\n https://www.siteextensions.net/packages/TiPCallback/", + "description": "Custom decision algorithm can be provided in TiPCallback site extension which URL can be specified. See TiPCallback site extension for the scaffold and contracts.\nhttps://www.siteextensions.net/packages/TiPCallback/", "type": "string" }, "name": { @@ -18991,35 +17594,9 @@ "additionalProperties": { "type": "string" } - }, - "identity": { - "description": "Identity for the resource.", - "type": "object", - "properties": { - "principalId": { - "description": "The principal ID of resource identity.", - "type": "string", - "readOnly": true - }, - "tenantId": { - "description": "The tenant ID of resource.", - "type": "string", - "readOnly": true - }, - "type": { - "description": "The identity type.", - "type": "string", - "enum": [ - "SystemAssigned" - ], - "x-ms-enum": { - "name": "ManagedServiceIdentityType", - "modelAsString": false - } - } - } } - } + }, + "x-ms-azure-resource": true }, "ResourceMetric": { "description": "Object representing a metric for any resource .", @@ -19313,7 +17890,7 @@ } }, "ignoreConflictingHostNames": { - "description": "Changes a logic when restoring an app with custom domains. true to remove custom domains automatically. If false, custom domains are added to \n the app's object when it is being restored, but that might fail due to conflicts during the operation.", + "description": "Changes a logic when restoring an app with custom domains. true to remove custom domains automatically. If false, custom domains are added to \nthe app's object when it is being restored, but that might fail due to conflicts during the operation.", "default": false, "type": "boolean" }, @@ -19424,7 +18001,7 @@ "type": "boolean" }, "enabledHostNames": { - "description": "Enabled hostnames for the app.Hostnames need to be assigned (see HostNames) AND enabled. Otherwise,\n the app is not served on those hostnames.", + "description": "Enabled hostnames for the app.Hostnames need to be assigned (see HostNames) AND enabled. Otherwise,\nthe app is not served on those hostnames.", "type": "array", "items": { "type": "string" @@ -19514,7 +18091,12 @@ "type": "boolean" }, "outboundIpAddresses": { - "description": "List of IP addresses that the app uses for outbound connections (e.g. database access). Read-only.", + "description": "List of IP addresses that the app uses for outbound connections (e.g. database access). Includes VIPs from tenants that site can be hosted with current settings. Read-only.", + "type": "string", + "readOnly": true + }, + "possibleOutboundIpAddresses": { + "description": "List of IP addresses that the app uses for outbound connections (e.g. database access). Includes VIPs from all tenants. Read-only.", "type": "string", "readOnly": true }, @@ -19536,7 +18118,7 @@ }, "maxNumberOfWorkers": { "format": "int32", - "description": "Maximum number of workers.\n This only applies to Functions container.", + "description": "Maximum number of workers.\nThis only applies to Functions container.", "type": "integer", "readOnly": true }, @@ -19573,9 +18155,16 @@ "$ref": "#/definitions/SlotSwapStatus", "description": "Status of the last deployment slot swap operation.", "readOnly": true + }, + "httpsOnly": { + "description": "HttpsOnly: configures a web site to accept only https requests. Issues redirect for\nhttp requests", + "type": "boolean" } }, "x-ms-client-flatten": true + }, + "identity": { + "$ref": "#/definitions/ManagedServiceIdentity" } } }, @@ -19596,7 +18185,7 @@ "type": "boolean" }, "runtimeVersion": { - "description": "The RuntimeVersion of the Authentication / Authorization feature in use for the current app.\n The setting in this value can control the behavior of certain features in the Authentication / Authorization module.", + "description": "The RuntimeVersion of the Authentication / Authorization feature in use for the current app.\nThe setting in this value can control the behavior of certain features in the Authentication / Authorization module.", "type": "string" }, "unauthenticatedClientAction": { @@ -19616,14 +18205,14 @@ "type": "boolean" }, "allowedExternalRedirectUrls": { - "description": "External URLs that can be redirected to as part of logging in or logging out of the app. Note that the query string part of the URL is ignored.\n This is an advanced setting typically only needed by Windows Store application backends.\n Note that URLs within the current domain are always implicitly allowed.", + "description": "External URLs that can be redirected to as part of logging in or logging out of the app. Note that the query string part of the URL is ignored.\nThis is an advanced setting typically only needed by Windows Store application backends.\nNote that URLs within the current domain are always implicitly allowed.", "type": "array", "items": { "type": "string" } }, "defaultProvider": { - "description": "The default authentication provider to use when multiple providers are configured.\n This setting is only needed if multiple providers are configured and the unauthenticated client\n action is set to \"RedirectToLoginPage\".", + "description": "The default authentication provider to use when multiple providers are configured.\nThis setting is only needed if multiple providers are configured and the unauthenticated client\naction is set to \"RedirectToLoginPage\".", "enum": [ "AzureActiveDirectory", "Facebook", @@ -19639,83 +18228,83 @@ }, "tokenRefreshExtensionHours": { "format": "double", - "description": "The number of hours after session token expiration that a session token can be used to\n call the token refresh API. The default is 72 hours.", + "description": "The number of hours after session token expiration that a session token can be used to\ncall the token refresh API. The default is 72 hours.", "type": "number" }, "clientId": { - "description": "The Client ID of this relying party application, known as the client_id.\n This setting is required for enabling OpenID Connection authentication with Azure Active Directory or \n other 3rd party OpenID Connect providers.\n More information on OpenID Connect: http://openid.net/specs/openid-connect-core-1_0.html", + "description": "The Client ID of this relying party application, known as the client_id.\nThis setting is required for enabling OpenID Connection authentication with Azure Active Directory or \nother 3rd party OpenID Connect providers.\nMore information on OpenID Connect: http://openid.net/specs/openid-connect-core-1_0.html", "type": "string" }, "clientSecret": { - "description": "The Client Secret of this relying party application (in Azure Active Directory, this is also referred to as the Key).\n This setting is optional. If no client secret is configured, the OpenID Connect implicit auth flow is used to authenticate end users.\n Otherwise, the OpenID Connect Authorization Code Flow is used to authenticate end users.\n More information on OpenID Connect: http://openid.net/specs/openid-connect-core-1_0.html", + "description": "The Client Secret of this relying party application (in Azure Active Directory, this is also referred to as the Key).\nThis setting is optional. If no client secret is configured, the OpenID Connect implicit auth flow is used to authenticate end users.\nOtherwise, the OpenID Connect Authorization Code Flow is used to authenticate end users.\nMore information on OpenID Connect: http://openid.net/specs/openid-connect-core-1_0.html", "type": "string" }, "issuer": { - "description": "The OpenID Connect Issuer URI that represents the entity which issues access tokens for this application.\n When using Azure Active Directory, this value is the URI of the directory tenant, e.g. https://sts.windows.net/{tenant-guid}/.\n This URI is a case-sensitive identifier for the token issuer.\n More information on OpenID Connect Discovery: http://openid.net/specs/openid-connect-discovery-1_0.html", + "description": "The OpenID Connect Issuer URI that represents the entity which issues access tokens for this application.\nWhen using Azure Active Directory, this value is the URI of the directory tenant, e.g. https://sts.windows.net/{tenant-guid}/.\nThis URI is a case-sensitive identifier for the token issuer.\nMore information on OpenID Connect Discovery: http://openid.net/specs/openid-connect-discovery-1_0.html", "type": "string" }, "allowedAudiences": { - "description": "Allowed audience values to consider when validating JWTs issued by \n Azure Active Directory. Note that the ClientID value is always considered an\n allowed audience, regardless of this setting.", + "description": "Allowed audience values to consider when validating JWTs issued by \nAzure Active Directory. Note that the ClientID value is always considered an\nallowed audience, regardless of this setting.", "type": "array", "items": { "type": "string" } }, "additionalLoginParams": { - "description": "Login parameters to send to the OpenID Connect authorization endpoint when\n a user logs in. Each parameter must be in the form \"key=value\".", + "description": "Login parameters to send to the OpenID Connect authorization endpoint when\na user logs in. Each parameter must be in the form \"key=value\".", "type": "array", "items": { "type": "string" } }, "googleClientId": { - "description": "The OpenID Connect Client ID for the Google web application.\n This setting is required for enabling Google Sign-In.\n Google Sign-In documentation: https://developers.google.com/identity/sign-in/web/", + "description": "The OpenID Connect Client ID for the Google web application.\nThis setting is required for enabling Google Sign-In.\nGoogle Sign-In documentation: https://developers.google.com/identity/sign-in/web/", "type": "string" }, "googleClientSecret": { - "description": "The client secret associated with the Google web application.\n This setting is required for enabling Google Sign-In.\n Google Sign-In documentation: https://developers.google.com/identity/sign-in/web/", + "description": "The client secret associated with the Google web application.\nThis setting is required for enabling Google Sign-In.\nGoogle Sign-In documentation: https://developers.google.com/identity/sign-in/web/", "type": "string" }, "googleOAuthScopes": { - "description": "The OAuth 2.0 scopes that will be requested as part of Google Sign-In authentication.\n This setting is optional. If not specified, \"openid\", \"profile\", and \"email\" are used as default scopes.\n Google Sign-In documentation: https://developers.google.com/identity/sign-in/web/", + "description": "The OAuth 2.0 scopes that will be requested as part of Google Sign-In authentication.\nThis setting is optional. If not specified, \"openid\", \"profile\", and \"email\" are used as default scopes.\nGoogle Sign-In documentation: https://developers.google.com/identity/sign-in/web/", "type": "array", "items": { "type": "string" } }, "facebookAppId": { - "description": "The App ID of the Facebook app used for login.\n This setting is required for enabling Facebook Login.\n Facebook Login documentation: https://developers.facebook.com/docs/facebook-login", + "description": "The App ID of the Facebook app used for login.\nThis setting is required for enabling Facebook Login.\nFacebook Login documentation: https://developers.facebook.com/docs/facebook-login", "type": "string" }, "facebookAppSecret": { - "description": "The App Secret of the Facebook app used for Facebook Login.\n This setting is required for enabling Facebook Login.\n Facebook Login documentation: https://developers.facebook.com/docs/facebook-login", + "description": "The App Secret of the Facebook app used for Facebook Login.\nThis setting is required for enabling Facebook Login.\nFacebook Login documentation: https://developers.facebook.com/docs/facebook-login", "type": "string" }, "facebookOAuthScopes": { - "description": "The OAuth 2.0 scopes that will be requested as part of Facebook Login authentication.\n This setting is optional.\n Facebook Login documentation: https://developers.facebook.com/docs/facebook-login", + "description": "The OAuth 2.0 scopes that will be requested as part of Facebook Login authentication.\nThis setting is optional.\nFacebook Login documentation: https://developers.facebook.com/docs/facebook-login", "type": "array", "items": { "type": "string" } }, "twitterConsumerKey": { - "description": "The OAuth 1.0a consumer key of the Twitter application used for sign-in.\n This setting is required for enabling Twitter Sign-In.\n Twitter Sign-In documentation: https://dev.twitter.com/web/sign-in", + "description": "The OAuth 1.0a consumer key of the Twitter application used for sign-in.\nThis setting is required for enabling Twitter Sign-In.\nTwitter Sign-In documentation: https://dev.twitter.com/web/sign-in", "type": "string" }, "twitterConsumerSecret": { - "description": "The OAuth 1.0a consumer secret of the Twitter application used for sign-in.\n This setting is required for enabling Twitter Sign-In.\n Twitter Sign-In documentation: https://dev.twitter.com/web/sign-in", + "description": "The OAuth 1.0a consumer secret of the Twitter application used for sign-in.\nThis setting is required for enabling Twitter Sign-In.\nTwitter Sign-In documentation: https://dev.twitter.com/web/sign-in", "type": "string" }, "microsoftAccountClientId": { - "description": "The OAuth 2.0 client ID that was created for the app used for authentication.\n This setting is required for enabling Microsoft Account authentication.\n Microsoft Account OAuth documentation: https://dev.onedrive.com/auth/msa_oauth.htm", + "description": "The OAuth 2.0 client ID that was created for the app used for authentication.\nThis setting is required for enabling Microsoft Account authentication.\nMicrosoft Account OAuth documentation: https://dev.onedrive.com/auth/msa_oauth.htm", "type": "string" }, "microsoftAccountClientSecret": { - "description": "The OAuth 2.0 client secret that was created for the app used for authentication.\n This setting is required for enabling Microsoft Account authentication.\n Microsoft Account OAuth documentation: https://dev.onedrive.com/auth/msa_oauth.htm", + "description": "The OAuth 2.0 client secret that was created for the app used for authentication.\nThis setting is required for enabling Microsoft Account authentication.\nMicrosoft Account OAuth documentation: https://dev.onedrive.com/auth/msa_oauth.htm", "type": "string" }, "microsoftAccountOAuthScopes": { - "description": "The OAuth 2.0 scopes that will be requested as part of Microsoft Account authentication.\n This setting is optional. If not specified, \"wl.basic\" is used as the default scope.\n Microsoft Account Scopes and permissions documentation: https://msdn.microsoft.com/en-us/library/dn631845.aspx", + "description": "The OAuth 2.0 scopes that will be requested as part of Microsoft Account authentication.\nThis setting is optional. If not specified, \"wl.basic\" is used as the default scope.\nMicrosoft Account Scopes and permissions documentation: https://msdn.microsoft.com/en-us/library/dn631845.aspx", "type": "array", "items": { "type": "string" @@ -19751,7 +18340,7 @@ } }, "unsupportedFeatures": { - "description": "List of features enabled on app that are non-blocking but cannot be cloned. The app can still be cloned\n but the features in this list will not be set up on cloned app.", + "description": "List of features enabled on app that are non-blocking but cannot be cloned. The app can still be cloned\nbut the features in this list will not be set up on cloned app.", "type": "array", "items": { "$ref": "#/definitions/SiteCloneabilityCriterion" @@ -20035,6 +18624,7 @@ "properties": { "properties": { "$ref": "#/definitions/SiteConfig", + "description": "Core resource properties", "x-ms-client-flatten": true } } @@ -20088,6 +18678,26 @@ } } }, + "SiteConfigurationSnapshotInfoCollection": { + "description": "Collection of metadata for the app configuration snapshots that can be restored.", + "required": [ + "value" + ], + "type": "object", + "properties": { + "value": { + "description": "Collection of resources.", + "type": "array", + "items": { + "$ref": "#/definitions/SiteConfigurationSnapshotInfo" + } + }, + "nextLink": { + "description": "Link to next page of resources.", + "type": "string" + } + } + }, "SiteExtensionInfo": { "description": "Site Extension Information.", "type": "object", @@ -20317,6 +18927,218 @@ } } }, + "SitePatchResource": { + "description": "ARM resource for a site.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/ProxyOnlyResource" + } + ], + "properties": { + "properties": { + "description": "SitePatchResource resource specific properties", + "properties": { + "state": { + "description": "Current state of the app.", + "type": "string", + "readOnly": true + }, + "hostNames": { + "description": "Hostnames associated with the app.", + "type": "array", + "items": { + "type": "string" + }, + "readOnly": true + }, + "repositorySiteName": { + "description": "Name of the repository site.", + "type": "string", + "readOnly": true + }, + "usageState": { + "description": "State indicating whether the app has exceeded its quota usage. Read-only.", + "enum": [ + "Normal", + "Exceeded" + ], + "type": "string", + "readOnly": true, + "x-ms-enum": { + "name": "UsageState", + "modelAsString": false + } + }, + "enabled": { + "description": "true if the app is enabled; otherwise, false. Setting this value to false disables the app (takes the app offline).", + "type": "boolean" + }, + "enabledHostNames": { + "description": "Enabled hostnames for the app.Hostnames need to be assigned (see HostNames) AND enabled. Otherwise,\nthe app is not served on those hostnames.", + "type": "array", + "items": { + "type": "string" + }, + "readOnly": true + }, + "availabilityState": { + "description": "Management information availability state for the app.", + "enum": [ + "Normal", + "Limited", + "DisasterRecoveryMode" + ], + "type": "string", + "readOnly": true, + "x-ms-enum": { + "name": "SiteAvailabilityState", + "modelAsString": false + } + }, + "hostNameSslStates": { + "description": "Hostname SSL states are used to manage the SSL bindings for app's hostnames.", + "type": "array", + "items": { + "$ref": "#/definitions/HostNameSslState" + } + }, + "serverFarmId": { + "description": "Resource ID of the associated App Service plan, formatted as: \"/subscriptions/{subscriptionID}/resourceGroups/{groupName}/providers/Microsoft.Web/serverfarms/{appServicePlanName}\".", + "type": "string" + }, + "reserved": { + "description": "true if reserved; otherwise, false.", + "default": false, + "type": "boolean", + "x-ms-mutability": [ + "create", + "read" + ] + }, + "lastModifiedTimeUtc": { + "format": "date-time", + "description": "Last time the app was modified, in UTC. Read-only.", + "type": "string", + "readOnly": true + }, + "siteConfig": { + "$ref": "#/definitions/SiteConfig", + "description": "Configuration of the app." + }, + "trafficManagerHostNames": { + "description": "Azure Traffic Manager hostnames associated with the app. Read-only.", + "type": "array", + "items": { + "type": "string" + }, + "readOnly": true + }, + "scmSiteAlsoStopped": { + "description": "true to stop SCM (KUDU) site when the app is stopped; otherwise, false. The default is false.", + "default": false, + "type": "boolean" + }, + "targetSwapSlot": { + "description": "Specifies which deployment slot this app will swap into. Read-only.", + "type": "string", + "readOnly": true + }, + "hostingEnvironmentProfile": { + "$ref": "#/definitions/HostingEnvironmentProfile", + "description": "App Service Environment to use for the app.", + "x-ms-mutability": [ + "create", + "read" + ] + }, + "clientAffinityEnabled": { + "description": "true to enable client affinity; false to stop sending session affinity cookies, which route client requests in the same session to the same instance. Default is true.", + "type": "boolean" + }, + "clientCertEnabled": { + "description": "true to enable client certificate authentication (TLS mutual authentication); otherwise, false. Default is false.", + "type": "boolean" + }, + "hostNamesDisabled": { + "description": "true to disable the public hostnames of the app; otherwise, false.\n If true, the app is only accessible via API management process.", + "type": "boolean" + }, + "outboundIpAddresses": { + "description": "List of IP addresses that the app uses for outbound connections (e.g. database access). Includes VIPs from tenants that site can be hosted with current settings. Read-only.", + "type": "string", + "readOnly": true + }, + "possibleOutboundIpAddresses": { + "description": "List of IP addresses that the app uses for outbound connections (e.g. database access). Includes VIPs from all tenants. Read-only.", + "type": "string", + "readOnly": true + }, + "containerSize": { + "format": "int32", + "description": "Size of the function container.", + "type": "integer" + }, + "dailyMemoryTimeQuota": { + "format": "int32", + "description": "Maximum allowed daily memory-time quota (applicable on dynamic apps only).", + "type": "integer" + }, + "suspendedTill": { + "format": "date-time", + "description": "App suspended till in case memory-time quota is exceeded.", + "type": "string", + "readOnly": true + }, + "maxNumberOfWorkers": { + "format": "int32", + "description": "Maximum number of workers.\nThis only applies to Functions container.", + "type": "integer", + "readOnly": true + }, + "cloningInfo": { + "$ref": "#/definitions/CloningInfo", + "description": "If specified during app creation, the app is cloned from a source app.", + "x-ms-mutability": [ + "create" + ] + }, + "snapshotInfo": { + "$ref": "#/definitions/SnapshotRecoveryRequest", + "description": "If specified during app creation, the app is created from a previous snapshot.", + "x-ms-mutability": [ + "create" + ] + }, + "resourceGroup": { + "description": "Name of the resource group the app belongs to. Read-only.", + "type": "string", + "readOnly": true + }, + "isDefaultContainer": { + "description": "true if the app is a default container; otherwise, false.", + "type": "boolean", + "readOnly": true + }, + "defaultHostName": { + "description": "Default hostname of the app. Read-only.", + "type": "string", + "readOnly": true + }, + "slotSwapStatus": { + "$ref": "#/definitions/SlotSwapStatus", + "description": "Status of the last deployment slot swap operation.", + "readOnly": true + }, + "httpsOnly": { + "description": "HttpsOnly: configures a web site to accept only https requests. Issues redirect for\nhttp requests", + "type": "boolean" + } + }, + "x-ms-client-flatten": true + } + } + }, "SitePhpErrorLogFlag": { "description": "Used for getting PHP error logging flag.", "type": "object", @@ -20408,7 +19230,7 @@ } }, "SlotConfigNames": { - "description": "Names for connection strings and application settings to be marked as sticky to the deployment slot and not moved during a swap operation.\n This is valid for all deployment slots in an app.", + "description": "Names for connection strings and application settings to be marked as sticky to the deployment slot and not moved during a swap operation.\nThis is valid for all deployment slots in an app.", "type": "object", "properties": { "connectionStringNames": { @@ -20438,6 +19260,7 @@ "properties": { "properties": { "$ref": "#/definitions/SlotConfigNames", + "description": "Core resource properties", "x-ms-client-flatten": true } } @@ -20629,7 +19452,7 @@ "type": "boolean" }, "ignoreConflictingHostNames": { - "description": "If true, custom hostname conflicts will be ignored when recovering to a target web app.\n This setting is only necessary when RecoverConfiguration is enabled.", + "description": "If true, custom hostname conflicts will be ignored when recovering to a target web app.\nThis setting is only necessary when RecoverConfiguration is enabled.", "type": "boolean" } }, @@ -20646,7 +19469,7 @@ "type": "string" }, "id": { - "description": "ARM resource ID of the target app. \n /subscriptions/{subId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{siteName} for production slots and \n /subscriptions/{subId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{siteName}/slots/{slotName} for other slots.", + "description": "ARM resource ID of the target app. \n/subscriptions/{subId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{siteName} for production slots and \n/subscriptions/{subId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{siteName}/slots/{slotName} for other slots.", "type": "string" } } @@ -20957,7 +19780,10 @@ }, "settings": { "description": "Job settings.", - "type": "object" + "type": "object", + "additionalProperties": { + "type": "object" + } } }, "x-ms-client-flatten": true @@ -21125,7 +19951,8 @@ "readOnly": true }, "certBlob": { - "description": "A certificate file (.cer) blob containing the public key of the private key used to authenticate a \n Point-To-Site VPN connection.", + "format": "byte", + "description": "A certificate file (.cer) blob containing the public key of the private key used to authenticate a \nPoint-To-Site VPN connection.", "type": "string" }, "routes": { @@ -21180,7 +20007,7 @@ "type": "string" }, "routeType": { - "description": "The type of route this is:\n DEFAULT - By default, every app has routes to the local address ranges specified by RFC1918\n INHERITED - Routes inherited from the real Virtual Network routes\n STATIC - Static route set on the app only\n \n These values will be used for syncing an app's routes with those from a Virtual Network.", + "description": "The type of route this is:\nDEFAULT - By default, every app has routes to the local address ranges specified by RFC1918\nINHERITED - Routes inherited from the real Virtual Network routes\nSTATIC - Static route set on the app only\n\nThese values will be used for syncing an app's routes with those from a Virtual Network.", "enum": [ "DEFAULT", "INHERITED", @@ -21288,7 +20115,10 @@ }, "settings": { "description": "Job settings.", - "type": "object" + "type": "object", + "additionalProperties": { + "type": "object" + } } }, "x-ms-client-flatten": true @@ -21329,11 +20159,11 @@ "in": "path", "description": "Name of the resource group to which the resource belongs.", "required": true, - "x-ms-parameter-location": "method", "type": "string", "maxLength": 90, "minLength": 1, - "pattern": "^[-\\w\\._\\(\\)]+[^\\.]$" + "pattern": "^[-\\w\\._\\(\\)]+[^\\.]$", + "x-ms-parameter-location": "method" }, "apiVersionParameter": { "name": "api-version", diff --git a/specification/web/resource-manager/Microsoft.Web/2016-09-01/AppServiceEnvironments.json b/specification/web/resource-manager/Microsoft.Web/2016-09-01/AppServiceEnvironments.json index 1cfcf98c0725..4e0383acf992 100644 --- a/specification/web/resource-manager/Microsoft.Web/2016-09-01/AppServiceEnvironments.json +++ b/specification/web/resource-manager/Microsoft.Web/2016-09-01/AppServiceEnvironments.json @@ -8,6 +8,12 @@ "schemes": [ "https" ], + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], "paths": { "/subscriptions/{subscriptionId}/providers/Microsoft.Web/hostingEnvironments": { "get": { @@ -17,10 +23,6 @@ "summary": "Get all App Service Environments for a subscription.", "description": "Get all App Service Environments for a subscription.", "operationId": "AppServiceEnvironments_List", - "produces": [ - "application/json", - "text/json" - ], "parameters": [ { "$ref": "#/parameters/subscriptionIdParameter" @@ -50,10 +52,6 @@ "summary": "Get all App Service Environments in a resource group.", "description": "Get all App Service Environments in a resource group.", "operationId": "AppServiceEnvironments_ListByResourceGroup", - "produces": [ - "application/json", - "text/json" - ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -86,12 +84,6 @@ "summary": "Get the properties of an App Service Environment.", "description": "Get the properties of an App Service Environment.", "operationId": "AppServiceEnvironments_Get", - "produces": [ - "application/json", - "text/json", - "application/xml", - "text/xml" - ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -126,17 +118,6 @@ "summary": "Create or update an App Service Environment.", "description": "Create or update an App Service Environment.", "operationId": "AppServiceEnvironments_CreateOrUpdate", - "consumes": [ - "application/json", - "text/json", - "application/x-www-form-urlencoded" - ], - "produces": [ - "application/json", - "text/json", - "application/xml", - "text/xml" - ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -238,6 +219,64 @@ } }, "x-ms-long-running-operation": true + }, + "patch": { + "tags": [ + "AppServiceEnvironments" + ], + "summary": "Create or update an App Service Environment.", + "description": "Create or update an App Service Environment.", + "operationId": "AppServiceEnvironments_Update", + "parameters": [ + { + "$ref": "#/parameters/resourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of the App Service Environment.", + "required": true, + "type": "string" + }, + { + "name": "hostingEnvironmentEnvelope", + "in": "body", + "description": "Configuration details of the App Service Environment.", + "required": true, + "schema": { + "$ref": "#/definitions/AppServiceEnvironmentPatchResource" + } + }, + { + "$ref": "#/parameters/subscriptionIdParameter" + }, + { + "$ref": "#/parameters/apiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/AppServiceEnvironmentResource" + } + }, + "202": { + "description": "Operation is in progress.", + "schema": { + "$ref": "#/definitions/AppServiceEnvironmentResource" + } + }, + "400": { + "description": "Bad request." + }, + "404": { + "description": "Not found." + }, + "409": { + "description": "Conflict." + } + } } }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/capacities/compute": { @@ -248,10 +287,6 @@ "summary": "Get the used, available, and total worker capacity an App Service Environment.", "description": "Get the used, available, and total worker capacity an App Service Environment.", "operationId": "AppServiceEnvironments_ListCapacities", - "produces": [ - "application/json", - "text/json" - ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -291,12 +326,6 @@ "summary": "Get IP addresses assigned to an App Service Environment.", "description": "Get IP addresses assigned to an App Service Environment.", "operationId": "AppServiceEnvironments_ListVips", - "produces": [ - "application/json", - "text/json", - "application/xml", - "text/xml" - ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -333,12 +362,6 @@ "summary": "Get diagnostic information for an App Service Environment.", "description": "Get diagnostic information for an App Service Environment.", "operationId": "AppServiceEnvironments_ListDiagnostics", - "produces": [ - "application/json", - "text/json", - "application/xml", - "text/xml" - ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -378,12 +401,6 @@ "summary": "Get a diagnostics item for an App Service Environment.", "description": "Get a diagnostics item for an App Service Environment.", "operationId": "AppServiceEnvironments_GetDiagnosticsItem", - "produces": [ - "application/json", - "text/json", - "application/xml", - "text/xml" - ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -427,12 +444,6 @@ "summary": "Get global metric definitions of an App Service Environment.", "description": "Get global metric definitions of an App Service Environment.", "operationId": "AppServiceEnvironments_ListMetricDefinitions", - "produces": [ - "application/json", - "text/json", - "application/xml", - "text/xml" - ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -469,10 +480,6 @@ "summary": "Get global metrics of an App Service Environment.", "description": "Get global metrics of an App Service Environment.", "operationId": "AppServiceEnvironments_ListMetrics", - "produces": [ - "application/json", - "text/json" - ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -494,8 +501,8 @@ "name": "$filter", "in": "query", "description": "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]'.", - "x-ms-skip-url-encoding": true, - "type": "string" + "type": "string", + "x-ms-skip-url-encoding": true }, { "$ref": "#/parameters/subscriptionIdParameter" @@ -525,10 +532,6 @@ "summary": "Get all multi-role pools.", "description": "Get all multi-role pools.", "operationId": "AppServiceEnvironments_ListMultiRolePools", - "produces": [ - "application/json", - "text/json" - ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -568,12 +571,6 @@ "summary": "Get properties of a multi-role pool.", "description": "Get properties of a multi-role pool.", "operationId": "AppServiceEnvironments_GetMultiRolePool", - "produces": [ - "application/json", - "text/json", - "application/xml", - "text/xml" - ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -608,17 +605,6 @@ "summary": "Create or update a multi-role pool.", "description": "Create or update a multi-role pool.", "operationId": "AppServiceEnvironments_CreateOrUpdateMultiRolePool", - "consumes": [ - "application/json", - "text/json", - "application/x-www-form-urlencoded" - ], - "produces": [ - "application/json", - "text/json", - "application/xml", - "text/xml" - ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -670,6 +656,64 @@ } }, "x-ms-long-running-operation": true + }, + "patch": { + "tags": [ + "AppServiceEnvironments" + ], + "summary": "Create or update a multi-role pool.", + "description": "Create or update a multi-role pool.", + "operationId": "AppServiceEnvironments_UpdateMultiRolePool", + "parameters": [ + { + "$ref": "#/parameters/resourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of the App Service Environment.", + "required": true, + "type": "string" + }, + { + "name": "multiRolePoolEnvelope", + "in": "body", + "description": "Properties of the multi-role pool.", + "required": true, + "schema": { + "$ref": "#/definitions/WorkerPoolResource" + } + }, + { + "$ref": "#/parameters/subscriptionIdParameter" + }, + { + "$ref": "#/parameters/apiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK.", + "schema": { + "$ref": "#/definitions/WorkerPoolResource" + } + }, + "202": { + "description": "Operation is in progress.", + "schema": { + "$ref": "#/definitions/WorkerPoolResource" + } + }, + "400": { + "description": "Bad request." + }, + "404": { + "description": "Not found." + }, + "409": { + "description": "Conflict." + } + } } }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/multiRolePools/default/instances/{instance}/metricdefinitions": { @@ -680,10 +724,6 @@ "summary": "Get metric definitions for a specific instance of a multi-role pool of an App Service Environment.", "description": "Get metric definitions for a specific instance of a multi-role pool of an App Service Environment.", "operationId": "AppServiceEnvironments_ListMultiRolePoolInstanceMetricDefinitions", - "produces": [ - "application/json", - "text/json" - ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -730,10 +770,6 @@ "summary": "Get metrics for a specific instance of a multi-role pool of an App Service Environment.", "description": "Get metrics for a specific instance of a multi-role pool of an App Service Environment.", "operationId": "AppServiceEnvironments_ListMultiRolePoolInstanceMetrics", - "produces": [ - "application/json", - "text/json" - ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -786,10 +822,6 @@ "summary": "Get metric definitions for a multi-role pool of an App Service Environment.", "description": "Get metric definitions for a multi-role pool of an App Service Environment.", "operationId": "AppServiceEnvironments_ListMultiRoleMetricDefinitions", - "produces": [ - "application/json", - "text/json" - ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -829,10 +861,6 @@ "summary": "Get metrics for a multi-role pool of an App Service Environment.", "description": "Get metrics for a multi-role pool of an App Service Environment.", "operationId": "AppServiceEnvironments_ListMultiRoleMetrics", - "produces": [ - "application/json", - "text/json" - ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -872,8 +900,8 @@ "name": "$filter", "in": "query", "description": "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]'.", - "x-ms-skip-url-encoding": true, - "type": "string" + "type": "string", + "x-ms-skip-url-encoding": true }, { "$ref": "#/parameters/subscriptionIdParameter" @@ -903,10 +931,6 @@ "summary": "Get available SKUs for scaling a multi-role pool.", "description": "Get available SKUs for scaling a multi-role pool.", "operationId": "AppServiceEnvironments_ListMultiRolePoolSkus", - "produces": [ - "application/json", - "text/json" - ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -946,10 +970,6 @@ "summary": "Get usage metrics for a multi-role pool of an App Service Environment.", "description": "Get usage metrics for a multi-role pool of an App Service Environment.", "operationId": "AppServiceEnvironments_ListMultiRoleUsages", - "produces": [ - "application/json", - "text/json" - ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -989,12 +1009,6 @@ "summary": "List all currently running operations on the App Service Environment.", "description": "List all currently running operations on the App Service Environment.", "operationId": "AppServiceEnvironments_ListOperations", - "produces": [ - "application/json", - "text/json", - "application/xml", - "text/xml" - ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -1076,10 +1090,6 @@ "summary": "Resume an App Service Environment.", "description": "Resume an App Service Environment.", "operationId": "AppServiceEnvironments_Resume", - "produces": [ - "application/json", - "text/json" - ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -1126,10 +1136,6 @@ "summary": "Get all App Service plans in an App Service Environment.", "description": "Get all App Service plans in an App Service Environment.", "operationId": "AppServiceEnvironments_ListAppServicePlans", - "produces": [ - "application/json", - "text/json" - ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -1169,10 +1175,6 @@ "summary": "Get all apps in an App Service Environment.", "description": "Get all apps in an App Service Environment.", "operationId": "AppServiceEnvironments_ListWebApps", - "produces": [ - "application/json", - "text/json" - ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -1218,10 +1220,6 @@ "summary": "Suspend an App Service Environment.", "description": "Suspend an App Service Environment.", "operationId": "AppServiceEnvironments_Suspend", - "produces": [ - "application/json", - "text/json" - ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -1268,10 +1266,6 @@ "summary": "Get global usage metrics of an App Service Environment.", "description": "Get global usage metrics of an App Service Environment.", "operationId": "AppServiceEnvironments_ListUsages", - "produces": [ - "application/json", - "text/json" - ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -1287,8 +1281,8 @@ "name": "$filter", "in": "query", "description": "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]'.", - "x-ms-skip-url-encoding": true, - "type": "string" + "type": "string", + "x-ms-skip-url-encoding": true }, { "$ref": "#/parameters/subscriptionIdParameter" @@ -1318,10 +1312,6 @@ "summary": "Get all worker pools of an App Service Environment.", "description": "Get all worker pools of an App Service Environment.", "operationId": "AppServiceEnvironments_ListWorkerPools", - "produces": [ - "application/json", - "text/json" - ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -1361,12 +1351,6 @@ "summary": "Get properties of a worker pool.", "description": "Get properties of a worker pool.", "operationId": "AppServiceEnvironments_GetWorkerPool", - "produces": [ - "application/json", - "text/json", - "application/xml", - "text/xml" - ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -1408,17 +1392,6 @@ "summary": "Create or update a worker pool.", "description": "Create or update a worker pool.", "operationId": "AppServiceEnvironments_CreateOrUpdateWorkerPool", - "consumes": [ - "application/json", - "text/json", - "application/x-www-form-urlencoded" - ], - "produces": [ - "application/json", - "text/json", - "application/xml", - "text/xml" - ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -1477,6 +1450,71 @@ } }, "x-ms-long-running-operation": true + }, + "patch": { + "tags": [ + "AppServiceEnvironments" + ], + "summary": "Create or update a worker pool.", + "description": "Create or update a worker pool.", + "operationId": "AppServiceEnvironments_UpdateWorkerPool", + "parameters": [ + { + "$ref": "#/parameters/resourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of the App Service Environment.", + "required": true, + "type": "string" + }, + { + "name": "workerPoolName", + "in": "path", + "description": "Name of the worker pool.", + "required": true, + "type": "string" + }, + { + "name": "workerPoolEnvelope", + "in": "body", + "description": "Properties of the worker pool.", + "required": true, + "schema": { + "$ref": "#/definitions/WorkerPoolResource" + } + }, + { + "$ref": "#/parameters/subscriptionIdParameter" + }, + { + "$ref": "#/parameters/apiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK.", + "schema": { + "$ref": "#/definitions/WorkerPoolResource" + } + }, + "202": { + "description": "Operation is in progress.", + "schema": { + "$ref": "#/definitions/WorkerPoolResource" + } + }, + "400": { + "description": "Bad request." + }, + "404": { + "description": "Not found." + }, + "409": { + "description": "Conflict." + } + } } }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/workerPools/{workerPoolName}/instances/{instance}/metricdefinitions": { @@ -1487,10 +1525,6 @@ "summary": "Get metric definitions for a specific instance of a worker pool of an App Service Environment.", "description": "Get metric definitions for a specific instance of a worker pool of an App Service Environment.", "operationId": "AppServiceEnvironments_ListWorkerPoolInstanceMetricDefinitions", - "produces": [ - "application/json", - "text/json" - ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -1544,10 +1578,6 @@ "summary": "Get metrics for a specific instance of a worker pool of an App Service Environment.", "description": "Get metrics for a specific instance of a worker pool of an App Service Environment.", "operationId": "AppServiceEnvironments_ListWorkerPoolInstanceMetrics", - "produces": [ - "application/json", - "text/json" - ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -1583,8 +1613,8 @@ "name": "$filter", "in": "query", "description": "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]'.", - "x-ms-skip-url-encoding": true, - "type": "string" + "type": "string", + "x-ms-skip-url-encoding": true }, { "$ref": "#/parameters/subscriptionIdParameter" @@ -1614,10 +1644,6 @@ "summary": "Get metric definitions for a worker pool of an App Service Environment.", "description": "Get metric definitions for a worker pool of an App Service Environment.", "operationId": "AppServiceEnvironments_ListWebWorkerMetricDefinitions", - "produces": [ - "application/json", - "text/json" - ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -1664,10 +1690,6 @@ "summary": "Get metrics for a worker pool of a AppServiceEnvironment (App Service Environment).", "description": "Get metrics for a worker pool of a AppServiceEnvironment (App Service Environment).", "operationId": "AppServiceEnvironments_ListWebWorkerMetrics", - "produces": [ - "application/json", - "text/json" - ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -1696,8 +1718,8 @@ "name": "$filter", "in": "query", "description": "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]'.", - "x-ms-skip-url-encoding": true, - "type": "string" + "type": "string", + "x-ms-skip-url-encoding": true }, { "$ref": "#/parameters/subscriptionIdParameter" @@ -1727,10 +1749,6 @@ "summary": "Get available SKUs for scaling a worker pool.", "description": "Get available SKUs for scaling a worker pool.", "operationId": "AppServiceEnvironments_ListWorkerPoolSkus", - "produces": [ - "application/json", - "text/json" - ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -1777,10 +1795,6 @@ "summary": "Get usage metrics for a worker pool of an App Service Environment.", "description": "Get usage metrics for a worker pool of an App Service Environment.", "operationId": "AppServiceEnvironments_ListWebWorkerUsages", - "produces": [ - "application/json", - "text/json" - ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -2067,7 +2081,7 @@ "type": "boolean" }, "dynamicCacheEnabled": { - "description": "True/false indicating whether the App Service Environment is suspended. The environment can be suspended e.g. when the management endpoint is no longer available\n (most likely because NSG blocked the incoming traffic).", + "description": "True/false indicating whether the App Service Environment is suspended. The environment can be suspended e.g. when the management endpoint is no longer available\n(most likely because NSG blocked the incoming traffic).", "type": "boolean" }, "clusterSettings": { @@ -2076,6 +2090,13 @@ "items": { "$ref": "#/definitions/NameValuePair" } + }, + "userWhitelistedIpRanges": { + "description": "User added ip ranges to whitelist on ASE db", + "type": "array", + "items": { + "type": "string" + } } } }, @@ -2090,7 +2111,7 @@ "description": "Collection of resources.", "type": "array", "items": { - "$ref": "#/definitions/AppServiceEnvironment" + "$ref": "#/definitions/AppServiceEnvironmentResource" } }, "nextLink": { @@ -2099,6 +2120,22 @@ } } }, + "AppServiceEnvironmentPatchResource": { + "description": "ARM resource for a app service enviroment.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/ProxyOnlyResource" + } + ], + "properties": { + "properties": { + "$ref": "#/definitions/AppServiceEnvironment", + "description": "Core resource properties", + "x-ms-client-flatten": true + } + } + }, "AppServiceEnvironmentResource": { "description": "App Service Environment ARM resource.", "type": "object", @@ -2110,6 +2147,7 @@ "properties": { "properties": { "$ref": "#/definitions/AppServiceEnvironment", + "description": "Core resource properties", "x-ms-client-flatten": true } } @@ -2141,7 +2179,8 @@ "description": "App Service plan status.", "enum": [ "Ready", - "Pending" + "Pending", + "Creating" ], "type": "string", "readOnly": true, @@ -2179,7 +2218,7 @@ "readOnly": true }, "perSiteScaling": { - "description": "If true, apps assigned to this App Service plan can be scaled independently.\n If false, apps assigned to this App Service plan will scale to all instances of the plan.", + "description": "If true, apps assigned to this App Service plan can be scaled independently.\nIf false, apps assigned to this App Service plan will scale to all instances of the plan.", "default": false, "type": "boolean" }, @@ -2189,6 +2228,15 @@ "type": "integer", "readOnly": true }, + "isSpot": { + "description": "If true, this App Service Plan owns spot instances.", + "type": "boolean" + }, + "spotExpirationTime": { + "format": "date-time", + "description": "The time when the server farm expires. Valid only if it is a spot server farm.", + "type": "string" + }, "resourceGroup": { "description": "Resource group of the App Service plan.", "type": "string", @@ -2279,13 +2327,13 @@ "description": "Custom action to be taken." }, "minProcessExecutionTime": { - "description": "Minimum time the process must execute\n before taking the action", + "description": "Minimum time the process must execute\nbefore taking the action", "type": "string" } } }, "AutoHealCustomAction": { - "description": "Custom action to be executed\n when an auto heal rule is triggered.", + "description": "Custom action to be executed\nwhen an auto heal rule is triggered.", "type": "object", "properties": { "exe": { @@ -2364,8 +2412,10 @@ "type": "object", "properties": { "correlationId": { - "description": "Correlation ID of cloning operation. This ID ties multiple cloning operations\n together to use the same snapshot.", - "type": "string" + "format": "uuid", + "description": "Correlation ID of cloning operation. This ID ties multiple cloning operations\ntogether to use the same snapshot.", + "type": "string", + "example": "00000000-0000-0000-0000-000000000000" }, "overwrite": { "description": "true to overwrite destination app; otherwise, false.", @@ -2380,7 +2430,7 @@ "type": "boolean" }, "sourceWebAppId": { - "description": "ARM resource ID of the source app. App resource ID is of the form \n /subscriptions/{subId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{siteName} for production slots and \n /subscriptions/{subId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{siteName}/slots/{slotName} for other slots.", + "description": "ARM resource ID of the source app. App resource ID is of the form \n/subscriptions/{subId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{siteName} for production slots and \n/subscriptions/{subId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{siteName}/slots/{slotName} for other slots.", "type": "string" }, "hostingEnvironment": { @@ -2388,7 +2438,7 @@ "type": "string" }, "appSettingsOverrides": { - "description": "Application setting overrides for cloned app. If specified, these settings override the settings cloned \n from source app. Otherwise, application settings from source app are retained.", + "description": "Application setting overrides for cloned app. If specified, these settings override the settings cloned \nfrom source app. Otherwise, application settings from source app are retained.", "type": "object", "additionalProperties": { "type": "string" @@ -2399,7 +2449,7 @@ "type": "boolean" }, "trafficManagerProfileId": { - "description": "ARM resource ID of the Traffic Manager profile to use, if it exists. Traffic Manager resource ID is of the form \n /subscriptions/{subId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/trafficManagerProfiles/{profileName}.", + "description": "ARM resource ID of the Traffic Manager profile to use, if it exists. Traffic Manager resource ID is of the form \n/subscriptions/{subId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/trafficManagerProfiles/{profileName}.", "type": "string" }, "trafficManagerProfileName": { @@ -2452,7 +2502,7 @@ "type": "object", "properties": { "allowedOrigins": { - "description": "Gets or sets the list of origins that should be allowed to make cross-origin\n calls (for example: http://example.com:12345). Use \"*\" to allow all.", + "description": "Gets or sets the list of origins that should be allowed to make cross-origin\ncalls (for example: http://example.com:12345). Use \"*\" to allow all.", "type": "array", "items": { "type": "string" @@ -2559,7 +2609,7 @@ } }, "HandlerMapping": { - "description": "The IIS handler mappings used to define which handler processes HTTP requests with certain extension. \n For example, it is used to configure php-cgi.exe process to handle all HTTP requests with *.php extension.", + "description": "The IIS handler mappings used to define which handler processes HTTP requests with certain extension. \nFor example, it is used to configure php-cgi.exe process to handle all HTTP requests with *.php extension.", "type": "object", "properties": { "extension": { @@ -2688,6 +2738,32 @@ } } }, + "ManagedServiceIdentity": { + "description": "Managed service identity.", + "type": "object", + "properties": { + "type": { + "description": "Type of managed service identity.", + "enum": [ + "SystemAssigned" + ], + "x-ms-enum": { + "name": "ManagedServiceIdentityType", + "modelAsString": true + } + }, + "tenantId": { + "description": "Tenant of managed service identity.", + "type": "string", + "readOnly": true + }, + "principalId": { + "description": "Principal Id of managed service identity.", + "type": "string", + "readOnly": true + } + } + }, "MetricAvailabilily": { "description": "Metric availability and retention.", "type": "object", @@ -2842,8 +2918,10 @@ "type": "string" }, "geoMasterOperationId": { + "format": "uuid", "description": "Applicable only for stamp operation ids.", - "type": "string" + "type": "string", + "example": "00000000-0000-0000-0000-000000000000" } } }, @@ -2896,7 +2974,7 @@ "type": "string" }, "tagsRequiringAuth": { - "description": "Gets or sets a JSON string containing a list of tags that require user authentication to be used in the push registration endpoint.\n Tags can consist of alphanumeric characters and the following:\n '_', '@', '#', '.', ':', '-'. \n Validation should be performed at the PushRequestHandler.", + "description": "Gets or sets a JSON string containing a list of tags that require user authentication to be used in the push registration endpoint.\nTags can consist of alphanumeric characters and the following:\n'_', '@', '#', '.', ':', '-'. \nValidation should be performed at the PushRequestHandler.", "type": "string" }, "dynamicTagsJson": { @@ -2923,7 +3001,7 @@ }, "changeStep": { "format": "double", - "description": "In auto ramp up scenario this is the step to to add/remove from ReroutePercentage until it reaches \n MinReroutePercentage or MaxReroutePercentage. Site metrics are checked every N minutes specificed in ChangeIntervalInMinutes.\n Custom decision algorithm can be provided in TiPCallback site extension which URL can be specified in ChangeDecisionCallbackUrl.", + "description": "In auto ramp up scenario this is the step to to add/remove from ReroutePercentage until it reaches \nMinReroutePercentage or MaxReroutePercentage. Site metrics are checked every N minutes specificed in ChangeIntervalInMinutes.\nCustom decision algorithm can be provided in TiPCallback site extension which URL can be specified in ChangeDecisionCallbackUrl.", "type": "number" }, "changeIntervalInMinutes": { @@ -2942,7 +3020,7 @@ "type": "number" }, "changeDecisionCallbackUrl": { - "description": "Custom decision algorithm can be provided in TiPCallback site extension which URL can be specified. See TiPCallback site extension for the scaffold and contracts.\n https://www.siteextensions.net/packages/TiPCallback/", + "description": "Custom decision algorithm can be provided in TiPCallback site extension which URL can be specified. See TiPCallback site extension for the scaffold and contracts.\nhttps://www.siteextensions.net/packages/TiPCallback/", "type": "string" }, "name": { @@ -3001,33 +3079,6 @@ "additionalProperties": { "type": "string" } - }, - "identity": { - "description": "Identity for the resource.", - "type": "object", - "properties": { - "principalId": { - "description": "The principal ID of resource identity.", - "type": "string", - "readOnly": true - }, - "tenantId": { - "description": "The tenant ID of resource.", - "type": "string", - "readOnly": true - }, - "type": { - "description": "The identity type.", - "type": "string", - "enum": [ - "SystemAssigned" - ], - "x-ms-enum": { - "name": "ManagedServiceIdentityType", - "modelAsString": false - } - } - } } }, "x-ms-azure-resource": true @@ -3332,7 +3383,7 @@ "type": "boolean" }, "enabledHostNames": { - "description": "Enabled hostnames for the app.Hostnames need to be assigned (see HostNames) AND enabled. Otherwise,\n the app is not served on those hostnames.", + "description": "Enabled hostnames for the app.Hostnames need to be assigned (see HostNames) AND enabled. Otherwise,\nthe app is not served on those hostnames.", "type": "array", "items": { "type": "string" @@ -3391,11 +3442,6 @@ }, "readOnly": true }, - "premiumAppDeployed": { - "description": "Indicates whether app is deployed as a premium app.", - "type": "boolean", - "readOnly": true - }, "scmSiteAlsoStopped": { "description": "true to stop SCM (KUDU) site when the app is stopped; otherwise, false. The default is false.", "default": false, @@ -3414,23 +3460,6 @@ "read" ] }, - "microService": { - "description": "Micro services like apps, logic apps.", - "default": "WebSites", - "type": "string", - "x-ms-mutability": [ - "create", - "read" - ] - }, - "gatewaySiteName": { - "description": "Name of gateway app associated with the app.", - "type": "string", - "x-ms-mutability": [ - "create", - "read" - ] - }, "clientAffinityEnabled": { "description": "true to enable client affinity; false to stop sending session affinity cookies, which route client requests in the same session to the same instance. Default is true.", "type": "boolean" @@ -3444,7 +3473,12 @@ "type": "boolean" }, "outboundIpAddresses": { - "description": "List of IP addresses that the app uses for outbound connections (e.g. database access). Read-only.", + "description": "List of IP addresses that the app uses for outbound connections (e.g. database access). Includes VIPs from tenants that site can be hosted with current settings. Read-only.", + "type": "string", + "readOnly": true + }, + "possibleOutboundIpAddresses": { + "description": "List of IP addresses that the app uses for outbound connections (e.g. database access). Includes VIPs from all tenants. Read-only.", "type": "string", "readOnly": true }, @@ -3466,7 +3500,7 @@ }, "maxNumberOfWorkers": { "format": "int32", - "description": "Maximum number of workers.\n This only applies to Functions container.", + "description": "Maximum number of workers.\nThis only applies to Functions container.", "type": "integer", "readOnly": true }, @@ -3503,9 +3537,16 @@ "$ref": "#/definitions/SlotSwapStatus", "description": "Status of the last deployment slot swap operation.", "readOnly": true + }, + "httpsOnly": { + "description": "HttpsOnly: configures a web site to accept only https requests. Issues redirect for\nhttp requests", + "type": "boolean" } }, "x-ms-client-flatten": true + }, + "identity": { + "$ref": "#/definitions/ManagedServiceIdentity" } } }, @@ -3977,7 +4018,7 @@ "type": "boolean" }, "ignoreConflictingHostNames": { - "description": "If true, custom hostname conflicts will be ignored when recovering to a target web app.\n This setting is only necessary when RecoverConfiguration is enabled.", + "description": "If true, custom hostname conflicts will be ignored when recovering to a target web app.\nThis setting is only necessary when RecoverConfiguration is enabled.", "type": "boolean" } }, @@ -3994,7 +4035,7 @@ "type": "string" }, "id": { - "description": "ARM resource ID of the target app. \n /subscriptions/{subId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{siteName} for production slots and \n /subscriptions/{subId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{siteName}/slots/{slotName} for other slots.", + "description": "ARM resource ID of the target app. \n/subscriptions/{subId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{siteName} for production slots and \n/subscriptions/{subId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{siteName}/slots/{slotName} for other slots.", "type": "string" } } @@ -4040,7 +4081,10 @@ "Default", "Small", "Medium", - "Large" + "Large", + "D1", + "D2", + "D3" ], "type": "string", "x-ms-enum": { @@ -4050,11 +4094,11 @@ }, "workerSizeId": { "format": "int32", - "description": "Size ID of machines: \n 0 - Small\n 1 - Medium\n 2 - Large", + "description": "Size ID of machines: \n0 - Small\n1 - Medium\n2 - Large", "type": "integer" }, "excludeFromCapacityAllocation": { - "description": "If true, it includes basic apps.\n Basic apps are not used for capacity allocation.", + "description": "If true, it includes basic apps.\nBasic apps are not used for capacity allocation.", "type": "boolean" }, "isApplicableForAllComputeModes": { @@ -4390,6 +4434,7 @@ "properties": { "properties": { "$ref": "#/definitions/WorkerPool", + "description": "Core resource properties", "x-ms-client-flatten": true }, "sku": { @@ -4411,11 +4456,11 @@ "in": "path", "description": "Name of the resource group to which the resource belongs.", "required": true, - "x-ms-parameter-location": "method", "type": "string", "maxLength": 90, "minLength": 1, - "pattern": "^[-\\w\\._\\(\\)]+[^\\.]$" + "pattern": "^[-\\w\\._\\(\\)]+[^\\.]$", + "x-ms-parameter-location": "method" }, "apiVersionParameter": { "name": "api-version", diff --git a/specification/web/resource-manager/Microsoft.Web/2016-09-01/AppServicePlans.json b/specification/web/resource-manager/Microsoft.Web/2016-09-01/AppServicePlans.json index 6accb0740dc0..82154e3834d2 100644 --- a/specification/web/resource-manager/Microsoft.Web/2016-09-01/AppServicePlans.json +++ b/specification/web/resource-manager/Microsoft.Web/2016-09-01/AppServicePlans.json @@ -8,6 +8,12 @@ "schemes": [ "https" ], + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], "paths": { "/subscriptions/{subscriptionId}/providers/Microsoft.Web/serverfarms": { "get": { @@ -17,10 +23,6 @@ "summary": "Get all App Service plans for a subcription.", "description": "Get all App Service plans for a subcription.", "operationId": "AppServicePlans_List", - "produces": [ - "application/json", - "text/json" - ], "parameters": [ { "name": "detailed", @@ -56,10 +58,6 @@ "summary": "Get all App Service plans in a resource group.", "description": "Get all App Service plans in a resource group.", "operationId": "AppServicePlans_ListByResourceGroup", - "produces": [ - "application/json", - "text/json" - ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -92,12 +90,6 @@ "summary": "Get an App Service plan.", "description": "Get an App Service plan.", "operationId": "AppServicePlans_Get", - "produces": [ - "application/json", - "text/json", - "application/xml", - "text/xml" - ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -118,10 +110,13 @@ ], "responses": { "200": { - "description": "OK", + "description": "OK.", "schema": { "$ref": "#/definitions/AppServicePlan" } + }, + "404": { + "description": "Not found." } } }, @@ -132,17 +127,6 @@ "summary": "Creates or updates an App Service Plan.", "description": "Creates or updates an App Service Plan.", "operationId": "AppServicePlans_CreateOrUpdate", - "consumes": [ - "application/json", - "text/json", - "application/x-www-form-urlencoded" - ], - "produces": [ - "application/json", - "text/json", - "application/xml", - "text/xml" - ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -214,6 +198,58 @@ "responses": { "200": { "description": "OK." + }, + "204": { + "description": "OK." + } + } + }, + "patch": { + "tags": [ + "AppServicePlans" + ], + "summary": "Creates or updates an App Service Plan.", + "description": "Creates or updates an App Service Plan.", + "operationId": "AppServicePlans_Update", + "parameters": [ + { + "$ref": "#/parameters/resourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of the App Service plan.", + "required": true, + "type": "string" + }, + { + "name": "appServicePlan", + "in": "body", + "description": "Details of the App Service plan.", + "required": true, + "schema": { + "$ref": "#/definitions/AppServicePlanPatchResource" + } + }, + { + "$ref": "#/parameters/subscriptionIdParameter" + }, + { + "$ref": "#/parameters/apiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK.", + "schema": { + "$ref": "#/definitions/AppServicePlan" + } + }, + "202": { + "description": "Operation is in progress.", + "schema": { + "$ref": "#/definitions/AppServicePlan" + } } } } @@ -226,12 +262,6 @@ "summary": "List all capabilities of an App Service plan.", "description": "List all capabilities of an App Service plan.", "operationId": "AppServicePlans_ListCapabilities", - "produces": [ - "application/json", - "text/json", - "application/xml", - "text/xml" - ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -271,12 +301,6 @@ "summary": "Retrieve a Hybrid Connection in use in an App Service plan.", "description": "Retrieve a Hybrid Connection in use in an App Service plan.", "operationId": "AppServicePlans_GetHybridConnection", - "produces": [ - "application/json", - "text/json", - "application/xml", - "text/xml" - ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -375,12 +399,6 @@ "summary": "Get the send key name and value of a Hybrid Connection.", "description": "Get the send key name and value of a Hybrid Connection.", "operationId": "AppServicePlans_ListHybridConnectionKeys", - "produces": [ - "application/json", - "text/json", - "application/xml", - "text/xml" - ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -431,10 +449,6 @@ "summary": "Get all apps that use a Hybrid Connection in an App Service Plan.", "description": "Get all apps that use a Hybrid Connection in an App Service Plan.", "operationId": "AppServicePlans_ListWebAppsByHybridConnection", - "produces": [ - "application/json", - "text/json" - ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -488,12 +502,6 @@ "summary": "Get the maximum number of Hybrid Connections allowed in an App Service plan.", "description": "Get the maximum number of Hybrid Connections allowed in an App Service plan.", "operationId": "AppServicePlans_GetHybridConnectionPlanLimit", - "produces": [ - "application/json", - "text/json", - "application/xml", - "text/xml" - ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -530,10 +538,6 @@ "summary": "Retrieve all Hybrid Connections in use in an App Service plan.", "description": "Retrieve all Hybrid Connections in use in an App Service plan.", "operationId": "AppServicePlans_ListHybridConnections", - "produces": [ - "application/json", - "text/json" - ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -573,10 +577,6 @@ "summary": "Get metrics that can be queried for an App Service plan, and their definitions.", "description": "Get metrics that can be queried for an App Service plan, and their definitions.", "operationId": "AppServicePlans_ListMetricDefintions", - "produces": [ - "application/json", - "text/json" - ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -616,10 +616,6 @@ "summary": "Get metrics for an App Serice plan.", "description": "Get metrics for an App Serice plan.", "operationId": "AppServicePlans_ListMetrics", - "produces": [ - "application/json", - "text/json" - ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -641,8 +637,8 @@ "name": "$filter", "in": "query", "description": "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]'.", - "x-ms-skip-url-encoding": true, - "type": "string" + "type": "string", + "x-ms-skip-url-encoding": true }, { "$ref": "#/parameters/subscriptionIdParameter" @@ -711,10 +707,6 @@ "summary": "Get all apps associated with an App Service plan.", "description": "Get all apps associated with an App Service plan.", "operationId": "AppServicePlans_ListWebApps", - "produces": [ - "application/json", - "text/json" - ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -736,8 +728,8 @@ "name": "$filter", "in": "query", "description": "Supported filter: $filter=state eq running. Returns only web apps that are currently running", - "x-ms-skip-url-encoding": true, - "type": "string" + "type": "string", + "x-ms-skip-url-encoding": true }, { "name": "$top", @@ -765,6 +757,88 @@ } } }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/serverfarms/{name}/skus": { + "get": { + "tags": [ + "AppServicePlans" + ], + "summary": "Gets all selectable sku's for a given App Service Plan", + "description": "Gets all selectable sku's for a given App Service Plan", + "operationId": "AppServicePlans_GetServerFarmSkus", + "parameters": [ + { + "$ref": "#/parameters/resourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of App Service Plan", + "required": true, + "type": "string" + }, + { + "$ref": "#/parameters/subscriptionIdParameter" + }, + { + "$ref": "#/parameters/apiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "type": "object" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/serverfarms/{name}/usages": { + "get": { + "tags": [ + "AppServicePlans" + ], + "summary": "Gets server farm usage information", + "description": "Gets server farm usage information", + "operationId": "AppServicePlans_ListUsages", + "parameters": [ + { + "$ref": "#/parameters/resourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of App Service Plan", + "required": true, + "type": "string" + }, + { + "name": "$filter", + "in": "query", + "description": "Return only usages/metrics specified in the filter. Filter conforms to odata syntax. Example: $filter=(name.value eq 'Metric1' or name.value eq 'Metric2').", + "type": "string", + "x-ms-skip-url-encoding": true + }, + { + "$ref": "#/parameters/subscriptionIdParameter" + }, + { + "$ref": "#/parameters/apiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/CsmUsageQuotaCollection" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/serverfarms/{name}/virtualNetworkConnections": { "get": { "tags": [ @@ -773,12 +847,6 @@ "summary": "Get all Virtual Networks associated with an App Service plan.", "description": "Get all Virtual Networks associated with an App Service plan.", "operationId": "AppServicePlans_ListVnets", - "produces": [ - "application/json", - "text/json", - "application/xml", - "text/xml" - ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -818,12 +886,6 @@ "summary": "Get a Virtual Network associated with an App Service plan.", "description": "Get a Virtual Network associated with an App Service plan.", "operationId": "AppServicePlans_GetVnetFromServerFarm", - "produces": [ - "application/json", - "text/json", - "application/xml", - "text/xml" - ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -870,12 +932,6 @@ "summary": "Get a Virtual Network gateway.", "description": "Get a Virtual Network gateway.", "operationId": "AppServicePlans_GetVnetGateway", - "produces": [ - "application/json", - "text/json", - "application/xml", - "text/xml" - ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -924,17 +980,6 @@ "summary": "Update a Virtual Network gateway.", "description": "Update a Virtual Network gateway.", "operationId": "AppServicePlans_UpdateVnetGateway", - "consumes": [ - "application/json", - "text/json", - "application/x-www-form-urlencoded" - ], - "produces": [ - "application/json", - "text/json", - "application/xml", - "text/xml" - ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -994,12 +1039,6 @@ "summary": "Get all routes that are associated with a Virtual Network in an App Service plan.", "description": "Get all routes that are associated with a Virtual Network in an App Service plan.", "operationId": "AppServicePlans_ListRoutesForVnet", - "produces": [ - "application/json", - "text/json", - "application/xml", - "text/xml" - ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -1046,12 +1085,6 @@ "summary": "Get a Virtual Network route in an App Service plan.", "description": "Get a Virtual Network route in an App Service plan.", "operationId": "AppServicePlans_GetRouteForVnet", - "produces": [ - "application/json", - "text/json", - "application/xml", - "text/xml" - ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -1106,17 +1139,6 @@ "summary": "Create or update a Virtual Network route in an App Service plan.", "description": "Create or update a Virtual Network route in an App Service plan.", "operationId": "AppServicePlans_CreateOrUpdateVnetRoute", - "consumes": [ - "application/json", - "text/json", - "application/x-www-form-urlencoded" - ], - "produces": [ - "application/json", - "text/json", - "application/xml", - "text/xml" - ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -1228,17 +1250,6 @@ "summary": "Create or update a Virtual Network route in an App Service plan.", "description": "Create or update a Virtual Network route in an App Service plan.", "operationId": "AppServicePlans_UpdateVnetRoute", - "consumes": [ - "application/json", - "text/json", - "application/x-www-form-urlencoded" - ], - "produces": [ - "application/json", - "text/json", - "application/xml", - "text/xml" - ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -1375,7 +1386,8 @@ "description": "App Service plan status.", "enum": [ "Ready", - "Pending" + "Pending", + "Creating" ], "type": "string", "readOnly": true, @@ -1413,7 +1425,7 @@ "readOnly": true }, "perSiteScaling": { - "description": "If true, apps assigned to this App Service plan can be scaled independently.\n If false, apps assigned to this App Service plan will scale to all instances of the plan.", + "description": "If true, apps assigned to this App Service plan can be scaled independently.\nIf false, apps assigned to this App Service plan will scale to all instances of the plan.", "default": false, "type": "boolean" }, @@ -1423,6 +1435,15 @@ "type": "integer", "readOnly": true }, + "isSpot": { + "description": "If true, this App Service Plan owns spot instances.", + "type": "boolean" + }, + "spotExpirationTime": { + "format": "date-time", + "description": "The time when the server farm expires. Valid only if it is a spot server farm.", + "type": "string" + }, "resourceGroup": { "description": "Resource group of the App Service plan.", "type": "string", @@ -1491,6 +1512,136 @@ } } }, + "AppServicePlanPatchResource": { + "description": "ARM resource for a app service plan.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/ProxyOnlyResource" + } + ], + "properties": { + "properties": { + "description": "AppServicePlanPatchResource resource specific properties", + "required": [ + "name" + ], + "properties": { + "name": { + "description": "Name for the App Service plan.", + "type": "string" + }, + "workerTierName": { + "description": "Target worker tier assigned to the App Service plan.", + "type": "string" + }, + "status": { + "description": "App Service plan status.", + "enum": [ + "Ready", + "Pending", + "Creating" + ], + "type": "string", + "readOnly": true, + "x-ms-enum": { + "name": "StatusOptions", + "modelAsString": false + } + }, + "subscription": { + "description": "App Service plan subscription.", + "type": "string", + "readOnly": true + }, + "adminSiteName": { + "description": "App Service plan administration site.", + "type": "string" + }, + "hostingEnvironmentProfile": { + "$ref": "#/definitions/HostingEnvironmentProfile", + "description": "Specification for the App Service Environment to use for the App Service plan.", + "x-ms-mutability": [ + "create", + "read" + ] + }, + "maximumNumberOfWorkers": { + "format": "int32", + "description": "Maximum number of instances that can be assigned to this App Service plan.", + "type": "integer", + "readOnly": true + }, + "geoRegion": { + "description": "Geographical location for the App Service plan.", + "type": "string", + "readOnly": true + }, + "perSiteScaling": { + "description": "If true, apps assigned to this App Service plan can be scaled independently.\nIf false, apps assigned to this App Service plan will scale to all instances of the plan.", + "default": false, + "type": "boolean" + }, + "numberOfSites": { + "format": "int32", + "description": "Number of apps assigned to this App Service plan.", + "type": "integer", + "readOnly": true + }, + "isSpot": { + "description": "If true, this App Service Plan owns spot instances.", + "type": "boolean" + }, + "spotExpirationTime": { + "format": "date-time", + "description": "The time when the server farm expires. Valid only if it is a spot server farm.", + "type": "string" + }, + "resourceGroup": { + "description": "Resource group of the App Service plan.", + "type": "string", + "readOnly": true + }, + "reserved": { + "description": "Reserved.", + "default": false, + "type": "boolean", + "x-ms-mutability": [ + "create", + "read" + ] + }, + "targetWorkerCount": { + "format": "int32", + "description": "Scaling worker count.", + "type": "integer" + }, + "targetWorkerSizeId": { + "format": "int32", + "description": "Scaling worker size ID.", + "type": "integer" + }, + "provisioningState": { + "description": "Provisioning state of the App Service Environment.", + "enum": [ + "Succeeded", + "Failed", + "Canceled", + "InProgress", + "Deleting" + ], + "type": "string", + "readOnly": true, + "x-ms-enum": { + "name": "ProvisioningState", + "modelAsString": false + } + } + }, + "x-ms-client-flatten": true + } + } + }, "AutoHealActions": { "description": "Actions which to take by the auto-heal module when a rule is triggered.", "type": "object", @@ -1513,13 +1664,13 @@ "description": "Custom action to be taken." }, "minProcessExecutionTime": { - "description": "Minimum time the process must execute\n before taking the action", + "description": "Minimum time the process must execute\nbefore taking the action", "type": "string" } } }, "AutoHealCustomAction": { - "description": "Custom action to be executed\n when an auto heal rule is triggered.", + "description": "Custom action to be executed\nwhen an auto heal rule is triggered.", "type": "object", "properties": { "exe": { @@ -1598,8 +1749,10 @@ "type": "object", "properties": { "correlationId": { - "description": "Correlation ID of cloning operation. This ID ties multiple cloning operations\n together to use the same snapshot.", - "type": "string" + "format": "uuid", + "description": "Correlation ID of cloning operation. This ID ties multiple cloning operations\ntogether to use the same snapshot.", + "type": "string", + "example": "00000000-0000-0000-0000-000000000000" }, "overwrite": { "description": "true to overwrite destination app; otherwise, false.", @@ -1614,7 +1767,7 @@ "type": "boolean" }, "sourceWebAppId": { - "description": "ARM resource ID of the source app. App resource ID is of the form \n /subscriptions/{subId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{siteName} for production slots and \n /subscriptions/{subId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{siteName}/slots/{slotName} for other slots.", + "description": "ARM resource ID of the source app. App resource ID is of the form \n/subscriptions/{subId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{siteName} for production slots and \n/subscriptions/{subId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{siteName}/slots/{slotName} for other slots.", "type": "string" }, "hostingEnvironment": { @@ -1622,7 +1775,7 @@ "type": "string" }, "appSettingsOverrides": { - "description": "Application setting overrides for cloned app. If specified, these settings override the settings cloned \n from source app. Otherwise, application settings from source app are retained.", + "description": "Application setting overrides for cloned app. If specified, these settings override the settings cloned \nfrom source app. Otherwise, application settings from source app are retained.", "type": "object", "additionalProperties": { "type": "string" @@ -1633,7 +1786,7 @@ "type": "boolean" }, "trafficManagerProfileId": { - "description": "ARM resource ID of the Traffic Manager profile to use, if it exists. Traffic Manager resource ID is of the form \n /subscriptions/{subId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/trafficManagerProfiles/{profileName}.", + "description": "ARM resource ID of the Traffic Manager profile to use, if it exists. Traffic Manager resource ID is of the form \n/subscriptions/{subId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/trafficManagerProfiles/{profileName}.", "type": "string" }, "trafficManagerProfileName": { @@ -1686,7 +1839,7 @@ "type": "object", "properties": { "allowedOrigins": { - "description": "Gets or sets the list of origins that should be allowed to make cross-origin\n calls (for example: http://example.com:12345). Use \"*\" to allow all.", + "description": "Gets or sets the list of origins that should be allowed to make cross-origin\ncalls (for example: http://example.com:12345). Use \"*\" to allow all.", "type": "array", "items": { "type": "string" @@ -1694,6 +1847,55 @@ } } }, + "CsmUsageQuota": { + "description": "Usage of the quota resource.", + "type": "object", + "properties": { + "unit": { + "description": "Units of measurement for the quota resourse.", + "type": "string" + }, + "nextResetTime": { + "format": "date-time", + "description": "Next reset time for the resource counter.", + "type": "string" + }, + "currentValue": { + "format": "int64", + "description": "The current value of the resource counter.", + "type": "integer" + }, + "limit": { + "format": "int64", + "description": "The resource limit.", + "type": "integer" + }, + "name": { + "$ref": "#/definitions/LocalizableString", + "description": "Quota name." + } + } + }, + "CsmUsageQuotaCollection": { + "description": "Collection of CSM usage quotas.", + "required": [ + "value" + ], + "type": "object", + "properties": { + "value": { + "description": "Collection of resources.", + "type": "array", + "items": { + "$ref": "#/definitions/CsmUsageQuota" + } + }, + "nextLink": { + "description": "Link to next page of resources.", + "type": "string" + } + } + }, "Experiments": { "description": "Routing rules in production experiments.", "type": "object", @@ -1708,7 +1910,7 @@ } }, "HandlerMapping": { - "description": "The IIS handler mappings used to define which handler processes HTTP requests with certain extension. \n For example, it is used to configure php-cgi.exe process to handle all HTTP requests with *.php extension.", + "description": "The IIS handler mappings used to define which handler processes HTTP requests with certain extension. \nFor example, it is used to configure php-cgi.exe process to handle all HTTP requests with *.php extension.", "type": "object", "properties": { "extension": { @@ -1838,7 +2040,11 @@ "type": "string" }, "sendKeyValue": { - "description": "The value of the Service Bus key. This is used to authenticate to Service Bus. In ARM this key will not be returned\n normally, use the POST /listKeys API instead.", + "description": "The value of the Service Bus key. This is used to authenticate to Service Bus. In ARM this key will not be returned\nnormally, use the POST /listKeys API instead.", + "type": "string" + }, + "serviceBusSuffix": { + "description": "The suffix for the service bus endpoint. By default this is .servicebus.windows.net", "type": "string" } }, @@ -1939,6 +2145,46 @@ } } }, + "LocalizableString": { + "description": "Localizable string object containing the name and a localized value.", + "type": "object", + "properties": { + "value": { + "description": "Non-localized name.", + "type": "string" + }, + "localizedValue": { + "description": "Localized name.", + "type": "string" + } + } + }, + "ManagedServiceIdentity": { + "description": "Managed service identity.", + "type": "object", + "properties": { + "type": { + "description": "Type of managed service identity.", + "enum": [ + "SystemAssigned" + ], + "x-ms-enum": { + "name": "ManagedServiceIdentityType", + "modelAsString": true + } + }, + "tenantId": { + "description": "Tenant of managed service identity.", + "type": "string", + "readOnly": true + }, + "principalId": { + "description": "Principal Id of managed service identity.", + "type": "string", + "readOnly": true + } + } + }, "NameValuePair": { "description": "Name value pair.", "type": "object", @@ -2002,7 +2248,7 @@ "type": "string" }, "tagsRequiringAuth": { - "description": "Gets or sets a JSON string containing a list of tags that require user authentication to be used in the push registration endpoint.\n Tags can consist of alphanumeric characters and the following:\n '_', '@', '#', '.', ':', '-'. \n Validation should be performed at the PushRequestHandler.", + "description": "Gets or sets a JSON string containing a list of tags that require user authentication to be used in the push registration endpoint.\nTags can consist of alphanumeric characters and the following:\n'_', '@', '#', '.', ':', '-'. \nValidation should be performed at the PushRequestHandler.", "type": "string" }, "dynamicTagsJson": { @@ -2029,7 +2275,7 @@ }, "changeStep": { "format": "double", - "description": "In auto ramp up scenario this is the step to to add/remove from ReroutePercentage until it reaches \n MinReroutePercentage or MaxReroutePercentage. Site metrics are checked every N minutes specificed in ChangeIntervalInMinutes.\n Custom decision algorithm can be provided in TiPCallback site extension which URL can be specified in ChangeDecisionCallbackUrl.", + "description": "In auto ramp up scenario this is the step to to add/remove from ReroutePercentage until it reaches \nMinReroutePercentage or MaxReroutePercentage. Site metrics are checked every N minutes specificed in ChangeIntervalInMinutes.\nCustom decision algorithm can be provided in TiPCallback site extension which URL can be specified in ChangeDecisionCallbackUrl.", "type": "number" }, "changeIntervalInMinutes": { @@ -2048,7 +2294,7 @@ "type": "number" }, "changeDecisionCallbackUrl": { - "description": "Custom decision algorithm can be provided in TiPCallback site extension which URL can be specified. See TiPCallback site extension for the scaffold and contracts.\n https://www.siteextensions.net/packages/TiPCallback/", + "description": "Custom decision algorithm can be provided in TiPCallback site extension which URL can be specified. See TiPCallback site extension for the scaffold and contracts.\nhttps://www.siteextensions.net/packages/TiPCallback/", "type": "string" }, "name": { @@ -2107,33 +2353,6 @@ "additionalProperties": { "type": "string" } - }, - "identity": { - "description": "Identity for the resource.", - "type": "object", - "properties": { - "principalId": { - "description": "The principal ID of resource identity.", - "type": "string", - "readOnly": true - }, - "tenantId": { - "description": "The tenant ID of resource.", - "type": "string", - "readOnly": true - }, - "type": { - "description": "The identity type.", - "type": "string", - "enum": [ - "SystemAssigned" - ], - "x-ms-enum": { - "name": "ManagedServiceIdentityType", - "modelAsString": false - } - } - } } }, "x-ms-azure-resource": true @@ -2458,7 +2677,7 @@ "type": "boolean" }, "enabledHostNames": { - "description": "Enabled hostnames for the app.Hostnames need to be assigned (see HostNames) AND enabled. Otherwise,\n the app is not served on those hostnames.", + "description": "Enabled hostnames for the app.Hostnames need to be assigned (see HostNames) AND enabled. Otherwise,\nthe app is not served on those hostnames.", "type": "array", "items": { "type": "string" @@ -2517,11 +2736,6 @@ }, "readOnly": true }, - "premiumAppDeployed": { - "description": "Indicates whether app is deployed as a premium app.", - "type": "boolean", - "readOnly": true - }, "scmSiteAlsoStopped": { "description": "true to stop SCM (KUDU) site when the app is stopped; otherwise, false. The default is false.", "default": false, @@ -2540,23 +2754,6 @@ "read" ] }, - "microService": { - "description": "Micro services like apps, logic apps.", - "default": "WebSites", - "type": "string", - "x-ms-mutability": [ - "create", - "read" - ] - }, - "gatewaySiteName": { - "description": "Name of gateway app associated with the app.", - "type": "string", - "x-ms-mutability": [ - "create", - "read" - ] - }, "clientAffinityEnabled": { "description": "true to enable client affinity; false to stop sending session affinity cookies, which route client requests in the same session to the same instance. Default is true.", "type": "boolean" @@ -2570,7 +2767,12 @@ "type": "boolean" }, "outboundIpAddresses": { - "description": "List of IP addresses that the app uses for outbound connections (e.g. database access). Read-only.", + "description": "List of IP addresses that the app uses for outbound connections (e.g. database access). Includes VIPs from tenants that site can be hosted with current settings. Read-only.", + "type": "string", + "readOnly": true + }, + "possibleOutboundIpAddresses": { + "description": "List of IP addresses that the app uses for outbound connections (e.g. database access). Includes VIPs from all tenants. Read-only.", "type": "string", "readOnly": true }, @@ -2592,7 +2794,7 @@ }, "maxNumberOfWorkers": { "format": "int32", - "description": "Maximum number of workers.\n This only applies to Functions container.", + "description": "Maximum number of workers.\nThis only applies to Functions container.", "type": "integer", "readOnly": true }, @@ -2629,9 +2831,16 @@ "$ref": "#/definitions/SlotSwapStatus", "description": "Status of the last deployment slot swap operation.", "readOnly": true + }, + "httpsOnly": { + "description": "HttpsOnly: configures a web site to accept only https requests. Issues redirect for\nhttp requests", + "type": "boolean" } }, "x-ms-client-flatten": true + }, + "identity": { + "$ref": "#/definitions/ManagedServiceIdentity" } } }, @@ -3065,7 +3274,7 @@ "type": "boolean" }, "ignoreConflictingHostNames": { - "description": "If true, custom hostname conflicts will be ignored when recovering to a target web app.\n This setting is only necessary when RecoverConfiguration is enabled.", + "description": "If true, custom hostname conflicts will be ignored when recovering to a target web app.\nThis setting is only necessary when RecoverConfiguration is enabled.", "type": "boolean" } }, @@ -3082,7 +3291,7 @@ "type": "string" }, "id": { - "description": "ARM resource ID of the target app. \n /subscriptions/{subId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{siteName} for production slots and \n /subscriptions/{subId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{siteName}/slots/{slotName} for other slots.", + "description": "ARM resource ID of the target app. \n/subscriptions/{subId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{siteName} for production slots and \n/subscriptions/{subId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{siteName}/slots/{slotName} for other slots.", "type": "string" } } @@ -3214,7 +3423,8 @@ "readOnly": true }, "certBlob": { - "description": "A certificate file (.cer) blob containing the public key of the private key used to authenticate a \n Point-To-Site VPN connection.", + "format": "byte", + "description": "A certificate file (.cer) blob containing the public key of the private key used to authenticate a \nPoint-To-Site VPN connection.", "type": "string" }, "routes": { @@ -3269,7 +3479,7 @@ "type": "string" }, "routeType": { - "description": "The type of route this is:\n DEFAULT - By default, every app has routes to the local address ranges specified by RFC1918\n INHERITED - Routes inherited from the real Virtual Network routes\n STATIC - Static route set on the app only\n \n These values will be used for syncing an app's routes with those from a Virtual Network.", + "description": "The type of route this is:\nDEFAULT - By default, every app has routes to the local address ranges specified by RFC1918\nINHERITED - Routes inherited from the real Virtual Network routes\nSTATIC - Static route set on the app only\n\nThese values will be used for syncing an app's routes with those from a Virtual Network.", "enum": [ "DEFAULT", "INHERITED", @@ -3320,11 +3530,11 @@ "in": "path", "description": "Name of the resource group to which the resource belongs.", "required": true, - "x-ms-parameter-location": "method", "type": "string", "maxLength": 90, "minLength": 1, - "pattern": "^[-\\w\\._\\(\\)]+[^\\.]$" + "pattern": "^[-\\w\\._\\(\\)]+[^\\.]$", + "x-ms-parameter-location": "method" }, "apiVersionParameter": { "name": "api-version",