• Retrieves a policy schema by its name from the swarm's policy schema service. Logs the operation if logging is enabled in the global configuration.

    Parameters

    • policyName: string

      The name of the policy.

    Returns IPolicySchema

    getPolicy