swagger: '2.0'
info:
version: '2023-01-01'
title: 'Microsoft Azure API Client'
host: management.azure.com
schemes:
- https
consumes:
- application/json
produces:
- application/json
paths:
/providers/Microsoft.Web/publishingUsers/web:
get:
summary: Microsoft Azure Gets Publishing User
description: Description for Gets publishing user
operationId: microsoftAzureGetpublishinguser
parameters:
- $ref: '#/parameters/apiVersionParameter'
responses:
'200':
description: OK
schema:
$ref: ./CommonDefinitions.json#/definitions/User
default:
description: App Service error response.
schema:
$ref: ./CommonDefinitions.json#/definitions/DefaultErrorResponse
tags:
- Providers
put:
summary: Microsoft Azure Updates Publishing User
description: Description for Updates publishing user
operationId: microsoftAzureUpdatepublishinguser
parameters:
- name: userDetails
in: body
description: Details of publishing user
required: true
schema:
$ref: ./CommonDefinitions.json#/definitions/User
- $ref: '#/parameters/apiVersionParameter'
responses:
'200':
description: OK
schema:
$ref: ./CommonDefinitions.json#/definitions/User
default:
description: App Service error response.
schema:
$ref: ./CommonDefinitions.json#/definitions/DefaultErrorResponse
tags:
- Providers
/providers/Microsoft.Web/sourcecontrols:
get:
summary: 'Microsoft Azure Gets The Source Controls Available For Azure Websites'
description: Description for Gets the source controls available for Azure websites.
operationId: microsoftAzureListsourcecontrols
parameters:
- $ref: '#/parameters/apiVersionParameter'
responses:
'200':
description: OK
schema:
$ref: '#/definitions/SourceControlCollection'
default:
description: App Service error response.
schema:
$ref: ./CommonDefinitions.json#/definitions/DefaultErrorResponse
x-ms-pageable:
nextLinkName: nextLink
tags:
- Providers
/providers/Microsoft.Web/sourcecontrols/{sourceControlType}:
get:
summary: Microsoft Azure Gets Source Control Token
description: Description for Gets source control token
operationId: microsoftAzureGetsourcecontrol
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'
default:
description: App Service error response.
schema:
$ref: ./CommonDefinitions.json#/definitions/DefaultErrorResponse
tags:
- Providers
put:
summary: Microsoft Azure Updates Source Control Token
description: Description for Updates source control token
operationId: microsoftAzureUpdatesourcecontrol
parameters:
- name: sourceControlType
in: path
description: Type of source control
required: true
type: string
- name: requestMessage
in: body
description: Source control token information
required: true
schema:
$ref: '#/definitions/SourceControl'
- $ref: '#/parameters/apiVersionParameter'
responses:
'200':
description: OK
schema:
$ref: '#/definitions/SourceControl'
default:
description: App Service error response.
schema:
$ref: ./CommonDefinitions.json#/definitions/DefaultErrorResponse
tags:
- Providers
/subscriptions/{subscriptionId}/providers/Microsoft.Web/billingMeters:
get:
summary: 'Microsoft Azure Gets A List Of Meters For A Given Location'
description: Description for Gets a list of meters for a given location.
operationId: microsoftAzureListbillingmeters
parameters:
- name: billingLocation
in: query
description: Azure Location of billable resource
type: string
- name: osType
in: query
description: App Service OS type meters used for
type: string
- $ref: '#/parameters/subscriptionIdParameter'
- $ref: '#/parameters/apiVersionParameter'
responses:
'200':
description: OK
schema:
$ref: '#/definitions/BillingMeterCollection'
default:
description: App Service error response.
schema:
$ref: ./CommonDefinitions.json#/definitions/DefaultErrorResponse
x-ms-pageable:
nextLinkName: nextLink
tags:
- Subscriptions
/subscriptions/{subscriptionId}/providers/Microsoft.Web/checknameavailability:
post:
summary: 'Microsoft Azure Check If A Resource Name Is Available'
description: Description for Check if a resource name is available.
operationId: microsoftAzureChecknameavailability
parameters:
- name: request
in: body
description: Name availability request.
required: true
schema:
$ref: '#/definitions/ResourceNameAvailabilityRequest'
x-ms-client-flatten: true
- $ref: '#/parameters/subscriptionIdParameter'
- $ref: '#/parameters/apiVersionParameter'
responses:
'200':
description: OK
schema:
$ref: '#/definitions/ResourceNameAvailability'
default:
description: App Service error response.
schema:
$ref: ./CommonDefinitions.json#/definitions/DefaultErrorResponse
tags:
- Subscriptions
/subscriptions/{subscriptionId}/providers/Microsoft.Web/customhostnameSites:
get:
summary: Microsoft Azure Get Custom Hostnames Under This Subscription
operationId: microsoftAzureListcustomhostnamesites
parameters:
- $ref: '#/parameters/subscriptionIdParameter'
- $ref: '#/parameters/hostnameParameter'
- $ref: '#/parameters/apiVersionParameter'
responses:
'200':
description: OK
schema:
$ref: '#/definitions/CustomHostnameSitesCollection'
default:
description: App Service error response.
schema:
$ref: ./CommonDefinitions.json#/definitions/DefaultErrorResponse
x-ms-examples:
Get custom hostnames under subscription:
$ref: ./examples/ListCustomHostNameSites.json
Get specific custom hostname under subscription:
$ref: ./examples/ListCustomSpecificHostNameSites.json
x-ms-pageable:
nextLinkName: nextLink
description: Needs a more full description created.
tags:
- Subscriptions
/subscriptions/{subscriptionId}/providers/Microsoft.Web/deploymentLocations:
get:
summary: Microsoft Azure Gets List Of Available Geo Regions Plus Ministamps
description: Description for Gets list of available geo regions plus ministamps
operationId: microsoftAzureGetsubscriptiondeploymentlocations
parameters:
- $ref: '#/parameters/subscriptionIdParameter'
- $ref: '#/parameters/apiVersionParameter'
responses:
'200':
description: OK
schema:
$ref: '#/definitions/DeploymentLocations'
default:
description: App Service error response.
schema:
$ref: ./CommonDefinitions.json#/definitions/DefaultErrorResponse
tags:
- Subscriptions
/subscriptions/{subscriptionId}/providers/Microsoft.Web/aseRegions:
get:
summary: 'Microsoft Azure Get A List Of Available Ase Regions And Its Supported Skus'
description: >-
Description for get a list of available ASE regions and its supported
Skus.
operationId: microsoftAzureListaseregions
parameters:
- $ref: '#/parameters/subscriptionIdParameter'
- $ref: '#/parameters/apiVersionParameter'
responses:
'200':
description: OK
schema:
$ref: '#/definitions/AseRegionCollection'
default:
description: App Service error response.
schema:
$ref: ./CommonDefinitions.json#/definitions/DefaultErrorResponse
x-ms-examples:
List aseregions:
$ref: ./examples/ListAseRegions.json
x-ms-pageable:
nextLinkName: nextLink
tags:
- Subscriptions
/subscriptions/{subscriptionId}/providers/Microsoft.Web/geoRegions:
get:
summary: 'Microsoft Azure Get A List Of Available Geographical Regions'
description: Description for Get a list of available geographical regions.
operationId: microsoftAzureListgeoregions
parameters:
- name: sku
in: query
description: Name of SKU used to filter the regions.
type: string
enum:
- Free
- Shared
- Basic
- Standard
- Premium
- Dynamic
- Isolated
- IsolatedV2
- PremiumV2
- PremiumV3
- PremiumContainer
- ElasticPremium
- ElasticIsolated
x-ms-enum:
name: SkuName
modelAsString: true
- name: linuxWorkersEnabled
in: query
description: >-
Specify true if you want to filter to only regions that
support Linux workers.
type: boolean
- name: xenonWorkersEnabled
in: query
description: >-
Specify true if you want to filter to only regions that
support Xenon workers.
type: boolean
- name: linuxDynamicWorkersEnabled
in: query
description: >-
Specify true if you want to filter to only regions that
support Linux Consumption Workers.
type: boolean
- $ref: '#/parameters/subscriptionIdParameter'
- $ref: '#/parameters/apiVersionParameter'
responses:
'200':
description: OK
schema:
$ref: '#/definitions/GeoRegionCollection'
default:
description: App Service error response.
schema:
$ref: ./CommonDefinitions.json#/definitions/DefaultErrorResponse
x-ms-pageable:
nextLinkName: nextLink
tags:
- Subscriptions
/subscriptions/{subscriptionId}/providers/Microsoft.Web/listSitesAssignedToHostName:
post:
summary: 'Microsoft Azure List All Apps That Are Assigned To A Hostname'
description: Description for List all apps that are assigned to a hostname.
operationId: microsoftAzureListsiteidentifiersassignedtohostname
parameters:
- name: nameIdentifier
in: body
description: Hostname information.
required: true
schema:
$ref: ./CommonDefinitions.json#/definitions/NameIdentifier
- $ref: '#/parameters/subscriptionIdParameter'
- $ref: '#/parameters/apiVersionParameter'
responses:
'200':
description: OK
schema:
$ref: ./CommonDefinitions.json#/definitions/IdentifierCollection
default:
description: App Service error response.
schema:
$ref: ./CommonDefinitions.json#/definitions/DefaultErrorResponse
x-ms-pageable:
nextLinkName: nextLink
tags:
- Subscriptions
/subscriptions/{subscriptionId}/providers/Microsoft.Web/premieraddonoffers:
get:
summary: 'Microsoft Azure List All Premier Add On Offers'
description: Description for List all premier add-on offers.
operationId: microsoftAzureListpremieraddonoffers
parameters:
- $ref: '#/parameters/subscriptionIdParameter'
- $ref: '#/parameters/apiVersionParameter'
responses:
'200':
description: OK
schema:
$ref: '#/definitions/PremierAddOnOfferCollection'
default:
description: App Service error response.
schema:
$ref: ./CommonDefinitions.json#/definitions/DefaultErrorResponse
x-ms-pageable:
nextLinkName: nextLink
tags:
- Subscriptions
/subscriptions/{subscriptionId}/providers/Microsoft.Web/skus:
get:
summary: 'Microsoft Azure List All Skus'
description: Description for List all SKUs.
operationId: microsoftAzureListskus
parameters:
- $ref: '#/parameters/subscriptionIdParameter'
- $ref: '#/parameters/apiVersionParameter'
responses:
'200':
description: OK
schema:
$ref: '#/definitions/SkuInfos'
default:
description: App Service error response.
schema:
$ref: ./CommonDefinitions.json#/definitions/DefaultErrorResponse
tags:
- Subscriptions
/subscriptions/{subscriptionId}/providers/Microsoft.Web/locations/{location}/usages:
get:
summary: >-
Microsoft Azure Lists Subscription Core Usages For All Skus Used In A Location, For A Given Type Of Quota
description: >-
List usages in cores for all skus used by a subscription in a given
location, for a specific quota type.
operationId: microsoftAzureGetusagesinlocationList
parameters:
- $ref: >-
../../../../../common-types/resource-management/v5/types.json#/parameters/LocationParameter
- $ref: '#/parameters/subscriptionIdParameter'
- $ref: '#/parameters/apiVersionParameter'
responses:
'200':
description: OK
schema:
$ref: ./CommonDefinitions.json#/definitions/CsmUsageQuotaCollection
default:
description: App Service error response.
schema:
$ref: ./CommonDefinitions.json#/definitions/DefaultErrorResponse
x-ms-examples:
Get usages in location for subscription:
$ref: ./examples/GetUsagesInLocation.json
x-ms-pageable:
nextLinkName: nextLink
tags:
- Subscriptions
/subscriptions/{subscriptionId}/providers/Microsoft.Web/verifyHostingEnvironmentVnet:
post:
summary: >-
Microsoft Azure Verifies If This Vnet Is Compatible With An App Service Environment By Analyzing The Network Security Group Rules
description: >-
Description for Verifies if this VNET is compatible with an App Service
Environment by analyzing the Network Security Group rules.
operationId: microsoftAzureVerifyhostingenvironmentvnet
parameters:
- name: parameters
in: body
description: VNET information
required: true
schema:
$ref: '#/definitions/VnetParameters'
- $ref: '#/parameters/subscriptionIdParameter'
- $ref: '#/parameters/apiVersionParameter'
responses:
'200':
description: OK
schema:
$ref: '#/definitions/VnetValidationFailureDetails'
default:
description: App Service error response.
schema:
$ref: ./CommonDefinitions.json#/definitions/DefaultErrorResponse
x-ms-examples:
VerifyHostingEnvironmentVnet:
$ref: ./examples/VerifyHostingEnvironmentVnet.json
tags:
- Subscriptions
/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/moveResources:
post:
summary: 'Microsoft Azure Move Resources Between Resource Groups'
description: Description for Move resources between resource groups.
operationId: microsoftAzureMove
parameters:
- $ref: '#/parameters/resourceGroupNameParameter'
- name: moveResourceEnvelope
in: body
description: Object that represents the resource to move.
required: true
schema:
$ref: '#/definitions/CsmMoveResourceEnvelope'
- $ref: '#/parameters/subscriptionIdParameter'
- $ref: '#/parameters/apiVersionParameter'
responses:
'204':
description: No Content
default:
description: App Service error response.
schema:
$ref: ./CommonDefinitions.json#/definitions/DefaultErrorResponse
tags:
- Subscriptions
/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/validate:
post:
summary: 'Microsoft Azure Validate If A Resource Can Be Created'
description: Description for Validate if a resource can be created.
operationId: microsoftAzureValidate
parameters:
- $ref: '#/parameters/resourceGroupNameParameter'
- name: validateRequest
in: body
description: Request with the resources to validate.
required: true
schema:
$ref: '#/definitions/ValidateRequest'
- $ref: '#/parameters/subscriptionIdParameter'
- $ref: '#/parameters/apiVersionParameter'
responses:
'200':
description: OK
schema:
$ref: '#/definitions/ValidateResponse'
default:
description: App Service error response.
schema:
$ref: ./CommonDefinitions.json#/definitions/DefaultErrorResponse
tags:
- Subscriptions
/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/validateMoveResources:
post:
summary: 'Microsoft Azure Validate Whether A Resource Can Be Moved'
description: Description for Validate whether a resource can be moved.
operationId: microsoftAzureValidatemove
parameters:
- $ref: '#/parameters/resourceGroupNameParameter'
- name: moveResourceEnvelope
in: body
description: Object that represents the resource to move.
required: true
schema:
$ref: '#/definitions/CsmMoveResourceEnvelope'
- $ref: '#/parameters/subscriptionIdParameter'
- $ref: '#/parameters/apiVersionParameter'
responses:
'204':
description: No Content
default:
description: App Service error response.
schema:
$ref: ./CommonDefinitions.json#/definitions/DefaultErrorResponse
tags:
- Subscriptions
definitions:
AppserviceGithubToken:
description: Github access token for Appservice CLI github integration.
type: object
properties:
accessToken:
description: Github access token for Appservice CLI github integration
type: string
scope:
description: Scope of the github access token
type: string
tokenType:
description: token type
type: string
gotToken:
description: True if valid github token received, False otherwise
type: boolean
errorMessage:
description: Error message if unable to get token
type: string
AppserviceGithubTokenRequest:
description: Appservice Github token request content.
required:
- code
- state
type: object
properties:
code:
description: Code string to exchange for Github Access token
type: string
state:
description: State string used for verification.
type: string
BillingMeter:
description: >-
App Service billing entity that contains information about meter which the
Azure billing system utilizes to charge users for services.
type: object
allOf:
- $ref: ./CommonDefinitions.json#/definitions/ProxyOnlyResource
properties:
properties:
description: BillingMeter resource specific properties
type: object
properties:
meterId:
description: Meter GUID onboarded in Commerce
type: string
billingLocation:
description: Azure Location of billable resource
type: string
shortName:
description: Short Name from App Service Azure pricing Page
type: string
friendlyName:
description: Friendly name of the meter
type: string
resourceType:
description: App Service ResourceType meter used for
type: string
osType:
description: App Service OS type meter used for
type: string
multiplier:
format: double
description: Meter Multiplier
type: number
x-ms-client-flatten: true
BillingMeterCollection:
description: Collection of Billing Meters
required:
- value
type: object
properties:
value:
description: Collection of resources.
type: array
items:
$ref: '#/definitions/BillingMeter'
nextLink:
description: Link to next page of resources.
type: string
readOnly: true
CsmMoveResourceEnvelope:
description: >-
Object with a list of the resources that need to be moved and the resource
group they should be moved to.
type: object
properties:
targetResourceGroup:
maxLength: 90
minLength: 1
pattern: ' ^[-\w\._\(\)]+[^\.]$'
type: string
resources:
type: array
items:
type: string
CustomHostnameSites:
description: A hostname and its assigned sites
type: object
allOf:
- $ref: ./CommonDefinitions.json#/definitions/ProxyOnlyResource
properties:
properties:
description: CustomHostnameSites resource specific properties
type: object
properties:
customHostname:
type: string
region:
type: string
siteResourceIds:
type: array
items:
$ref: ./CommonDefinitions.json#/definitions/Identifier
x-ms-client-flatten: true
CustomHostnameSitesCollection:
description: Collection of custom hostname sites
required:
- value
type: object
properties:
value:
description: Collection of resources.
type: array
items:
$ref: '#/definitions/CustomHostnameSites'
nextLink:
description: Link to next page of resources.
type: string
readOnly: true
DeploymentLocations:
description: |-
List of available locations (regions or App Service Environments) for
deployment 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: ./CommonDefinitions.json#/definitions/AppServiceEnvironment
x-ms-identifiers: []
hostingEnvironmentDeploymentInfos:
description: Available App Service Environments with basic information.
type: array
items:
$ref: '#/definitions/HostingEnvironmentDeploymentInfo'
x-ms-identifiers:
- name
AseRegion:
description: ASE region.
type: object
allOf:
- $ref: ./CommonDefinitions.json#/definitions/ProxyOnlyResource
properties:
properties:
description: ASE region resource specific properties
type: object
properties:
displayName:
description: Display name for region.
type: string
readOnly: true
standard:
description: Is region standard.
type: boolean
readOnly: true
dedicatedHost:
description: Dedicated host enabled.
type: boolean
readOnly: true
zoneRedundant:
description: Zone redundant deployment enabled.
type: boolean
readOnly: true
availableSku:
description: Available Skus in region.
type: array
items:
type: string
availableOS:
description: Available OSs in region.
type: array
items:
type: string
x-ms-client-flatten: true
GeoRegion:
description: Geographical region.
type: object
allOf:
- $ref: ./CommonDefinitions.json#/definitions/ProxyOnlyResource
properties:
properties:
description: GeoRegion resource specific properties
type: object
properties:
description:
description: Region description.
type: string
readOnly: true
displayName:
description: Display name for region.
type: string
readOnly: true
orgDomain:
description: Display name for region.
type: string
readOnly: true
x-ms-client-flatten: true
AseRegionCollection:
description: Collection of ASE regions.
required:
- value
type: object
properties:
value:
description: Collection of resources.
type: array
items:
$ref: '#/definitions/AseRegion'
nextLink:
description: Link to next page of resources.
type: string
readOnly: true
GeoRegionCollection:
description: Collection of geographical regions.
required:
- value
type: object
properties:
value:
description: Collection of resources.
type: array
items:
$ref: '#/definitions/GeoRegion'
nextLink:
description: Link to next page of resources.
type: string
readOnly: true
GlobalCsmSkuDescription:
description: A Global SKU Description.
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:
$ref: ./CommonDefinitions.json#/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: ./CommonDefinitions.json#/definitions/Capability
x-ms-identifiers:
- name
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
PremierAddOnOffer:
description: Premier add-on offer.
type: object
allOf:
- $ref: ./CommonDefinitions.json#/definitions/ProxyOnlyResource
properties:
properties:
description: PremierAddOnOffer resource specific properties
type: object
properties:
sku:
description: Premier add on SKU.
type: string
product:
description: Premier add on offer Product.
type: string
vendor:
description: Premier add on offer Vendor.
type: string
promoCodeRequired:
description: >-
true if promotion code is required; otherwise,
false.
type: boolean
quota:
format: int32
description: Premier add on offer Quota.
type: integer
webHostingPlanRestrictions:
description: App Service plans this offer is restricted to.
enum:
- None
- Free
- Shared
- Basic
- Standard
- Premium
type: string
x-ms-enum:
name: AppServicePlanRestrictions
modelAsString: false
privacyPolicyUrl:
description: Privacy policy URL.
type: string
legalTermsUrl:
description: Legal terms URL.
type: string
marketplacePublisher:
description: Marketplace publisher.
type: string
marketplaceOffer:
description: Marketplace offer.
type: string
x-ms-client-flatten: true
PremierAddOnOfferCollection:
description: Collection of premier add-on offers.
required:
- value
type: object
properties:
value:
description: Collection of resources.
type: array
items:
$ref: '#/definitions/PremierAddOnOffer'
nextLink:
description: Link to next page of resources.
type: string
readOnly: true
ResourceNameAvailability:
description: Information regarding availability of a resource name.
type: object
properties:
nameAvailable:
description: >-
true indicates name is valid and available.
false indicates the name is invalid, unavailable, or
both.
type: boolean
reason:
description: >-
Invalid indicates the name provided does not match Azure
App Service naming requirements. AlreadyExists indicates
that the name is already in use and is therefore unavailable.
enum:
- Invalid
- AlreadyExists
type: string
x-ms-enum:
name: InAvailabilityReasonType
modelAsString: true
message:
description: >-
If reason == invalid, provide the user with the reason why the given
name is invalid, and provide the resource naming requirements so that
the user can select a valid name. If reason == AlreadyExists, explain
that resource name is already in use, and direct them to select a
different name.
type: string
ResourceNameAvailabilityRequest:
description: Resource name availability request content.
required:
- name
- type
type: object
properties:
name:
description: Resource name to verify.
type: string
type:
description: Resource type used for verification.
enum:
- Site
- Slot
- HostingEnvironment
- PublishingUser
- Microsoft.Web/sites
- Microsoft.Web/sites/slots
- Microsoft.Web/hostingEnvironments
- Microsoft.Web/publishingUsers
type: string
x-ms-enum:
name: CheckNameResourceTypes
modelAsString: true
isFqdn:
description: Is fully qualified domain name.
type: boolean
environmentId:
description: >-
Azure Resource Manager ID of the customer's selected Container Apps
Environment on which to host the Function app. This must be of the
form
/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.App/managedEnvironments/{managedEnvironmentName}
type: string
SkuInfos:
description: Collection of SKU information.
type: object
properties:
resourceType:
description: Resource type that this SKU applies to.
type: string
skus:
description: List of SKUs the subscription is able to use.
type: array
items:
$ref: '#/definitions/GlobalCsmSkuDescription'
x-ms-identifiers:
- name
SourceControl:
description: The source control OAuth token.
type: object
allOf:
- $ref: ./CommonDefinitions.json#/definitions/ProxyOnlyResource
properties:
properties:
description: SourceControl resource specific properties
type: object
properties:
token:
description: OAuth access token.
type: string
tokenSecret:
description: OAuth access token secret.
type: string
refreshToken:
description: OAuth refresh token.
type: string
expirationTime:
format: date-time
description: OAuth token expiration.
type: string
x-ms-client-flatten: true
SourceControlCollection:
description: Collection of source controls.
required:
- value
type: object
properties:
value:
description: Collection of resources.
type: array
items:
$ref: '#/definitions/SourceControl'
nextLink:
description: Link to next page of resources.
type: string
readOnly: true
ValidateProperties:
description: App properties used for validation.
type: object
properties:
serverFarmId:
description: ARM resource ID of an App Service plan that would host the app.
type: string
skuName:
description: Name of the target SKU for the App Service plan.
type: string
needLinuxWorkers:
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 VMs).
minimum: 1
type: integer
hostingEnvironment:
description: >-
Name of App Service Environment where app or App Service plan should
be created.
type: string
isXenon:
description: >-
true if App Service plan is running as a windows
container
type: boolean
containerRegistryBaseUrl:
description: Base URL of the container registry
type: string
containerRegistryUsername:
description: Username for to access the container registry
type: string
containerRegistryPassword:
description: Password for to access the container registry
type: string
containerImageRepository:
description: Repository name (image name)
type: string
containerImageTag:
description: Image tag
type: string
containerImagePlatform:
description: Platform (windows or linux)
type: string
appServiceEnvironment:
$ref: ./CommonDefinitions.json#/definitions/AppServiceEnvironment
description: App Service Environment Properties
ValidateRequest:
description: Resource validation request content.
required:
- name
- type
- location
- properties
type: object
properties:
name:
description: Resource name to verify.
type: string
type:
description: Resource type used for verification.
enum:
- ServerFarm
- Site
- Microsoft.Web/hostingEnvironments
type: string
x-ms-enum:
name: ValidateResourceTypes
modelAsString: true
location:
description: Expected location of the resource.
type: string
properties:
$ref: '#/definitions/ValidateProperties'
description: Properties of the resource to validate.
x-ms-client-flatten: true
ValidateResponse:
description: Describes the result of resource validation.
type: object
properties:
status:
description: Result of validation.
type: string
error:
$ref: '#/definitions/ValidateResponseError'
description: Error details for the case when validation fails.
ValidateResponseError:
description: Error details for when validation fails.
type: object
properties:
code:
description: Validation error code.
type: string
message:
description: Validation error message.
type: string
VnetParameters:
description: The required set of inputs to validate a VNET
type: object
allOf:
- $ref: ./CommonDefinitions.json#/definitions/ProxyOnlyResource
properties:
properties:
description: VnetParameters resource specific properties
type: object
properties:
vnetResourceGroup:
description: The Resource Group of the VNET to be validated
type: string
vnetName:
description: The name of the VNET to be validated
type: string
vnetSubnetName:
description: The subnet name to be validated
type: string
subnetResourceId:
description: The ARM Resource ID of the subnet to validate
type: string
x-ms-client-flatten: true
VnetValidationFailureDetails:
description: A class that describes the reason for a validation failure.
type: object
allOf:
- $ref: ./CommonDefinitions.json#/definitions/ProxyOnlyResource
properties:
properties:
description: VnetValidationFailureDetails resource specific properties
type: object
properties:
message:
description: Text describing the validation outcome.
type: string
failed:
description: A flag describing whether or not validation failed.
type: boolean
failedTests:
description: A list of tests that failed in the validation.
type: array
items:
$ref: '#/definitions/VnetValidationTestFailure'
warnings:
description: A list of warnings generated during validation.
type: array
items:
$ref: '#/definitions/VnetValidationTestFailure'
x-ms-client-flatten: true
VnetValidationTestFailure:
description: A class that describes a test that failed during NSG and UDR validation.
type: object
allOf:
- $ref: ./CommonDefinitions.json#/definitions/ProxyOnlyResource
properties:
properties:
description: VnetValidationTestFailure resource specific properties
type: object
properties:
testName:
description: The name of the test that failed.
type: string
details:
description: >-
The details of what caused the failure, e.g. the blocking rule
name, etc.
type: string
x-ms-client-flatten: true
parameters:
subscriptionIdParameter:
name: subscriptionId
in: path
description: >-
Your Azure subscription ID. This is a GUID-formatted string (e.g.
00000000-0000-0000-0000-000000000000).
required: true
type: string
x-ms-parameter-location: client
resourceGroupNameParameter:
name: resourceGroupName
in: path
description: Name of the resource group to which the resource belongs.
required: true
type: string
maxLength: 90
minLength: 1
pattern: ^[-\w\._\(\)]+[^\.]$
x-ms-parameter-location: method
apiVersionParameter:
name: api-version
in: query
description: API Version
required: true
type: string
x-ms-parameter-location: client
hostnameParameter:
name: hostname
in: query
description: Specific hostname
required: false
type: string
x-ms-parameter-location: method
LocationParameter:
name: location
in: path
required: true
type: string
description: The name of the Azure region.
minLength: 1
x-ms-parameter-location: method
securityDefinitions:
azure_auth:
type: oauth2
description: Azure Active Directory OAuth2 Flow
flow: implicit
authorizationUrl: https://login.microsoftonline.com/common/oauth2/authorize
scopes:
user_impersonation: impersonate your user account
security:
- azure_auth:
- user_impersonation
tags:
- name: Providers
- name: Subscriptions