def validate_create_parameters(namespace):
    if (not namespace.name):
        raise CLIError('--name has no value')
    if ((namespace.dns_name_prefix is not None) and (not namespace.dns_name_prefix)):
        raise CLIError('--dns-prefix has no value')
def validate_create_parameters(namespace):
    if (not namespace.name):
        raise CLIError('--name has no value')
    if ((namespace.dns_name_prefix is not None) and (not namespace.dns_name_prefix)):
        raise CLIError('--dns-prefix has no value')