• 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 to retrieve.

    Returns IPolicySchema

    The policy schema associated with the provided policy name.

    getPolicy