AI Language Onboarding Audit¶
This audit is the US-149 baseline for onboarding
github.com/oracle/oci-go-sdk/v65/ailanguage before services.yaml publishes
the service.
Repo Input Status¶
go.modremains pinned togithub.com/oracle/oci-go-sdk/v65 v65.61.1.v65.61.1already contains theailanguagepackage in the module cache; the repo lackedvendor/github.com/oracle/oci-go-sdk/v65/ailanguageonly because nothing imported that package yet.pkg/sdkimports/rollout_services.gonow blank-importsgithub.com/oracle/oci-go-sdk/v65/ailanguagesogo mod vendorkeeps the package in the branch-local inputs.
SDK Audit¶
Project¶
- Full CRUD family is present:
CreateProject,GetProject,ListProjects,UpdateProject, andDeleteProject. - Additional mutator is present:
ChangeProjectCompartment. GetProjectResponsereturnsProject.ListProjectsResponsereturns[]ProjectSummary.ListProjectsRequestexposescompartmentId(required),lifecycleState,displayName, andprojectId, plus page and sort controls.- Lifecycle states are:
ACTIVE,CREATING,DELETING,DELETED,FAILED, andUPDATING. CreateProjectResponse,UpdateProjectResponse, andDeleteProjectResponseall exposeOpcWorkRequestId.CreateProjectDetailscontainscompartmentId,displayName,description,freeformTags, anddefinedTags.UpdateProjectDetailscontainsdisplayName,description,freeformTags, anddefinedTags;compartmentIdmoves throughChangeProjectCompartment, so no obvious create-only field remains in the current SDK shape.
Auxiliary Families¶
- Additional SDK-discovered families are
Endpoint,EvaluationResult,Model,ModelType,WorkRequest,WorkRequestError, andWorkRequestLog. EndpointandModeleach carry their own CRUD surface;EvaluationResult,ModelType, and the work-request families are read or list auxiliaries.
Generator Implications For US-150¶
- No
observedState.sdkAliasesrequirement is apparent forProject; the GET response already projectsProject. Projectremains the narrowest audited common denominator for the first shared AI rollout, even thoughEndpointandModelalso exist in the local SDK surface.- The list surface can match on
compartmentIdplusdisplayName;projectIdis also available after OCI identity is known. - Mutable fields are
displayName,description,freeformTags, anddefinedTags, with compartment changes handled by the separateChangeProjectCompartmentaction. Endpoint,EvaluationResult,Model,ModelType, and the work-request families should stay unpublished initially while the firstProjectrollout lands.
Provider-Facts Coverage¶
formal/sources.lockpins provider facts togithub.com/oracle/terraform-provider-oci@eb653febb1bab4cc6650a96d404a8baf36fdf671.- That pinned revision registers
oci_ai_language_projectas both a resource and a singular data source, andoci_ai_language_projectsas the list data source. - The same provider service also registers
oci_ai_language_endpoint,oci_ai_language_job, andoci_ai_language_modelresource and data-source surfaces. - The current local SDK discovery surface does not expose a CRUD
Jobfamily atv65.61.1, so later rollout work should not assume provider and SDK auxiliaries already match beyond the auditedProjectbaseline. - The pinned
oci_ai_language_projectresource waits onGetWorkRequestfor create and delete, but its update path still usesWaitForUpdatedStatelifecycle rereads even thoughUpdateProjectResponsereturnsOpcWorkRequestId. - The pinned
oci_ai_language_projectsdata source schema exposes anidinput, but the current implementation does not pass that field through toListProjects; onlycompartment_id,display_name, andstateare actively wired today.