Microsoft Azure Advisor Suppression Contracts API
The SuppressionContracts API from Microsoft Azure Advisor — 1 operation(s) for suppressioncontracts.
The SuppressionContracts API from Microsoft Azure Advisor — 1 operation(s) for suppressioncontracts.
Every API here is available over the APIs.io API and to AI agents over MCP.
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
find_apisBrowse and filter every API in the catalog.get_api_artifactsOne API's artifacts, grouped by type.get_openapiThe primary OpenAPI for this API.find_similar_apisAPIs that look like this one.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.curl "https://apis.io/api/v1/apis/microsoft-azure-advisor:microsoft-azure-advisor-suppressioncontracts-api"
curl "https://apis.io/api/v1/apis?limit=25"
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.
openapi: 3.2.0
info:
title: Microsoft Azure Advisor Suppression Contracts API
version: '2026-10-01'
x-typespec-generated:
- emitter: '@azure-tools/typespec-autorest'
description: 'Operations tagged SuppressionContracts across 2 of this provider''s published API definitions: microsoft-azure-advisor-2026-10-01-openapi.json, microsoft-azure-advisor-openapi.yml. Each path carries the servers of the definition it was published in.'
servers:
- url: https://management.azure.com
security:
- azure_auth:
- user_impersonation
tags:
- name: SuppressionContracts
paths:
/{resourceUri}/providers/Microsoft.Advisor/recommendations/{recommendationId}/suppressions/{name}:
get:
operationId: Suppressions_Get
tags:
- SuppressionContracts
description: Obtains the details of a suppression.
parameters:
- $ref: ../../../../../../common-types/resource-management/v4/types.json#/parameters/ApiVersionParameter
- $ref: '#/components/parameters/Azure.ResourceManager.ResourceUriParameter'
- name: recommendationId
in: path
description: The recommendation ID.
required: true
schema:
type: string
- name: name
in: path
description: The name of the suppression.
required: true
schema:
type: string
responses:
'200':
description: Azure operation completed successfully.
content:
application/json:
schema:
$ref: '#/components/schemas/SuppressionContract'
'404':
description: The server cannot find the requested resource.
x-ms-error-response: true
content:
application/json:
schema:
$ref: '#/components/schemas/ArmErrorResponse'
default:
description: An unexpected error response.
content:
application/json:
schema:
$ref: '#/components/schemas/ArmErrorResponse'
x-ms-examples:
GetSuppressionDetail:
$ref: ./examples/GetSuppressionDetail.json
summary: Suppressions get
x-summary-source: derived
put:
operationId: Suppressions_Create
tags:
- SuppressionContracts
description: Enables the snoozed or dismissed attribute of a recommendation. The snoozed or dismissed attribute is referred to as a suppression. Use this API to create or update the snoozed or dismissed status of a recommendation.
parameters:
- $ref: ../../../../../../common-types/resource-management/v4/types.json#/parameters/ApiVersionParameter
- $ref: '#/components/parameters/Azure.ResourceManager.ResourceUriParameter'
- name: recommendationId
in: path
description: The recommendation ID.
required: true
schema:
type: string
- name: name
in: path
description: The name of the suppression.
required: true
schema:
type: string
responses:
'200':
description: Azure operation completed successfully.
content:
application/json:
schema:
$ref: '#/components/schemas/SuppressionContract'
'404':
description: The server cannot find the requested resource.
x-ms-error-response: true
content:
application/json:
schema:
$ref: '#/components/schemas/ArmErrorResponse'
default:
description: An unexpected error response.
content:
application/json:
schema:
$ref: '#/components/schemas/ArmErrorResponse'
x-ms-examples:
CreateSuppression:
$ref: ./examples/CreateSuppression.json
requestBody:
content:
application/json:
schema:
$ref: '#/components/schemas/SuppressionContract'
description: The snoozed or dismissed attribute; for example, the snooze duration.
required: true
summary: Suppressions create
x-summary-source: derived
delete:
operationId: Suppressions_Delete
tags:
- SuppressionContracts
description: Enables the activation of a snoozed or dismissed recommendation. The snoozed or dismissed attribute of a recommendation is referred to as a suppression.
parameters:
- $ref: ../../../../../../common-types/resource-management/v4/types.json#/parameters/ApiVersionParameter
- $ref: '#/components/parameters/Azure.ResourceManager.ResourceUriParameter'
- name: recommendationId
in: path
description: The recommendation ID.
required: true
schema:
type: string
- name: name
in: path
description: The name of the suppression.
required: true
schema:
type: string
responses:
'204':
description: Resource does not exist.
default:
description: An unexpected error response.
content:
application/json:
schema:
$ref: '#/components/schemas/ArmErrorResponse'
x-ms-examples:
DeleteSuppression:
$ref: ./examples/DeleteSuppression.json
summary: Suppressions delete
x-summary-source: derived
servers:
- url: https://management.azure.com
components:
schemas:
ArmErrorResponse:
type: object
properties:
error:
$ref: '#/components/schemas/ARMErrorResponseBody'
description: ARM error response body.
SuppressionContract:
type: object
description: The details of the snoozed or dismissed rule; for example, the duration, name, and GUID associated with the rule.
properties:
properties:
$ref: '#/components/schemas/SuppressionProperties'
description: The properties of the suppression.
x-ms-client-flatten: true
allOf:
- $ref: ../../../../../../common-types/resource-management/v4/types.json#/definitions/ProxyResource
ARMErrorResponseBody:
type: object
description: ARM error response body.
properties:
message:
type: string
description: Gets or sets the string that describes the error in detail and provides debugging information.
code:
type: string
description: Gets or sets the string that can be used to programmatically identify the error.
SuppressionProperties:
type: object
description: The properties of the suppression.
properties:
suppressionId:
type: string
description: The GUID of the suppression.
ttl:
type: string
description: The duration for which the suppression is valid.
expirationTimeStamp:
type: string
format: date-time
description: Gets or sets the expiration time stamp.
readOnly: true
parameters:
Azure.ResourceManager.ResourceUriParameter:
name: resourceUri
in: path
description: The fully qualified Azure Resource manager identifier of the resource.
required: true
x-ms-parameter-location: method
x-ms-skip-url-encoding: true
schema:
type: string
securitySchemes:
azure_auth:
type: oauth2
flows:
implicit:
scopes:
user_impersonation: impersonate your user account
authorizationUrl: https://login.microsoftonline.com/common/oauth2/authorize
description: Azure Active Directory OAuth2 Flow.
x-refined-from:
- microsoft-azure-advisor-2026-10-01-openapi.json
- microsoft-azure-advisor-openapi.yml