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
stringThe organization id
dnsLocalProfileCreateRequest
ApplianceDnsLocalProfileCreateUpdateRequestBody for creating a local DNS profile
cancellationToken
CancellationTokenToken to cancel the request.
Returns
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
stringThe organization id
profileId
stringThe profile id
cancellationToken
CancellationTokenToken to cancel the request.
Returns
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
stringThe organization id
cancellationToken
CancellationTokenToken to cancel the request.
Returns
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
stringThe organization id
profileId
stringThe profile id
dnsLocalProfileUpdateRequest
ApplianceDnsLocalProfileCreateUpdateRequestcancellationToken
CancellationTokenToken to cancel the request.
Returns
Exceptions
- ApiException
Thrown when fails to make API call