Reference documentation and code samples for the Compute V1 Client class ResourcePolicyWorkloadPolicy.
Represents the workload policy.
Generated from protobuf message google.cloud.compute.v1.ResourcePolicyWorkloadPolicy
Namespace
Google \ Cloud \ Compute \ V1Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ accelerator_topology
string
Specifies the topology required to create a partition for VMs that have interconnected GPUs.
↳ max_topology_distance
string
Specifies the maximum distance between instances. Check the MaxTopologyDistance enum for the list of possible values.
↳ type
string
Specifies the intent of the instance placement in the MIG. Check the Type enum for the list of possible values.
getAcceleratorTopology
Specifies the topology required to create a partition for VMs that have interconnected GPUs.
string
hasAcceleratorTopology
clearAcceleratorTopology
setAcceleratorTopology
Specifies the topology required to create a partition for VMs that have interconnected GPUs.
var
string
$this
getMaxTopologyDistance
Specifies the maximum distance between instances.
Check the MaxTopologyDistance enum for the list of possible values.
string
hasMaxTopologyDistance
clearMaxTopologyDistance
setMaxTopologyDistance
Specifies the maximum distance between instances.
Check the MaxTopologyDistance enum for the list of possible values.
var
string
$this
getType
Specifies the intent of the instance placement in the MIG.
Check the Type enum for the list of possible values.
string
hasType
clearType
setType
Specifies the intent of the instance placement in the MIG.
Check the Type enum for the list of possible values.
var
string
$this

