Placement¶
- 
class 
oci.cloud_bridge.models.Placement(**kwargs)¶ Bases:
objectDescribes the placement of an instance.
Methods
__init__(**kwargs)Initializes a new Placement object with values from keyword arguments. Attributes
affinityGets the affinity of this Placement. availability_zoneGets the availability_zone of this Placement. group_nameGets the group_name of this Placement. host_keyGets the host_key of this Placement. host_resource_group_arnGets the host_resource_group_arn of this Placement. partition_numberGets the partition_number of this Placement. spread_domainGets the spread_domain of this Placement. tenancyGets the tenancy of this Placement. - 
__init__(**kwargs)¶ Initializes a new Placement object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
Parameters: - affinity (str) – The value to assign to the affinity property of this Placement.
 - availability_zone (str) – The value to assign to the availability_zone property of this Placement.
 - group_name (str) – The value to assign to the group_name property of this Placement.
 - host_key (str) – The value to assign to the host_key property of this Placement.
 - host_resource_group_arn (str) – The value to assign to the host_resource_group_arn property of this Placement.
 - partition_number (int) – The value to assign to the partition_number property of this Placement.
 - spread_domain (str) – The value to assign to the spread_domain property of this Placement.
 - tenancy (str) – The value to assign to the tenancy property of this Placement.
 
- 
affinity¶ Gets the affinity of this Placement. The affinity setting for the instance on the Dedicated Host.
Returns: The affinity of this Placement. Return type: str 
- 
availability_zone¶ Gets the availability_zone of this Placement. The Availability Zone of the instance.
Returns: The availability_zone of this Placement. Return type: str 
- 
group_name¶ Gets the group_name of this Placement. The name of the placement group the instance is in.
Returns: The group_name of this Placement. Return type: str 
- 
host_key¶ Gets the host_key of this Placement. The ID of the Dedicated Host on which the instance resides.
Returns: The host_key of this Placement. Return type: str 
- 
host_resource_group_arn¶ Gets the host_resource_group_arn of this Placement. The ARN of the host resource group in which to launch the instances.
Returns: The host_resource_group_arn of this Placement. Return type: str 
- 
partition_number¶ Gets the partition_number of this Placement. The number of the partition that the instance is in.
Returns: The partition_number of this Placement. Return type: int 
- 
spread_domain¶ Gets the spread_domain of this Placement. Reserved for future use.
Returns: The spread_domain of this Placement. Return type: str 
- 
tenancy¶ Gets the tenancy of this Placement. The tenancy of the instance (if the instance is running in a VPC).
Returns: The tenancy of this Placement. Return type: str 
-