SuppressionContractCollection Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
A class representing a collection of SuppressionContractResource and their operations. Each SuppressionContractResource in the collection will belong to the same instance of ResourceRecommendationBaseResource. To get a SuppressionContractCollection instance call the GetSuppressionContracts method from an instance of ResourceRecommendationBaseResource.
public class SuppressionContractCollection : Azure.ResourceManager.ArmCollection
type SuppressionContractCollection = class
inherit ArmCollection
Public Class SuppressionContractCollection
Inherits ArmCollection
- Inheritance
Constructors
SuppressionContractCollection() |
Initializes a new instance of the SuppressionContractCollection class for mocking. |
Properties
Client |
Gets the ArmClient this resource client was created from. (Inherited from ArmCollection) |
Diagnostics |
Gets the diagnostic options for this resource client. (Inherited from ArmCollection) |
Endpoint |
Gets the base uri for this resource client. (Inherited from ArmCollection) |
Id |
Gets the resource identifier. (Inherited from ArmCollection) |
Pipeline |
Gets the pipeline for this resource client. (Inherited from ArmCollection) |
Methods
CreateOrUpdate(WaitUntil, String, SuppressionContractData, CancellationToken) |
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.
|
CreateOrUpdateAsync(WaitUntil, String, SuppressionContractData, CancellationToken) |
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.
|
Exists(String, CancellationToken) |
Checks to see if the resource exists in azure.
|
ExistsAsync(String, CancellationToken) |
Checks to see if the resource exists in azure.
|
Get(String, CancellationToken) |
Obtains the details of a suppression.
|
GetAsync(String, CancellationToken) |
Obtains the details of a suppression.
|
GetIfExists(String, CancellationToken) |
Tries to get details for this resource from the service.
|
GetIfExistsAsync(String, CancellationToken) |
Tries to get details for this resource from the service.
|
TryGetApiVersion(ResourceType, String) |
Gets the api version override if it has been set for the current client options. (Inherited from ArmCollection) |