Create a private network profile
post
/20260430/aiDataPlatforms/{aiDataPlatformId}/privateNetworkProfiles
Creates a reusable private network profile for Git repositories in an AI data platform.
Request
Path Parameters
-
aiDataPlatformId(required): string
Minimum Length:
1Maximum Length:500The [OCID](/iaas/Content/General/Concepts/identifiers.htm) of the AI Data Platform (Data Lake) instance.
Header Parameters
-
opc-request-id: string
Maximum Length:
255Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID. The only valid characters for request IDs are letters, numbers, underscore, and dash. -
opc-retry-token: string
Maximum Length:
64A token that uniquely identifies a request so it can be retried in case of a timeout or server error without risk of running that same action again. Retry tokens expire after 24 hours, but can be invalidated before then due to conflicting operations. For example, if a resource has been deleted and removed from the system, then a retry of the original creation request might be rejected.
Details for the private network profile.
Root Schema : CreatePrivateNetworkProfileDetails
Type:
objectDetails for creating a reusable Git private network profile.
Show Source
-
customerCompartmentId(required):
string
Customer compartment identifier containing the private network resources.
-
customerSubnetId(required):
string
Customer subnet identifier used for Git connectivity.
-
customerVcnId(required):
string
Customer VCN identifier used for Git connectivity.
-
description:
string
Optional description of the Git connectivity profile.
-
name(required):
string
Display name of the Git connectivity profile.
Response
Supported Media Types
- application/json
202 Response
Private network profile creation accepted for asynchronous processing.
Headers
-
aidp-async-operation-key: string
The key of the asynchronous operations associated with an AI Data Platform instance. Use GetAsyncOperation with this key to track the status of the request.
-
etag: string
For optimistic concurrency control. See `if-match`.
-
opc-request-id: string
Unique Oracle-assigned ID for the request. If you need to contact Oracle about a particular request, please provide the request ID.
Root Schema : PrivateNetworkProfile
Type:
objectA reusable private network profile for Git repository connectivity.
Show Source
-
createdBy:
string
Identifier of the user who created the profile.
-
createdByName:
string
Display name of the user who created the profile.
-
customerCompartmentId(required):
string
Customer compartment identifier containing the private network resources.
-
customerSubnetId(required):
string
Customer subnet identifier used for Git connectivity.
-
customerVcnId(required):
string
Customer VCN identifier used for Git connectivity.
-
description:
string
Optional description of the Git connectivity profile.
-
key(required):
string
Unique key for the Git connectivity profile.
-
lastValidationErrorCode:
string
Non-sensitive code for the latest validation failure.
-
lastValidationErrorMessage:
string
Non-sensitive message for the latest validation failure.
-
lifecycleState(required):
string
Allowed Values:
[ "CREATING", "ACTIVE", "DELETING", "FAILED" ]Current lifecycle state of the profile. -
name(required):
string
Display name of the Git connectivity profile.
-
timeCreated(required):
string(date-time)
Time at which the profile was created.
-
timeLastValidated:
string(date-time)
Time at which the profile was last validated.
-
timeUpdated(required):
string(date-time)
Time at which the profile was last updated.
-
validationState(required):
string
Allowed Values:
[ "UNKNOWN", "VALID", "INVALID" ]Latest validation state of the profile.
400 Response
Bad Request (invalid query parameters, malformed headers, and so on).
Headers
-
opc-request-id: string
Unique Oracle-assigned ID for the request. If you need to contact Oracle about a particular request, please provide the request ID.
Root Schema : Error
Type:
objectError information.
Show Source
-
code(required):
string
A short error code that defines the error, meant for programmatic parsing.
-
message(required):
string
A human-readable error message.
401 Response
Unauthorized (missing or expired credentials, and so on).
Headers
-
opc-request-id: string
Unique Oracle-assigned ID for the request. If you need to contact Oracle about a particular request, please provide the request ID.
Root Schema : Error
Type:
objectError information.
Show Source
-
code(required):
string
A short error code that defines the error, meant for programmatic parsing.
-
message(required):
string
A human-readable error message.
404 Response
Not Found. The requested resource was not found.
Headers
-
opc-request-id: string
Unique Oracle-assigned ID for the request. If you need to contact Oracle about a particular request, please provide the request ID.
Root Schema : Error
Type:
objectError information.
Show Source
-
code(required):
string
A short error code that defines the error, meant for programmatic parsing.
-
message(required):
string
A human-readable error message.
409 Response
Conflict. Request conflicts with the current state of the resource.
Headers
-
opc-request-id: string
Unique Oracle-assigned ID for the request. If you need to contact Oracle about a particular request, please provide the request ID.
Root Schema : Error
Type:
objectError information.
Show Source
-
code(required):
string
A short error code that defines the error, meant for programmatic parsing.
-
message(required):
string
A human-readable error message.
429 Response
Too Many Requests. Too many requests sent to the server in a short period.
Headers
-
opc-request-id: string
Unique Oracle-assigned ID for the request. If you need to contact Oracle about a particular request, please provide the request ID.
Root Schema : Error
Type:
objectError information.
Show Source
-
code(required):
string
A short error code that defines the error, meant for programmatic parsing.
-
message(required):
string
A human-readable error message.
500 Response
Internal Server Error. The server encountered an unexpected condition preventing fulfilment of the request.
Headers
-
opc-request-id: string
Unique Oracle-assigned ID for the request. If you need to contact Oracle about a particular request, please provide the request ID.
Root Schema : Error
Type:
objectError information.
Show Source
-
code(required):
string
A short error code that defines the error, meant for programmatic parsing.
-
message(required):
string
A human-readable error message.
Default Response
Unknown Error. Error is not recognized by the system.
Headers
-
opc-request-id: string
Unique Oracle-assigned ID for the request. If you need to contact Oracle about a particular request, please provide the request ID.
Root Schema : Error
Type:
objectError information.
Show Source
-
code(required):
string
A short error code that defines the error, meant for programmatic parsing.
-
message(required):
string
A human-readable error message.