Interface ICameraQualityAndRetentionProfiles
- Namespace
- Meraki.Api.Interfaces.Products.Camera
- Assembly
- Meraki.Api.dll
Represents a collection of functions to interact with the API endpoints
public interface ICameraQualityAndRetentionProfiles
Methods
CreateNetworkCameraQualityRetentionProfileAsync(string, CameraQualityRetentionProfileCreateUpdateRequest, CancellationToken)
Creates new quality retention profile for this network.
[Post("/networks/{networkId}/camera/qualityRetentionProfiles")]
Task<CameraQualityRetentionProfile> CreateNetworkCameraQualityRetentionProfileAsync(string networkId, CameraQualityRetentionProfileCreateUpdateRequest createNetworkCameraQualityRetentionProfile, CancellationToken cancellationToken = default)
Parameters
networkIdstringThe network id
createNetworkCameraQualityRetentionProfileCameraQualityRetentionProfileCreateUpdateRequestBody for creating quality retention profile
cancellationTokenCancellationToken
Returns
Exceptions
- ApiException
Thrown when fails to make API call
DeleteNetworkCameraQualityRetentionProfileAsync(string, string, CancellationToken)
Delete an existing quality retention profile for this network.
[Delete("/networks/{networkId}/camera/qualityRetentionProfiles/{qualityRetentionProfileId}")]
Task DeleteNetworkCameraQualityRetentionProfileAsync(string networkId, string qualityRetentionProfileId, CancellationToken cancellationToken = default)
Parameters
networkIdstringThe network id
qualityRetentionProfileIdstringThe quality retention profile id
cancellationTokenCancellationToken
Returns
Exceptions
- ApiException
Thrown when fails to make API call
GetNetworkCameraQualityRetentionProfileAsync(string, string, CancellationToken)
Retrieve a single quality retention profile
[Get("/networks/{networkId}/camera/qualityRetentionProfiles/{qualityRetentionProfileId}")]
Task<CameraQualityRetentionProfile> GetNetworkCameraQualityRetentionProfileAsync(string networkId, string qualityRetentionProfileId, CancellationToken cancellationToken = default)
Parameters
networkIdstringThe network id
qualityRetentionProfileIdstringThe quality retention profile id
cancellationTokenCancellationToken
Returns
Exceptions
- ApiException
Thrown when fails to make API call
GetNetworkCameraQualityRetentionProfilesAsync(string, CancellationToken)
List the quality retention profiles for this network
[Get("/networks/{networkId}/camera/qualityRetentionProfiles")]
Task<List<CameraQualityRetentionProfile>> GetNetworkCameraQualityRetentionProfilesAsync(string networkId, CancellationToken cancellationToken = default)
Parameters
networkIdstringThe network id
cancellationTokenCancellationToken
Returns
Exceptions
- ApiException
Thrown when fails to make API call
UpdateNetworkCameraQualityRetentionProfileAsync(string, string, CameraQualityRetentionProfileCreateUpdateRequest, CancellationToken)
Update an existing quality retention profile for this network.
[Put("/networks/{networkId}/camera/qualityRetentionProfiles/{qualityRetentionProfileId}")]
Task<CameraQualityRetentionProfile> UpdateNetworkCameraQualityRetentionProfileAsync(string networkId, string qualityRetentionProfileId, CameraQualityRetentionProfileCreateUpdateRequest updateNetworkCameraQualityRetentionProfile, CancellationToken cancellationToken = default)
Parameters
networkIdstringThe network id
qualityRetentionProfileIdstringThe quality retention profile id
updateNetworkCameraQualityRetentionProfileCameraQualityRetentionProfileCreateUpdateRequestBody for updating quality retention profile
cancellationTokenCancellationToken
Returns
Exceptions
- ApiException
Thrown when fails to make API call