Microsoft.ApiManagement service/apis 2019-12-01-preview

The service/apis resource type can be deployed to: Resource groups.

To learn about resource group deployments, see Bicep or ARM template.

Template format

To create a Microsoft.ApiManagement/service/apis resource, add the following Bicep or JSON to your template.

resource symbolicname 'Microsoft.ApiManagement/service/apis@2019-12-01-preview' = {
  name: 'string'
  parent: parentSymbolicName
  properties: {
    apiRevision: 'string'
    apiRevisionDescription: 'string'
    apiType: 'string'
    apiVersion: 'string'
    apiVersionDescription: 'string'
    apiVersionSet: {
      description: 'string'
      id: 'string'
      name: 'string'
      versionHeaderName: 'string'
      versioningScheme: 'string'
      versionQueryName: 'string'
    }
    apiVersionSetId: 'string'
    authenticationSettings: {
      oAuth2: {
        authorizationServerId: 'string'
        scope: 'string'
      }
      openid: {
        bearerTokenSendingMethods: [ 'string' ]
        openidProviderId: 'string'
      }
    }
    description: 'string'
    displayName: 'string'
    format: 'string'
    isCurrent: bool
    path: 'string'
    protocols: [ 'string' ]
    serviceUrl: 'string'
    sourceApiId: 'string'
    subscriptionKeyParameterNames: {
      header: 'string'
      query: 'string'
    }
    subscriptionRequired: bool
    type: 'string'
    value: 'string'
    wsdlSelector: {
      wsdlEndpointName: 'string'
      wsdlServiceName: 'string'
    }
  }
}

Property values

service/apis

Name Description Value
type The resource type

For Bicep, set this value in the resource declaration.
'Microsoft.ApiManagement/service/apis'
apiVersion The resource api version

For Bicep, set this value in the resource declaration.
'2019-12-01-preview'
name The resource name

See how to set names and types for child resources in Bicep or JSON ARM templates.
string (required)
parent In Bicep, you can specify the parent resource for a child resource. You only need to add this property when the child resource is declared outside of the parent resource.

For more information, see Child resource outside parent resource.
parentSymbolicName
properties ApiCreateOrUpdateProperties

ApiCreateOrUpdateProperties

Name Description Value
apiRevision string
apiRevisionDescription string
apiType 'http'
'soap'
apiVersion string
apiVersionDescription string
apiVersionSet ApiVersionSetContractDetails
apiVersionSetId string
authenticationSettings AuthenticationSettingsContract
description string
displayName string
format 'openapi'
'openapi+json'
'openapi+json-link'
'openapi-link'
'swagger-json'
'swagger-link-json'
'wadl-link-json'
'wadl-xml'
'wsdl'
'wsdl-link'
isCurrent bool
path string (required)
protocols String array containing any of:
'http'
'https'
serviceUrl string
sourceApiId string
subscriptionKeyParameterNames SubscriptionKeyParameterNamesContract
subscriptionRequired bool
type 'http'
'soap'
value string
wsdlSelector ApiCreateOrUpdatePropertiesWsdlSelector

ApiVersionSetContractDetails

Name Description Value
description string
id string
name string
versionHeaderName string
versioningScheme 'Header'
'Query'
'Segment'
versionQueryName string

AuthenticationSettingsContract

Name Description Value
oAuth2 OAuth2AuthenticationSettingsContract
openid OpenIdAuthenticationSettingsContract

OAuth2AuthenticationSettingsContract

Name Description Value
authorizationServerId string
scope string

OpenIdAuthenticationSettingsContract

Name Description Value
bearerTokenSendingMethods String array containing any of:
'authorizationHeader'
'query'
openidProviderId string

SubscriptionKeyParameterNamesContract

Name Description Value
header string
query string

ApiCreateOrUpdatePropertiesWsdlSelector

Name Description Value
wsdlEndpointName string
wsdlServiceName string

Quickstart templates

The following quickstart templates deploy this resource type.

Template Description
Create an API Management instance and all sub resources using template

Deploy to Azure
This template demonstrates how to create a API Management service and configure sub-entities
Create Azure Front Door in front of Azure API Management

Deploy to Azure
This sample demonstrates how to use Azure Front Door as a global load balancer in front of Azure API Management.