saltext.vmware.modules.vmc_dns_forwarder#

Salt execution module for VMC DNS Forwarder zones and services Provides methods to show DNS zones and services.

saltext.vmware.modules.vmc_dns_forwarder.get_dns_zones(hostname, refresh_key, authorization_host, org_id, sddc_id, verify_ssl=True, cert=None, sort_by=None, sort_ascending=None, page_size=None, cursor=None)[source]#

Retrieves DNS zones for Given SDDC

CLI Example:

salt vm_minion vmc_dns_forwarder.get_dns_zones hostname=nsxt-manager.local...
hostname

The host name of NSX-T manager

refresh_key

API Token of the user which is used to get the Access Token required for VMC operations

authorization_host

Hostname of the VMC cloud console

org_id

The Id of organization to which the SDDC belongs to

sddc_id

The Id of SDDC for which the DNS zones should be retrieved

verify_ssl

(Optional) Option to enable/disable SSL verification. Enabled by default. If set to False, the certificate validation is skipped.

cert

(Optional) Path to the SSL client certificate file to connect to VMC Cloud Console. The certificate can be retrieved from browser.

sort_by

(Optional) Field by which records are sorted

sort_ascending

(Optional) Boolean value to sort result in ascending order. Enabled by default.

page_size

(Optional) Maximum number of results to return in this page. Default page size is 1000.

cursor

(Optional) Opaque cursor to be used for getting next page of records (supplied by current result page)

saltext.vmware.modules.vmc_dns_forwarder.get_dns_services(hostname, refresh_key, authorization_host, org_id, sddc_id, verify_ssl=True, cert=None, page_size=None, cursor=None)[source]#

Retrieves DNS services for the given SDDC

CLI Example:

salt vm_minion vmc_dns_forwarder.get_dns_services hostname=nsxt-manager.local ...
hostname

The host name of NSX-T manager

refresh_key

API Token of the user which is used to get the Access Token required for VMC operations

authorization_host

Hostname of the VMC cloud console

org_id

The Id of organization to which the SDDC belongs to

sddc_id

The Id of SDDC for which the DNS services should be retrieved

verify_ssl

(Optional) Option to enable/disable SSL verification. Enabled by default. If set to False, the certificate validation is skipped.

cert

(Optional) Path to the SSL client certificate file to connect to VMC Cloud Console. The certificate can be retrieved from browser.

page_size

(Optional) Maximum number of results to return in this page. Default page size is 1000.

cursor

(Optional) Integer cursor to be used for getting next page of records (supplied by current result page)