OperatingPolicies
in package
FinalYes
Reusable operating-policy creation, lookup, and immutable versioning operations.
Table of Contents
Methods
- __construct() : mixed
- Creates the operating-policies resource client.
- create() : OperatingPolicy
- Creates the first version of an operating policy.
- lookup() : OperatingPolicy
- Returns the latest active version of an operating policy.
- update() : OperatingPolicy
- Creates and activates a new immutable operating-policy version.
Methods
__construct()
Creates the operating-policies resource client.
public
__construct(HttpClient $http) : mixed
Parameters
- $http : HttpClient
create()
Creates the first version of an operating policy.
public
create(array<string|int, mixed> $payload) : OperatingPolicy
Parameters
- $payload : array<string|int, mixed>
Return values
OperatingPolicylookup()
Returns the latest active version of an operating policy.
public
lookup(string $operatingPolicyId) : OperatingPolicy
Parameters
- $operatingPolicyId : string
Return values
OperatingPolicyupdate()
Creates and activates a new immutable operating-policy version.
public
update(array<string|int, mixed> $payload) : OperatingPolicy
Parameters
- $payload : array<string|int, mixed>