def show_service(kwargs=None, conn=None, call=None):
    if call != 'function':
        raise SaltCloudSystemExit(
            'The show_service function must be called with -f or --function.'
        )

    if not conn:
        conn = get_conn()

    if kwargs is None:
        kwargs = {}

    if 'name' not in kwargs:
        raise SaltCloudSystemExit('A name must be specified as "name"')

    data = conn.get_hosted_service_properties(
        kwargs['name'],
        kwargs.get('details', False)
    )
    ret = object_to_dict(data)
    return ret
Error check the attributes of the QueryRequestPayload object.
dataset/ETHPy150Open saltstack/salt/salt/cloud/clouds/msazure.py/show_service--crossover with--dataset/ETHPy150Open OpenKMIP/PyKMIP/kmip/core/messages/payloads/query.py/QueryRequestPayload.validate