Table of Contents

Interface IAppliancePrefixesDelegatedStatics

Namespace
Meraki.Api.Interfaces.Products.Appliance
Assembly
Meraki.Api.dll
public interface IAppliancePrefixesDelegatedStatics

Methods

CreateNetworkAppliancePrefixesDelegatedStaticAsync(string, NetworkAppliancePrefixesDelegatedStaticCreateRequest, CancellationToken)

Add a static delegated prefix from a network

[Post("/networks/{networkId}/appliance/prefixes/delegated/statics")]
Task<NetworkAppliancePrefixesDelegatedStatic> CreateNetworkAppliancePrefixesDelegatedStaticAsync(string networkId, NetworkAppliancePrefixesDelegatedStaticCreateRequest networkAppliancePrefixesDelegatedStaticCreateRequest, CancellationToken cancellationToken = default)

Parameters

networkId string

The network id

networkAppliancePrefixesDelegatedStaticCreateRequest NetworkAppliancePrefixesDelegatedStaticCreateRequest

The body for the create request

cancellationToken CancellationToken

Returns

Task<NetworkAppliancePrefixesDelegatedStatic>

Exceptions

ApiException

Thrown when fails to make API call

DeleteNetworkAppliancePrefixesDelegatedStaticAsync(string, string, CancellationToken)

Delete a static delegated prefix from a network

[Delete("/networks/{networkId}/appliance/prefixes/delegated/statics/{staticDelegatedPrefixId}")]
Task DeleteNetworkAppliancePrefixesDelegatedStaticAsync(string networkId, string staticDelegatedPrefixId, CancellationToken cancellationToken = default)

Parameters

networkId string

The network id

staticDelegatedPrefixId string

The static sdelegated prefix id

cancellationToken CancellationToken

Returns

Task

Exceptions

ApiException

Thrown when fails to make API call

GetNetworkAppliancePrefixesDelegatedStaticAsync(string, string, CancellationToken)

Return a static delegated prefix from a network

[Get("/networks/{networkId}/appliance/prefixes/delegated/statics/{staticDelegatedPrefixId}")]
Task<NetworkAppliancePrefixesDelegatedStatic> GetNetworkAppliancePrefixesDelegatedStaticAsync(string networkId, string staticDelegatedPrefixId, CancellationToken cancellationToken = default)

Parameters

networkId string

The network id

staticDelegatedPrefixId string

ID of the static delegate prefix

cancellationToken CancellationToken

Returns

Task<NetworkAppliancePrefixesDelegatedStatic>

Exceptions

ApiException

Thrown when fails to make API call

GetNetworkAppliancePrefixesDelegatedStaticsAsync(string, CancellationToken)

List static delegated prefixes for a network

[Get("/networks/{networkId}/appliance/prefixes/delegated/statics")]
Task<List<NetworkAppliancePrefixesDelegatedStatic>> GetNetworkAppliancePrefixesDelegatedStaticsAsync(string networkId, CancellationToken cancellationToken = default)

Parameters

networkId string

The network id

cancellationToken CancellationToken

Returns

Task<List<NetworkAppliancePrefixesDelegatedStatic>>

Exceptions

ApiException

Thrown when fails to make API call

UpdateNetworkAppliancePrefixesDelegatedStaticAsync(string, string, NetworkAppliancePrefixesDelegatedStaticUpdateRequest, CancellationToken)

Update a static delegated prefix from a network

[Put("/networks/{networkId}/appliance/prefixes/delegated/statics/{staticDelegatedPrefixId}")]
Task<NetworkAppliancePrefixesDelegatedStatic> UpdateNetworkAppliancePrefixesDelegatedStaticAsync(string networkId, string staticDelegatedPrefixId, NetworkAppliancePrefixesDelegatedStaticUpdateRequest networkAppliancePrefixedsDelegatedStaticUpdateRequest, CancellationToken cancellationToken = default)

Parameters

networkId string

The network id

staticDelegatedPrefixId string

The static sdelegated prefix id

networkAppliancePrefixedsDelegatedStaticUpdateRequest NetworkAppliancePrefixesDelegatedStaticUpdateRequest

Body for the update request

cancellationToken CancellationToken

Returns

Task<NetworkAppliancePrefixesDelegatedStatic>

Exceptions

ApiException

Thrown when fails to make API call