Interface ICameraWirelessProfiles
- Namespace
- Meraki.Api.Interfaces.Products.Camera
- Assembly
- Meraki.Api.dll
public interface ICameraWirelessProfiles
Methods
CreateNetworkCameraWirelessProfileAsync(string, NetworkCameraWirelessProfileCreateUpdateRequest, CancellationToken)
Creates a new camera wireless profile for this network.
[Post("/networks/{networkId}/camera/wirelessProfiles")]
Task<NetworkCameraWirelessProfile> CreateNetworkCameraWirelessProfileAsync(string networkId, NetworkCameraWirelessProfileCreateUpdateRequest createNetworkCameraWirelessProfile, CancellationToken cancellationToken = default)
Parameters
networkIdstringThe network id
createNetworkCameraWirelessProfileNetworkCameraWirelessProfileCreateUpdateRequestBody for creating camera wireless profile
cancellationTokenCancellationToken
Returns
Exceptions
- ApiException
Thrown when fails to make API call
DeleteNetworkCameraWirelessProfileAsync(string, string, CancellationToken)
Delete an existing camera wireless profile for this network.
[Delete("/networks/{networkId}/camera/wirelessProfiles/{wirelessProfileId}")]
Task DeleteNetworkCameraWirelessProfileAsync(string networkId, string wirelessProfileId, CancellationToken cancellationToken = default)
Parameters
networkIdstringThe network id
wirelessProfileIdstringThe wireless profile id
cancellationTokenCancellationToken
Returns
Exceptions
- ApiException
Thrown when fails to make API call
GetDeviceCameraWirelessProfilesAsync(string, CancellationToken)
Returns wireless profile assigned to the given camera
[Get("/devices/{serial}/camera/wirelessProfiles")]
Task<CameraWirelessProfiles> GetDeviceCameraWirelessProfilesAsync(string serial, CancellationToken cancellationToken = default)
Parameters
serialstringThe serial number
cancellationTokenCancellationToken
Returns
Exceptions
- ApiException
Thrown when fails to make API call
GetNetworkCameraWirelessProfileAsync(string, string, CancellationToken)
Retrieve a single camera wireless profile.
[Get("/networks/{networkId}/camera/wirelessProfiles/{wirelessProfileId}")]
Task<NetworkCameraWirelessProfile> GetNetworkCameraWirelessProfileAsync(string networkId, string wirelessProfileId, CancellationToken cancellationToken = default)
Parameters
networkIdstringThe network id
wirelessProfileIdstringThe wireless profile id
cancellationTokenCancellationToken
Returns
Exceptions
- ApiException
Thrown when fails to make API call
GetNetworkCameraWirelessProfilesAsync(string, CancellationToken)
List the camera wireless profiles for this network.
[Get("/networks/{networkId}/camera/wirelessProfiles")]
Task<List<NetworkCameraWirelessProfile>> GetNetworkCameraWirelessProfilesAsync(string networkId, CancellationToken cancellationToken = default)
Parameters
networkIdstringThe network id
cancellationTokenCancellationToken
Returns
Exceptions
- ApiException
Thrown when fails to make API call
UpdateDeviceCameraWirelessProfilesAsync(string, CameraWirelessProfiles, CancellationToken)
Assign wireless profiles to the given camera.
[Put("/devices/{serial}/camera/wirelessProfiles")]
Task<CameraWirelessProfiles> UpdateDeviceCameraWirelessProfilesAsync(string serial, CameraWirelessProfiles updateDeviceCameraWirelessProfiles, CancellationToken cancellationToken = default)
Parameters
serialstringThe serial number
updateDeviceCameraWirelessProfilesCameraWirelessProfilesBody for updating camera wireless profiles
cancellationTokenCancellationToken
Returns
Exceptions
- ApiException
Thrown when fails to make API call
UpdateNetworkCameraWirelessProfileAsync(string, string, NetworkCameraWirelessProfileCreateUpdateRequest, CancellationToken)
Update an existing camera wireless profile in this network.
[Put("/networks/{networkId}/camera/wirelessProfiles/{wirelessProfileId}")]
Task<NetworkCameraWirelessProfile> UpdateNetworkCameraWirelessProfileAsync(string networkId, string wirelessProfileId, NetworkCameraWirelessProfileCreateUpdateRequest updateNetworkCameraWirelessProfile, CancellationToken cancellationToken = default)
Parameters
networkIdstringThe network id
wirelessProfileIdstringThe wireless profile id
updateNetworkCameraWirelessProfileNetworkCameraWirelessProfileCreateUpdateRequestBody for updating camera wireless profile
cancellationTokenCancellationToken
Returns
Exceptions
- ApiException
Thrown when fails to make API call