|
| 1 | +// <auto-generated> |
| 2 | +// Copyright (c) Microsoft Corporation. All rights reserved. |
| 3 | +// Licensed under the MIT License. See License.txt in the project root for |
| 4 | +// license information. |
| 5 | +// |
| 6 | +// Code generated by Microsoft (R) AutoRest Code Generator. |
| 7 | +// Changes may cause incorrect behavior and will be lost if the code is |
| 8 | +// regenerated. |
| 9 | +// </auto-generated> |
| 10 | + |
| 11 | +namespace Microsoft.Azure.Management.PolicyInsights_2018_04 |
| 12 | +{ |
| 13 | + using Microsoft.Rest; |
| 14 | + using Microsoft.Rest.Azure; |
| 15 | + using Models; |
| 16 | + using System.Collections; |
| 17 | + using System.Collections.Generic; |
| 18 | + using System.Threading; |
| 19 | + using System.Threading.Tasks; |
| 20 | + |
| 21 | + /// <summary> |
| 22 | + /// PolicyEventsOperations operations. |
| 23 | + /// </summary> |
| 24 | + public partial interface IPolicyEventsOperations |
| 25 | + { |
| 26 | + /// <summary> |
| 27 | + /// Queries policy events for the resources under the management group. |
| 28 | + /// </summary> |
| 29 | + /// <param name='managementGroupName'> |
| 30 | + /// Management group name. |
| 31 | + /// </param> |
| 32 | + /// <param name='queryOptions'> |
| 33 | + /// Additional parameters for the operation |
| 34 | + /// </param> |
| 35 | + /// <param name='customHeaders'> |
| 36 | + /// The headers that will be added to request. |
| 37 | + /// </param> |
| 38 | + /// <param name='cancellationToken'> |
| 39 | + /// The cancellation token. |
| 40 | + /// </param> |
| 41 | + /// <exception cref="QueryFailureException"> |
| 42 | + /// Thrown when the operation returned an invalid status code |
| 43 | + /// </exception> |
| 44 | + /// <exception cref="Microsoft.Rest.SerializationException"> |
| 45 | + /// Thrown when unable to deserialize the response |
| 46 | + /// </exception> |
| 47 | + /// <exception cref="Microsoft.Rest.ValidationException"> |
| 48 | + /// Thrown when a required parameter is null |
| 49 | + /// </exception> |
| 50 | + Task<AzureOperationResponse<PolicyEventsQueryResults>> ListQueryResultsForManagementGroupWithHttpMessagesAsync(string managementGroupName, QueryOptions queryOptions = default(QueryOptions), Dictionary<string, List<string>> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); |
| 51 | + /// <summary> |
| 52 | + /// Queries policy events for the resources under the subscription. |
| 53 | + /// </summary> |
| 54 | + /// <param name='subscriptionId'> |
| 55 | + /// Microsoft Azure subscription ID. |
| 56 | + /// </param> |
| 57 | + /// <param name='queryOptions'> |
| 58 | + /// Additional parameters for the operation |
| 59 | + /// </param> |
| 60 | + /// <param name='customHeaders'> |
| 61 | + /// The headers that will be added to request. |
| 62 | + /// </param> |
| 63 | + /// <param name='cancellationToken'> |
| 64 | + /// The cancellation token. |
| 65 | + /// </param> |
| 66 | + /// <exception cref="QueryFailureException"> |
| 67 | + /// Thrown when the operation returned an invalid status code |
| 68 | + /// </exception> |
| 69 | + /// <exception cref="Microsoft.Rest.SerializationException"> |
| 70 | + /// Thrown when unable to deserialize the response |
| 71 | + /// </exception> |
| 72 | + /// <exception cref="Microsoft.Rest.ValidationException"> |
| 73 | + /// Thrown when a required parameter is null |
| 74 | + /// </exception> |
| 75 | + Task<AzureOperationResponse<PolicyEventsQueryResults>> ListQueryResultsForSubscriptionWithHttpMessagesAsync(string subscriptionId, QueryOptions queryOptions = default(QueryOptions), Dictionary<string, List<string>> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); |
| 76 | + /// <summary> |
| 77 | + /// Queries policy events for the resources under the resource group. |
| 78 | + /// </summary> |
| 79 | + /// <param name='subscriptionId'> |
| 80 | + /// Microsoft Azure subscription ID. |
| 81 | + /// </param> |
| 82 | + /// <param name='resourceGroupName'> |
| 83 | + /// Resource group name. |
| 84 | + /// </param> |
| 85 | + /// <param name='queryOptions'> |
| 86 | + /// Additional parameters for the operation |
| 87 | + /// </param> |
| 88 | + /// <param name='customHeaders'> |
| 89 | + /// The headers that will be added to request. |
| 90 | + /// </param> |
| 91 | + /// <param name='cancellationToken'> |
| 92 | + /// The cancellation token. |
| 93 | + /// </param> |
| 94 | + /// <exception cref="QueryFailureException"> |
| 95 | + /// Thrown when the operation returned an invalid status code |
| 96 | + /// </exception> |
| 97 | + /// <exception cref="Microsoft.Rest.SerializationException"> |
| 98 | + /// Thrown when unable to deserialize the response |
| 99 | + /// </exception> |
| 100 | + /// <exception cref="Microsoft.Rest.ValidationException"> |
| 101 | + /// Thrown when a required parameter is null |
| 102 | + /// </exception> |
| 103 | + Task<AzureOperationResponse<PolicyEventsQueryResults>> ListQueryResultsForResourceGroupWithHttpMessagesAsync(string subscriptionId, string resourceGroupName, QueryOptions queryOptions = default(QueryOptions), Dictionary<string, List<string>> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); |
| 104 | + /// <summary> |
| 105 | + /// Queries policy events for the resource. |
| 106 | + /// </summary> |
| 107 | + /// <param name='resourceId'> |
| 108 | + /// Resource ID. |
| 109 | + /// </param> |
| 110 | + /// <param name='queryOptions'> |
| 111 | + /// Additional parameters for the operation |
| 112 | + /// </param> |
| 113 | + /// <param name='customHeaders'> |
| 114 | + /// The headers that will be added to request. |
| 115 | + /// </param> |
| 116 | + /// <param name='cancellationToken'> |
| 117 | + /// The cancellation token. |
| 118 | + /// </param> |
| 119 | + /// <exception cref="QueryFailureException"> |
| 120 | + /// Thrown when the operation returned an invalid status code |
| 121 | + /// </exception> |
| 122 | + /// <exception cref="Microsoft.Rest.SerializationException"> |
| 123 | + /// Thrown when unable to deserialize the response |
| 124 | + /// </exception> |
| 125 | + /// <exception cref="Microsoft.Rest.ValidationException"> |
| 126 | + /// Thrown when a required parameter is null |
| 127 | + /// </exception> |
| 128 | + Task<AzureOperationResponse<PolicyEventsQueryResults>> ListQueryResultsForResourceWithHttpMessagesAsync(string resourceId, QueryOptions queryOptions = default(QueryOptions), Dictionary<string, List<string>> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); |
| 129 | + /// <summary> |
| 130 | + /// Queries policy events for the subscription level policy set |
| 131 | + /// definition. |
| 132 | + /// </summary> |
| 133 | + /// <param name='subscriptionId'> |
| 134 | + /// Microsoft Azure subscription ID. |
| 135 | + /// </param> |
| 136 | + /// <param name='policySetDefinitionName'> |
| 137 | + /// Policy set definition name. |
| 138 | + /// </param> |
| 139 | + /// <param name='queryOptions'> |
| 140 | + /// Additional parameters for the operation |
| 141 | + /// </param> |
| 142 | + /// <param name='customHeaders'> |
| 143 | + /// The headers that will be added to request. |
| 144 | + /// </param> |
| 145 | + /// <param name='cancellationToken'> |
| 146 | + /// The cancellation token. |
| 147 | + /// </param> |
| 148 | + /// <exception cref="QueryFailureException"> |
| 149 | + /// Thrown when the operation returned an invalid status code |
| 150 | + /// </exception> |
| 151 | + /// <exception cref="Microsoft.Rest.SerializationException"> |
| 152 | + /// Thrown when unable to deserialize the response |
| 153 | + /// </exception> |
| 154 | + /// <exception cref="Microsoft.Rest.ValidationException"> |
| 155 | + /// Thrown when a required parameter is null |
| 156 | + /// </exception> |
| 157 | + Task<AzureOperationResponse<PolicyEventsQueryResults>> ListQueryResultsForPolicySetDefinitionWithHttpMessagesAsync(string subscriptionId, string policySetDefinitionName, QueryOptions queryOptions = default(QueryOptions), Dictionary<string, List<string>> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); |
| 158 | + /// <summary> |
| 159 | + /// Queries policy events for the subscription level policy definition. |
| 160 | + /// </summary> |
| 161 | + /// <param name='subscriptionId'> |
| 162 | + /// Microsoft Azure subscription ID. |
| 163 | + /// </param> |
| 164 | + /// <param name='policyDefinitionName'> |
| 165 | + /// Policy definition name. |
| 166 | + /// </param> |
| 167 | + /// <param name='queryOptions'> |
| 168 | + /// Additional parameters for the operation |
| 169 | + /// </param> |
| 170 | + /// <param name='customHeaders'> |
| 171 | + /// The headers that will be added to request. |
| 172 | + /// </param> |
| 173 | + /// <param name='cancellationToken'> |
| 174 | + /// The cancellation token. |
| 175 | + /// </param> |
| 176 | + /// <exception cref="QueryFailureException"> |
| 177 | + /// Thrown when the operation returned an invalid status code |
| 178 | + /// </exception> |
| 179 | + /// <exception cref="Microsoft.Rest.SerializationException"> |
| 180 | + /// Thrown when unable to deserialize the response |
| 181 | + /// </exception> |
| 182 | + /// <exception cref="Microsoft.Rest.ValidationException"> |
| 183 | + /// Thrown when a required parameter is null |
| 184 | + /// </exception> |
| 185 | + Task<AzureOperationResponse<PolicyEventsQueryResults>> ListQueryResultsForPolicyDefinitionWithHttpMessagesAsync(string subscriptionId, string policyDefinitionName, QueryOptions queryOptions = default(QueryOptions), Dictionary<string, List<string>> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); |
| 186 | + /// <summary> |
| 187 | + /// Queries policy events for the subscription level policy assignment. |
| 188 | + /// </summary> |
| 189 | + /// <param name='subscriptionId'> |
| 190 | + /// Microsoft Azure subscription ID. |
| 191 | + /// </param> |
| 192 | + /// <param name='policyAssignmentName'> |
| 193 | + /// Policy assignment name. |
| 194 | + /// </param> |
| 195 | + /// <param name='queryOptions'> |
| 196 | + /// Additional parameters for the operation |
| 197 | + /// </param> |
| 198 | + /// <param name='customHeaders'> |
| 199 | + /// The headers that will be added to request. |
| 200 | + /// </param> |
| 201 | + /// <param name='cancellationToken'> |
| 202 | + /// The cancellation token. |
| 203 | + /// </param> |
| 204 | + /// <exception cref="QueryFailureException"> |
| 205 | + /// Thrown when the operation returned an invalid status code |
| 206 | + /// </exception> |
| 207 | + /// <exception cref="Microsoft.Rest.SerializationException"> |
| 208 | + /// Thrown when unable to deserialize the response |
| 209 | + /// </exception> |
| 210 | + /// <exception cref="Microsoft.Rest.ValidationException"> |
| 211 | + /// Thrown when a required parameter is null |
| 212 | + /// </exception> |
| 213 | + Task<AzureOperationResponse<PolicyEventsQueryResults>> ListQueryResultsForSubscriptionLevelPolicyAssignmentWithHttpMessagesAsync(string subscriptionId, string policyAssignmentName, QueryOptions queryOptions = default(QueryOptions), Dictionary<string, List<string>> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); |
| 214 | + /// <summary> |
| 215 | + /// Queries policy events for the resource group level policy |
| 216 | + /// assignment. |
| 217 | + /// </summary> |
| 218 | + /// <param name='subscriptionId'> |
| 219 | + /// Microsoft Azure subscription ID. |
| 220 | + /// </param> |
| 221 | + /// <param name='resourceGroupName'> |
| 222 | + /// Resource group name. |
| 223 | + /// </param> |
| 224 | + /// <param name='policyAssignmentName'> |
| 225 | + /// Policy assignment name. |
| 226 | + /// </param> |
| 227 | + /// <param name='queryOptions'> |
| 228 | + /// Additional parameters for the operation |
| 229 | + /// </param> |
| 230 | + /// <param name='customHeaders'> |
| 231 | + /// The headers that will be added to request. |
| 232 | + /// </param> |
| 233 | + /// <param name='cancellationToken'> |
| 234 | + /// The cancellation token. |
| 235 | + /// </param> |
| 236 | + /// <exception cref="QueryFailureException"> |
| 237 | + /// Thrown when the operation returned an invalid status code |
| 238 | + /// </exception> |
| 239 | + /// <exception cref="Microsoft.Rest.SerializationException"> |
| 240 | + /// Thrown when unable to deserialize the response |
| 241 | + /// </exception> |
| 242 | + /// <exception cref="Microsoft.Rest.ValidationException"> |
| 243 | + /// Thrown when a required parameter is null |
| 244 | + /// </exception> |
| 245 | + Task<AzureOperationResponse<PolicyEventsQueryResults>> ListQueryResultsForResourceGroupLevelPolicyAssignmentWithHttpMessagesAsync(string subscriptionId, string resourceGroupName, string policyAssignmentName, QueryOptions queryOptions = default(QueryOptions), Dictionary<string, List<string>> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); |
| 246 | + /// <summary> |
| 247 | + /// Gets OData metadata XML document. |
| 248 | + /// </summary> |
| 249 | + /// <param name='scope'> |
| 250 | + /// A valid scope, i.e. management group, subscription, resource group, |
| 251 | + /// or resource ID. Scope used has no effect on metadata returned. |
| 252 | + /// </param> |
| 253 | + /// <param name='customHeaders'> |
| 254 | + /// The headers that will be added to request. |
| 255 | + /// </param> |
| 256 | + /// <param name='cancellationToken'> |
| 257 | + /// The cancellation token. |
| 258 | + /// </param> |
| 259 | + /// <exception cref="QueryFailureException"> |
| 260 | + /// Thrown when the operation returned an invalid status code |
| 261 | + /// </exception> |
| 262 | + /// <exception cref="Microsoft.Rest.SerializationException"> |
| 263 | + /// Thrown when unable to deserialize the response |
| 264 | + /// </exception> |
| 265 | + /// <exception cref="Microsoft.Rest.ValidationException"> |
| 266 | + /// Thrown when a required parameter is null |
| 267 | + /// </exception> |
| 268 | + Task<AzureOperationResponse<string>> GetMetadataWithHttpMessagesAsync(string scope, Dictionary<string, List<string>> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); |
| 269 | + } |
| 270 | +} |
0 commit comments