Table of Contents

Interface IApplianceDnsLocalProfiles

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

Methods

CreateOrganizationApplianceDnsLocalProfileAsync(string, ApplianceDnsLocalProfileCreateUpdateRequest, CancellationToken)

Create a new local DNS profile

[Post("/organizations/{organizationId}/appliance/dns/local/profiles")]
Task<ApplianceDnsLocalProfile> CreateOrganizationApplianceDnsLocalProfileAsync(string organizationId, ApplianceDnsLocalProfileCreateUpdateRequest dnsLocalProfileCreateRequest, CancellationToken cancellationToken = default)

Parameters

organizationId string

The organization id

dnsLocalProfileCreateRequest ApplianceDnsLocalProfileCreateUpdateRequest

Body for creating a local DNS profile

cancellationToken CancellationToken

Token to cancel the request.

Returns

Task<ApplianceDnsLocalProfile>

Exceptions

ApiException

Thrown when fails to make API call

DeleteOrganizationApplianceDnsLocalProfileAsync(string, string, CancellationToken)

Deletes a local DNS profile

[Delete("/organizations/{organizationId}/appliance/dns/local/profiles/{profileId}")]
Task DeleteOrganizationApplianceDnsLocalProfileAsync(string organizationId, string profileId, CancellationToken cancellationToken = default)

Parameters

organizationId string

The organization id

profileId string

The profile id

cancellationToken CancellationToken

Token to cancel the request.

Returns

Task

Exceptions

ApiException

Thrown when fails to make API call

GetOrganizationApplianceDnsLocalProfilesAsync(string, CancellationToken)

Fetch the local DNS profiles used in the organization

[Get("/organizations/{organizationId}/appliance/dns/local/profiles")]
Task<List<ApplianceDnsLocalProfile>> GetOrganizationApplianceDnsLocalProfilesAsync(string organizationId, CancellationToken cancellationToken = default)

Parameters

organizationId string

The organization id

cancellationToken CancellationToken

Token to cancel the request.

Returns

Task<List<ApplianceDnsLocalProfile>>

Exceptions

ApiException

Thrown when fails to make API call

UpdateOrganizationApplianceDnsLocalProfileAsync(string, string, ApplianceDnsLocalProfileCreateUpdateRequest, CancellationToken)

Update a local DNS profile

[Put("/organizations/{organizationId}/appliance/dns/local/profiles/{profileId}")]
Task<ApplianceDnsLocalProfile> UpdateOrganizationApplianceDnsLocalProfileAsync(string organizationId, string profileId, ApplianceDnsLocalProfileCreateUpdateRequest dnsLocalProfileUpdateRequest, CancellationToken cancellationToken = default)

Parameters

organizationId string

The organization id

profileId string

The profile id

dnsLocalProfileUpdateRequest ApplianceDnsLocalProfileCreateUpdateRequest
cancellationToken CancellationToken

Token to cancel the request.

Returns

Task<ApplianceDnsLocalProfile>

Exceptions

ApiException

Thrown when fails to make API call