pub struct SyntheticsAPI { /* private fields */ }
Expand description
Datadog Synthetics uses simulated user requests and browser rendering to help you ensure uptime, identify regional issues, and track your application performance. Datadog Synthetics tests come in two different flavors, API tests and browser tests. You can use Datadog’s API to manage both test types programmatically.
For more information about Synthetics, see the Synthetics overview.
Implementations§
Source§impl SyntheticsAPI
impl SyntheticsAPI
pub fn new() -> Self
Sourcepub fn with_config(config: Configuration) -> Self
pub fn with_config(config: Configuration) -> Self
Examples found in repository?
More examples
pub fn with_client_and_config( config: Configuration, client: ClientWithMiddleware, ) -> Self
Sourcepub async fn get_on_demand_concurrency_cap(
&self,
) -> Result<OnDemandConcurrencyCapResponse, Error<GetOnDemandConcurrencyCapError>>
pub async fn get_on_demand_concurrency_cap( &self, ) -> Result<OnDemandConcurrencyCapResponse, Error<GetOnDemandConcurrencyCapError>>
Get the on-demand concurrency cap.
Sourcepub async fn get_on_demand_concurrency_cap_with_http_info(
&self,
) -> Result<ResponseContent<OnDemandConcurrencyCapResponse>, Error<GetOnDemandConcurrencyCapError>>
pub async fn get_on_demand_concurrency_cap_with_http_info( &self, ) -> Result<ResponseContent<OnDemandConcurrencyCapResponse>, Error<GetOnDemandConcurrencyCapError>>
Get the on-demand concurrency cap.
Sourcepub async fn set_on_demand_concurrency_cap(
&self,
body: OnDemandConcurrencyCapAttributes,
) -> Result<OnDemandConcurrencyCapResponse, Error<SetOnDemandConcurrencyCapError>>
pub async fn set_on_demand_concurrency_cap( &self, body: OnDemandConcurrencyCapAttributes, ) -> Result<OnDemandConcurrencyCapResponse, Error<SetOnDemandConcurrencyCapError>>
Save new value for on-demand concurrency cap.
Sourcepub async fn set_on_demand_concurrency_cap_with_http_info(
&self,
body: OnDemandConcurrencyCapAttributes,
) -> Result<ResponseContent<OnDemandConcurrencyCapResponse>, Error<SetOnDemandConcurrencyCapError>>
pub async fn set_on_demand_concurrency_cap_with_http_info( &self, body: OnDemandConcurrencyCapAttributes, ) -> Result<ResponseContent<OnDemandConcurrencyCapResponse>, Error<SetOnDemandConcurrencyCapError>>
Save new value for on-demand concurrency cap.
Trait Implementations§
Source§impl Clone for SyntheticsAPI
impl Clone for SyntheticsAPI
Source§fn clone(&self) -> SyntheticsAPI
fn clone(&self) -> SyntheticsAPI
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for SyntheticsAPI
impl Debug for SyntheticsAPI
Auto Trait Implementations§
impl Freeze for SyntheticsAPI
impl !RefUnwindSafe for SyntheticsAPI
impl Send for SyntheticsAPI
impl Sync for SyntheticsAPI
impl Unpin for SyntheticsAPI
impl !UnwindSafe for SyntheticsAPI
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more