Integration with Oracle Cloud Infrastracture(OCI) Core Services.
Settings
- Private Key (Vault) Required – Will be used to authenticate to the OCI API. Can be taken from Identity\Users\YOUR_USER\API keys.
- User ID (String) Required – The OCID of the user to authenticate with.
- Tenancy ID (String) Required – Tenancy OCID. Can be found in user profile.
- Fingerprint (Vault) Required – Will be used to authenticate to the OCI API. Can be taken from Identity\Users\YOUR_USER\API keys.
- Region (String) Required – Identifier of the region to create the requests in.
Method: Create Compartment
Create a new compartment in the specified parent copartment.
Parameters
- Parent Compartment (Autocomplete) Required – The compartment to host the new compartment.
- Name (String) Required – The name of the new compartment.
- Description (AutoComplete) Required – The description of the new compartment.
- Wait For Creation (Boolean) Required – Whether to wait until the compartment is created and active, or not.
Method: Delete Compartment
Delete the specified compartments and all related resources.
Parameters
- Compartment (Autocomplete) Optional – The compartment to delete.
Method Launch instance
Launches a new instance.
Parameters
- Compartment (Autocomplete) Optional – The compartment to launch the instance in. If not specified will use tennancy ID.
- Display name (String) Optional – The name of the new instance.
- Availability Domain (Autocomplete) Required – Availability domain of the instance. For example: jUfS:eu-amsterdam-1-AD-1
- Preemptible Capacity Type (Boolean) Optional – If specified, place the instance on a shared host using preemptible capacity. This instance can be reclaimed at any time. Default is False.
- (Preemptible) Preserve Boot Volume (Boolean) Optional – Only for preemtible instances. If specified, when reclaimed, don’t delete the attached boot volume. Default is false.
- Capacity Reservation (Autocomplete) Optional – If specified, place the instance on a shared host, and have it count against thespecified capacity reservation. Can’t be provided with Preemptible Capacity Type or a dedicated VM host.
- Dedicated VM Host (Autocomplete) Optional – If specified, place the instance on the specified dedicated virtual machine host. Can’t be provided with Preemptible Capacity Type or Capacity Reservation.
- Fault Domain (Autocomplete) Optional – If specified, place the instance on the specified fault domain. You can read more on fault domains here. If not specified, let OCI choose the fault domain for you.
- Shape (Autocomplete) Required – Instance Shape to use for the instance. For example: VM.Standard.E2.1.Micro.
- Custom Shape OCPU Count (Integer) Optional – Only for flexiable shapes with custom amount of OCPUs. Determines the number of OCPUs in the instance’s image.
- Custom Shape Memory(GBs) (Integer) Optional – Only for flexiable shapes with custom amount of Memory size. Determines the size of the memory in the instance’s image.
- Image (Autocomplete) Required – The ID of the base image of the instance.
- VCN (Autocomplete) Optional – The ID of the VCN to choose a subnet from.
- Subnet (Autocomplete) Required – The ID of the subnet to host the instance on.
- Assign Public IP (Boolean) Optional – If specified, assign a public IP to the instance.
- SSH Keys (Text/Array) Optional – Public SSH Keys To save in accepted ssh keys in the instance. To enter multiple values seperate each with a new line.
- Custom Boot Volume Size(GBs) (Integer) Optional – If specifiied, create a boot volume for this instance with the specified storage size. Default boot volume storage size is 46.6 GB.
- Use In-Transit Encryption (Boolean) Optional – If specified, Encrypt data in transit between the instance, the boot volume, and the block volumes.
- User Data (Text) Optional – A script to run on the instance on launch.
- Wait For Creation (Boolean) Optional – If specified return only after new instance is running. Default Value is False.
Method: create VCN
Creates a new VCN in the specified compartment.
Parameters
- VCN Name (String) Required – The name of the VCN to create.
- Compartment (Autocomplete) Optional – The compartment to launch the instance in. If not specified will use tennancy ID.
- CIDR Block (String) Optional – The IP Address Range to assign to the VCN, in CIDR notation. Default Value is “10.0.0.0/16”.
- Create Related (Boolean) Optional – If specified, create default related resources inside the VCN. The Default resources are an internet gateway always, and if also creates a private subnet, create all required resources in it.
- Public Subnet CIDR Block (String) Optional – The IP Address Range to assign to the default public subnet in this VCN, in CIDR notation. If specified, create a new public subnet in the VCN.
- Private Subnet CIDR Block (String) Optional – The IP Address Range to assign to the default private subnet in this VCN, in CIDR notation. If specified, create a new private subnet in the VCN.
- Use DNS Hostnames (Boolean) Optional – If true, use automatic dns hostnames for this VCN and any default subnets created from this method.
Method: Create Subnet
Creates a new subnet in the specified VCN.
Parameters
- Subnet Name (String) Required – The name of the new subnet to create.
- Compartment (AutoComplete) Optional – The compartment of the VCN and the new subnet. If not specified default compartment is the Tenancy.
- CIDR Block (String) Required – The range of IP addresses in CIDR notation to assign to the subnet.
- Create Related (Boolean) Optional – If specified, create default related resources inside the Subnet. There are only resources needed in case the subnet is private. If it is private, create a private route table for it, a NAT gateway, and a service gateway. Default is false.
- Private (Boolean) Optional – If specified, set the subnet to be private – with no access from the internet to it. Also don’t provide public IP addresses to resources inside the subnet. Default is false.
- VCN (AutoComplete) Required – The VCN of the new subnet.
- Route Table (AutoComplete) Optional – If specified, associate this subnet with the specified Route Table. If not specified will be associated with the default route table of the VCN.
- Availability Domain (AutoComplete) Optional – If specified, only allow access to this subnet from the specified availability domain.
- Security List Optional – If specified, apply the specified security list to the new subnet.
- DHCP Options Optional – If specified, apply the specified DHCP options to the new subnet.
Method: Delete VCN
Delete a VCN and all related resources.
Parameter
- Compartment (AutoComplete) Optional – The compartment of the VCN to delete.
- VCN (AutoComplete) Required – The VCN to delete.
Method: Delete subnet
Deletes a subnet and all related resources.
Parameter
- Compartment (AutoComplete) Optional – The compartment of the VCN to delete.
- Subnet (AutoComplete) Required – The Subnet to delete.
Method: Create Security List
Create a new security list in the specified vcn.
Parameters
- Compartment (Autocomplete) Optional – The compartment to create the security list in. If not specified will use tennancy ID from settings.
- Name (String) Optional – The display name of the new security list.
- VCN (AutoComplete) Required – The VCN of the new security list.
- Egress Security Rules (Array of Objects) Optional – An array of egrass security rules objects. If specified apply the specified rules to the Security List. If not, use default egrass security rule which is:
{protocol: "all", destination: "0.0.0.0/0"}
. - Ingress Security Rules (Array of Objects) Optional – An array of ingress security rules objects. If specified apply the specified rules to the Security List. If not, use default ingress security rule which is:
{protocol: "all", source: "0.0.0.0/0"}
.
Method: Create Internet Gateway
Create a new internet gateway in the specified vcn.
Parameters
- Compartment (Autocomplete) Optional – The compartment to create the internet gateway in. If not specified will use tennancy ID from settings.
- Name (String) Optional – The display name of the new internet gateway.
- VCN (AutoComplete) Required – The VCN of the new internet gateway.
Method: Create Route Table
Create a new route table in the specified vcn.
Parameters
- Compartment (Autocomplete) Optional – The compartment to create the route table in. If not specified will use tennancy ID from settings.
- Name (String) Optional – The display name of the new route table.
- VCN (AutoComplete) Required – The VCN of the new route table.
- Destinations (Text/Array) Optional – CIDR Block IPv4 addresses, or CIDR labels for service destinations. If specified, create route rules inside the route tables to the specified destinations.
- Rules Network Entity IDs (Text/Array) Optional – Required in case Destinations were provided. The OCIDs of the network entities to route the destinations addresses to. Must be in the same length as Destinations
- Destinations Type (Options) Optional – If specified any destinations for rules, than determines the type of the specified destinations. Possible Values are CIDR_BLOCK/SERVICE_CIDR_BLOCK. Default vakue is CIDR_BLOCK.
Method: Add Route Rules
Add new route rules to the specified route table.
Parameters
- Compartment (Autocomplete) Optional – The compartment of the route table. If not specified will use tennancy ID from settings.
- VCN (AutoComplete) Required – The VCN of the route table.
- Route Table (AutoComplete) Required – The route table to add route rules to.
- Destinations (Text/Array) Required – The destinations of the rules in CIDR block or label notation.
- Rules Network Entity IDs (Text/Array) Required – The OCIDs of the network entities to route the destinations addresses to. Must be in the same length as Destinations
- Destinations Type (Options) Optional – Determines the type of the specified destinations. Possible Values are CIDR_BLOCK/SERVICE_CIDR_BLOCK. Default value is CIDR_BLOCK.
Method: Update Instance
Update some of the specified instance’s fields.
Parameters
- Compartment (AutoComplete) Optional – The compartment of the instance. If not specified will use tennancy ID.
- Instance (AutoComplete) Required – The instance to update.
- Display Name (String) Optional – If specified update the display name of the instance to the new name specified.
- Shape (AutoComplete) Optional – If specified change the shape of the instance to the specified shape.
Method: Instance Action
Start/Stop/Restart/”Soft Stop” the specified instance.
Parameters
- Compartment (Autocomplete) Optional – The compartment of the instance to run the action on. If not specified will use tennancy ID.
- Instance (AutoComplete) Required – The instance to run the action on.
- Action (Options) Required – The action to run on the specified instance. Can be START/STOP/RESET/SOFTSTOP. RESET shuts down the instance then starts it again. SOFTSTOP sends a stop signal to the instance and waits for the OS to shut down before stop the instance. STOP doesn’t wait for the OS.
- Wait Until Finished (Boolean) Optional – If specified wait until the instance has finished shutting down\starting.
Method: Create NAT Gateway
Create a new NAT gateway in the specified vcn.
Parameters
- Compartment (Autocomplete) Optional – The compartment to create the NAT gateway in. If not specified will use tennancy ID from settings.
- Name (String) Optional – The display name of the new NAT gateway.
- VCN (AutoComplete) Required – The VCN of the new NAT gateway.
Method: Create Service Gateway
Create a new service gateway in the specified vcn.
Parameters
- Compartment (Autocomplete) Optional – The compartment to create the service gateway in. If not specified will use tennancy ID from settings.
- Name (String) Optional – The display name of the new service gateway.
- VCN (AutoComplete) Required – The VCN of the new service gateway.
- Service (AutoComplete) Required – The service to allow traffic for, in the new service gateway.