-
Notifications
You must be signed in to change notification settings - Fork 180
/
Suppressions.yml
143 lines (139 loc) · 5.26 KB
/
Suppressions.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
### YamlMime:TSType
name: Suppressions
uid: '@azure/arm-advisor.Suppressions'
package: '@azure/arm-advisor'
summary: Interface representing a Suppressions.
fullName: Suppressions
remarks: ''
isDeprecated: false
type: interface
methods:
- name: >-
create(string, string, string, SuppressionContract,
SuppressionsCreateOptionalParams)
uid: '@azure/arm-advisor.Suppressions.create'
package: '@azure/arm-advisor'
summary: >-
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.
remarks: ''
isDeprecated: false
syntax:
content: >-
function create(resourceUri: string, recommendationId: string, name:
string, suppressionContract: SuppressionContract, options?:
SuppressionsCreateOptionalParams): Promise<SuppressionContract>
parameters:
- id: resourceUri
type: string
description: >-
The fully qualified Azure Resource Manager identifier of the
resource to which
the recommendation applies.
- id: recommendationId
type: string
description: The recommendation ID.
- id: name
type: string
description: The name of the suppression.
- id: suppressionContract
type: <xref uid="@azure/arm-advisor.SuppressionContract" />
description: >-
The snoozed or dismissed attribute; for example, the snooze
duration.
- id: options
type: <xref uid="@azure/arm-advisor.SuppressionsCreateOptionalParams" />
description: The options parameters.
return:
description: ''
type: Promise<<xref uid="@azure/arm-advisor.SuppressionContract" />>
- name: delete(string, string, string, SuppressionsDeleteOptionalParams)
uid: '@azure/arm-advisor.Suppressions.delete'
package: '@azure/arm-advisor'
summary: >-
Enables the activation of a snoozed or dismissed recommendation. The
snoozed or dismissed attribute
of a recommendation is referred to as a suppression.
remarks: ''
isDeprecated: false
syntax:
content: >-
function delete(resourceUri: string, recommendationId: string, name:
string, options?: SuppressionsDeleteOptionalParams): Promise<void>
parameters:
- id: resourceUri
type: string
description: >-
The fully qualified Azure Resource Manager identifier of the
resource to which
the recommendation applies.
- id: recommendationId
type: string
description: The recommendation ID.
- id: name
type: string
description: The name of the suppression.
- id: options
type: <xref uid="@azure/arm-advisor.SuppressionsDeleteOptionalParams" />
description: The options parameters.
return:
description: ''
type: Promise<void>
- name: get(string, string, string, SuppressionsGetOptionalParams)
uid: '@azure/arm-advisor.Suppressions.get'
package: '@azure/arm-advisor'
summary: Obtains the details of a suppression.
remarks: ''
isDeprecated: false
syntax:
content: >-
function get(resourceUri: string, recommendationId: string, name:
string, options?: SuppressionsGetOptionalParams):
Promise<SuppressionContract>
parameters:
- id: resourceUri
type: string
description: >-
The fully qualified Azure Resource Manager identifier of the
resource to which
the recommendation applies.
- id: recommendationId
type: string
description: The recommendation ID.
- id: name
type: string
description: The name of the suppression.
- id: options
type: <xref uid="@azure/arm-advisor.SuppressionsGetOptionalParams" />
description: The options parameters.
return:
description: ''
type: Promise<<xref uid="@azure/arm-advisor.SuppressionContract" />>
- name: list(SuppressionsListOptionalParams)
uid: '@azure/arm-advisor.Suppressions.list'
package: '@azure/arm-advisor'
summary: >-
Retrieves the list of snoozed or dismissed suppressions for a
subscription. The snoozed or dismissed
attribute of a recommendation is referred to as a suppression.
remarks: ''
isDeprecated: false
syntax:
content: >-
function list(options?: SuppressionsListOptionalParams):
PagedAsyncIterableIterator<SuppressionContract, SuppressionContract[],
PageSettings>
parameters:
- id: options
type: <xref uid="@azure/arm-advisor.SuppressionsListOptionalParams" />
description: The options parameters.
return:
description: ''
type: >-
<xref uid="@azure/core-paging.PagedAsyncIterableIterator" /><<xref
uid="@azure/arm-advisor.SuppressionContract" />, <xref
uid="@azure/arm-advisor.SuppressionContract" />[], <xref
uid="@azure/core-paging.PageSettings" />>