v1.feature_profile.sdwan.dns_security
Operation: POST /dataservice/v1/feature-profile/sdwan/dns-security
Create a SDWAN Dns Security Feature Profile
def post(
payload: CreateSdwanDnsSecurityFeatureProfilePostRequest,
) -> CreateSdwanDnsSecurityFeatureProfilePostResponse: ...
Example:
from catalyswan.core import create_client
url = "example.com"
username = "admin"
password = "password123"
with create_client(
url=url, username=username, password=password
) as client:
client.v1.feature_profile.sdwan.dns_security.post()
Operation: PUT /dataservice/v1/feature-profile/sdwan/dns-security/{dnsSecurityId}
Edit a SDWAN Dns Security Feature Profile
def put(
dns_security_id: str,
payload: EditSdwanDnsSecurityFeatureProfilePutRequest,
) -> EditSdwanDnsSecurityFeatureProfilePutResponse: ...
Example:
from catalyswan.core import create_client
url = "example.com"
username = "admin"
password = "password123"
with create_client(
url=url, username=username, password=password
) as client:
client.v1.feature_profile.sdwan.dns_security.put()
Operation: DELETE /dataservice/v1/feature-profile/sdwan/dns-security/{dnsSecurityId}
Delete Feature Profile
def delete(dns_security_id: str) -> None: ...
Example:
from catalyswan.core import create_client
url = "example.com"
username = "admin"
password = "password123"
with create_client(
url=url, username=username, password=password
) as client:
client.v1.feature_profile.sdwan.dns_security.delete()
Operation: GET /dataservice/v1/feature-profile/sdwan/dns-security
@overload
def get(
offset: Optional[int] = None,
limit: Optional[int] = 0,
reference_count: Optional[bool] = False,
) -> List[GetSdwanDnsSecurityFeatureProfilesGetResponse]: ...
Example:
from catalyswan.core import create_client
url = "example.com"
username = "admin"
password = "password123"
with create_client(
url=url, username=username, password=password
) as client:
client.v1.feature_profile.sdwan.dns_security.get()
Operation: GET /dataservice/v1/feature-profile/sdwan/dns-security/{dnsSecurityId}
@overload
def get(
dns_security_id: str, references: Optional[bool] = False
) -> GetSingleSdwanDnsSecurityPayload: ...
Example:
from catalyswan.core import create_client
url = "example.com"
username = "admin"
password = "password123"
with create_client(
url=url, username=username, password=password
) as client:
client.v1.feature_profile.sdwan.dns_security.get()