Drop Down MenusCSS Drop Down MenuPure CSS Dropdown Menu

Tuesday, May 21, 2019

How Oracle Cloud Infrastructure resources are identified:

These are the different ways,Oracle Cloud Infrastructure resources are identified.

Oracle Cloud IDs (OCIDs):

Most types of Oracle Cloud Infrastructure resources have an Oracle-assigned unique ID called an Oracle Cloud Identifier (OCID).
It's included as part of the resource's information in both the Console and API.

To use the API, you need the OCID for your tenancy.

OCIDs syntax:

ocid1.<RESOURCE TYPE>.<REALM>.[REGION][.FUTURE USE].<UNIQUE ID>

where,

ocid1: The literal string indicating the version of the OCID.
resource type: The type of resource (for example, instance, volume, vcn, subnet,user, group, and so on).
realm: The realm the resource is in. A realm is a set of regions that share entities. The only possible value is oc1.
region: The region the resource is in (for example, phx, iad, eu-frankfurt-1). With the introduction of the Frankfurt region, the format switched from a three-character code to a longer string. This part is present in the OCID only for regional resources or those specific to a single availability domain. If the region is not applicable to the resource, this part might be blank.
future use: Reserved for future use. Currently blank.
unique ID: The unique portion of the ID. The format may vary depending on the type of resource or service.
OCIDs Example:

Tenancy:
ocid1.tenancy.oc1..ccccccccba3pv6wkcr4jqae5f44n2b2m
Instance:

ocid1.instance.oc1.phx.abuw4ljrlsfiqw9vzzxb43vyypt4pkodawglp9wqxj

Where to get Tenancy's OCID:

Get the tenancy OCID from the Oracle Cloud Infrastructure Console on the Tenancy Details
page:
1. Open the navigation menu, under Governance and Administration, go to
Administration and click Tenancy Details.


2. The tenancy OCID is shown under Tenancy Information. Click Copy to copy it to your clipboard.


The tenancy OCID looks something like this (notice the word "tenancy" in it):
ocid1.tenancy.oc1..<unique_ID>

Name and Description (IAM Only):

The IAM service requires you to assign a unique, unchangeable name to each of your IAM resources (users, groups, policies, and compartments).The name must be unique.

This requirement is specific to IAM and not the other services.

Names can be used instead of the OCID when writing a policy (for example, Allow
group <GROUP NAME> to manage all-resources in compartment <COMPARTMENT NAME>).

In addition to the name, assign a description to each of your IAM resources(although it can be an empty string). The description does not have to be unique and can be changed whenever required.

Display Name:

The OCI resources we create (other than those in IAM),you can optionally assign a display name.name does not have to be unique and changable it whenever you like.

Resource Tags:

When you have many resources (for example, instances, VCNs, load balancers, and block volumes) across multiple compartments in your tenancy, it can become difficult to track resources used for specific purposes, or to aggregate them, report on them, or take bulk actions on them. Tagging allows you to define keys and values and associate them with resources. You can then use the tags to help you organize and list resources based on your business needs.

There are two types of tags:
Defined tags are set up in your tenancy by an administrator. Only users granted permission to work with the defined tags can apply them to resources.

Free-form tags can be applied by any user with permissions on the resource.

No comments:

Post a Comment