Alerts interface
Interface représentant une alerte.
Méthodes
| begin |
Actualisez une alerte. |
| begin |
Actualisez toutes les alertes pour une étendue de ressource. |
| begin |
Actualisez toutes les alertes pour une étendue de ressource. |
| begin |
Actualisez une alerte. |
| get(string, string, Alerts |
Obtenez l’alerte spécifiée. |
| list |
Obtient des alertes pour une étendue de ressource. |
| update(string, string, Alert, Alerts |
Mettez à jour une alerte. |
Détails de la méthode
beginRefresh(string, string, AlertsRefreshOptionalParams)
Actualisez une alerte.
function beginRefresh(scope: string, alertId: string, options?: AlertsRefreshOptionalParams): Promise<SimplePollerLike<OperationState<AlertsRefreshResponse>, AlertsRefreshResponse>>
Paramètres
- scope
-
string
Étendue de l’alerte.
- alertId
-
string
Nom de l’alerte à actualiser.
- options
- AlertsRefreshOptionalParams
Paramètres d’options.
Retours
Promise<@azure/core-lro.SimplePollerLike<OperationState<AlertsRefreshResponse>, AlertsRefreshResponse>>
beginRefreshAll(string, AlertsRefreshAllOptionalParams)
Actualisez toutes les alertes pour une étendue de ressource.
function beginRefreshAll(scope: string, options?: AlertsRefreshAllOptionalParams): Promise<SimplePollerLike<OperationState<AlertsRefreshAllResponse>, AlertsRefreshAllResponse>>
Paramètres
- scope
-
string
Étendue de l’alerte.
- options
- AlertsRefreshAllOptionalParams
Paramètres d’options.
Retours
Promise<@azure/core-lro.SimplePollerLike<OperationState<AlertsRefreshAllResponse>, AlertsRefreshAllResponse>>
beginRefreshAllAndWait(string, AlertsRefreshAllOptionalParams)
Actualisez toutes les alertes pour une étendue de ressource.
function beginRefreshAllAndWait(scope: string, options?: AlertsRefreshAllOptionalParams): Promise<AlertsRefreshAllResponse>
Paramètres
- scope
-
string
Étendue de l’alerte.
- options
- AlertsRefreshAllOptionalParams
Paramètres d’options.
Retours
Promise<AlertsRefreshAllResponse>
beginRefreshAndWait(string, string, AlertsRefreshOptionalParams)
Actualisez une alerte.
function beginRefreshAndWait(scope: string, alertId: string, options?: AlertsRefreshOptionalParams): Promise<AlertsRefreshResponse>
Paramètres
- scope
-
string
Étendue de l’alerte.
- alertId
-
string
Nom de l’alerte à actualiser.
- options
- AlertsRefreshOptionalParams
Paramètres d’options.
Retours
Promise<AlertsRefreshResponse>
get(string, string, AlertsGetOptionalParams)
Obtenez l’alerte spécifiée.
function get(scope: string, alertId: string, options?: AlertsGetOptionalParams): Promise<Alert>
Paramètres
- scope
-
string
Étendue de l’alerte. L’étendue peut être n’importe quelle instance de ressource REST. Par exemple, utilisez « /providers/Microsoft.Subscription/subscriptions/{subscription-id} / » pour un abonnement, '/providers/Microsoft.Subscription/subscriptions/{subscription-id}/resourceGroups/{resource-group-name}' pour un groupe de ressources, et '/providers/Microsoft.Subscription/subscriptions/{subscription-id}/resourceGroups/{resource-group-name}/providers/{resource-provider}/{resource-type}/{resource-name}' pour une ressource.
- alertId
-
string
Nom de l’alerte à obtenir.
- options
- AlertsGetOptionalParams
Paramètres d’options.
Retours
Promise<Alert>
listForScope(string, AlertsListForScopeOptionalParams)
Obtient des alertes pour une étendue de ressource.
function listForScope(scope: string, options?: AlertsListForScopeOptionalParams): PagedAsyncIterableIterator<Alert, Alert[], PageSettings>
Paramètres
- scope
-
string
Étendue de l’alerte.
- options
- AlertsListForScopeOptionalParams
Paramètres d’options.
Retours
update(string, string, Alert, AlertsUpdateOptionalParams)
Mettez à jour une alerte.
function update(scope: string, alertId: string, parameters: Alert, options?: AlertsUpdateOptionalParams): Promise<void>
Paramètres
- scope
-
string
Étendue de l’alerte.
- alertId
-
string
Nom de l’alerte à ignorer.
- parameters
- Alert
Paramètres de l’alerte.
- options
- AlertsUpdateOptionalParams
Paramètres d’options.
Retours
Promise<void>