help='the image ID to use for instances', required=True) parser.add_argument('--load-balancer-id', help='The load balancer ID to use for the pool.', required=True) parser.add_argument( '--lb-backendset-name', help='The backendset name in the load balancer that is being attached.', required=True) args = parser.parse_args() # create the compute management client compute_management_client = ComputeManagementClient(config) composite_client = ComputeManagementClientCompositeOperations( compute_management_client) launch_details = InstanceConfigurationLaunchInstanceDetails( compartment_id=args.compartment_id, display_name="some instance name", shape="VM.Standard2.1", source_details=InstanceConfigurationInstanceSourceViaImageDetails( image_id=args.image_id), create_vnic_details=InstanceConfigurationCreateVnicDetails()) instance_details = ComputeInstanceDetails(launch_details=launch_details, block_volumes=[ _create_block_volume_details( args.compartment_id,
) parser.add_argument('--subnet-id', help='the ', required=True ) parser.add_argument('--image-id', help='the image ID to use for instances', required=True ) args = parser.parse_args() # create the compute management client compute_management_client = ComputeManagementClient(config) composite_client = ComputeManagementClientCompositeOperations(compute_management_client) launch_details = InstanceConfigurationLaunchInstanceDetails( compartment_id=args.compartment_id, display_name="some hpc instance name", shape="BM.HPC2.36", source_details=InstanceConfigurationInstanceSourceViaImageDetails( image_id=args.image_id ), create_vnic_details=InstanceConfigurationCreateVnicDetails() ) instance_details = ComputeInstanceDetails( launch_details=launch_details, block_volumes=[
parser.add_argument( '--availability-domain', help= 'the AD where the pool will be spun up (the pool in this example only spans a single AD)', required=True) parser.add_argument('--subnet-id', help='the ', required=True) parser.add_argument('--image-id', help='the image ID to use for instances', required=True) args = parser.parse_args() # create the compute management client compute_management_client = ComputeManagementClient(config) # create the compute client compute_client = ComputeClient(config) launch_details = InstanceConfigurationLaunchInstanceDetails( compartment_id=args.compartment_id, display_name="some instance name", shape="VM.Standard2.1", source_details=InstanceConfigurationInstanceSourceViaImageDetails( image_id=args.image_id), create_vnic_details=InstanceConfigurationCreateVnicDetails()) instance_details = ComputeInstanceDetails(launch_details=launch_details, block_volumes=[ _create_block_volume_details(