Interface IOrganizationSensorAlertsProfiles
- Namespace
- Meraki.Api.Interfaces.Products.Sensor
- Assembly
- Meraki.Api.dll
public interface IOrganizationSensorAlertsProfiles
Methods
CreateNetworkSensorAlertsProfileAsync(string, SensorAlertsProfileCreateRequest, CancellationToken)
Creates a sensor alert profile for a network
[Post("/networks/{networkId}/sensor/alerts/profiles")]
Task<SensorAlertsProfile> CreateNetworkSensorAlertsProfileAsync(string networkId, SensorAlertsProfileCreateRequest sensorAlertsProfileCreateRequest, CancellationToken cancellationToken = default)
Parameters
networkId
stringThe network id
sensorAlertsProfileCreateRequest
SensorAlertsProfileCreateRequestBody for creating a sensor alert profile
cancellationToken
CancellationToken
Returns
Exceptions
- ApiException
Thrown when fails to make API call
DeleteNetworkSensorAlertsProfileAsync(string, string, CancellationToken)
Delete a sensor alert profile from a network.
[Delete("/networks/{networkId}/sensor/alerts/profiles/{id}")]
Task DeleteNetworkSensorAlertsProfileAsync(string networkId, string id, CancellationToken cancellationToken = default)
Parameters
networkId
stringThe network id
id
stringThe sensor alerts profile id
cancellationToken
CancellationToken
Returns
Exceptions
- ApiException
Thrown when fails to make API call
GetNetworkSensorAlertsProfileAsync(string, string, CancellationToken)
Show details of a sensor alert profile for a network
[Get("/networks/{networkId}/sensor/alerts/profiles/{id}")]
Task<SensorAlertsProfile> GetNetworkSensorAlertsProfileAsync(string networkId, string id, CancellationToken cancellationToken = default)
Parameters
networkId
stringThe network id
id
stringThe profile id
cancellationToken
CancellationToken
Returns
Exceptions
- ApiException
Thrown when fails to make API call
GetNetworkSensorAlertsProfilesAsync(string, CancellationToken)
Lists all sensor alert profiles for a network
[Get("/networks/{networkId}/sensor/alerts/profiles")]
Task<List<SensorAlertsProfile>> GetNetworkSensorAlertsProfilesAsync(string networkId, CancellationToken cancellationToken = default)
Parameters
networkId
stringThe network id
cancellationToken
CancellationToken
Returns
Exceptions
- ApiException
Thrown when fails to make API call
UpdateNetworkSensorAlertsProfileAsync(string, string, SensorAlertsProfileUpdateRequest, CancellationToken)
Updates a sensor alert profile for a network
[Put("/networks/{networkId}/sensor/alerts/profiles/{id}")]
Task<SensorAlertsProfile> UpdateNetworkSensorAlertsProfileAsync(string networkId, string id, SensorAlertsProfileUpdateRequest sensorAlertsProfileUpdateRequest, CancellationToken cancellationToken = default)
Parameters
networkId
stringThe network id
id
stringThe sensor alert profile id
sensorAlertsProfileUpdateRequest
SensorAlertsProfileUpdateRequestBody for updating a sensor alert profile
cancellationToken
CancellationToken
Returns
Exceptions
- ApiException
Thrown when fails to make API call