.. versionadded:: Fluorine

    Get a dictionary representing a DNS zone's properties, but not the
    record sets within the zone.

    :param name: The DNS zone to get.

    :param resource_group: The name of the resource group.

    CLI Example:

    .. code-block:: bash

        salt-call azurearm_dns.zone_get myzone testgroup

def zone_get(name, resource_group, **kwargs):
    '''
    .. versionadded:: Fluorine

    Get a dictionary representing a DNS zone's properties, but not the
    record sets within the zone.

    :param name: The DNS zone to get.

    :param resource_group: The name of the resource group.

    CLI Example:

    .. code-block:: bash

        salt-call azurearm_dns.zone_get myzone testgroup

    '''
    dnsconn = __utils__['azurearm.get_client']('dns', **kwargs)
    try:
        zone = dnsconn.zones.get(
            zone_name=name,
            resource_group_name=resource_group
        )
        result = zone.as_dict()

    except CloudError as exc:
        __utils__['azurearm.log_cloud_error']('dns', str(exc), **kwargs)
        result = {'error': str(exc)}

    return result