Microsoft.ApiManagement service/apis/diagnostics template reference

Template format

To create a Microsoft.ApiManagement/service/apis/diagnostics resource, add the following JSON to the resources section of your template.

  "name": "string",
  "type": "Microsoft.ApiManagement/service/apis/diagnostics",
  "apiVersion": "2017-03-01",
  "properties": {
    "enabled": "boolean"
  "resources": []

Property values

The following tables describe the values you need to set in the schema.

Microsoft.ApiManagement/service/apis/diagnostics object

Name Type Required Value
name string Yes Diagnostic identifier. Must be unique in the current API Management service instance.
type enum Yes diagnostics

See Set name and type for child resources.
apiVersion enum Yes 2017-03-01
properties object Yes Diagnostic entity contract properties. - DiagnosticContractProperties object
resources array No loggers

DiagnosticContractProperties object

Name Type Required Value
enabled boolean Yes Indicates whether a diagnostic should receive data or not.