Creates a stream pool.

POST {{baseUrl}}/streampools

Starts the provisioning of a new stream pool. To track the progress of the provisioning, you can periodically call GetStreamPool. In the response, the lifecycleState parameter of the object tells you its current state.

Request Body

{"compartmentId"=>"{{compartment_ocid}}", "name"=>"MyStreamPool", "customEncryptionKeyDetails"=>{"kmsKeyId"=>"ullamco consectetur"}, "kafkaSettings"=>{"autoCreateTopicsEnable"=>false, "bootstrapServers"=>"eiusmod minim in sunt", "logRetentionHours"=>57, "numPartitions"=>16380254}, "privateEndpointDetails"=>{"nsgIds"=>["incididunt tempor", "ullamco nulla veniam est Lorem"], "privateEndpointIp"=>"10.0.0.5", "subnetId"=>"ocid1.subnet.realm.region.zxcvbn432765"}}

HEADERS

KeyDatatypeRequiredDescription
opc-request-idstringThe unique Oracle-assigned identifier for the request. If you need to contact Oracle about a
particular request, please provide the request ID.
opc-retry-tokenstringA token that uniquely identifies a request so it can be retried in case of a timeout or server error without risk of executing 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 purged from the system, then a retry of the original creation request may be rejected).
Content-Typestring
Datestring(Required) Current Date
Authorizationstring(Required) Signature Authentication on Authorization header
x-content-sha256string(Required) Content sha256 for POST, PUT and PATCH operations

RESPONSES

status: OK

{"compartmentId":"ocid1.compartment.oc1..aaaaaaaa2byuam5ewxzrcs2iqzh7okx84jae6j4uhkih5wdbrkkwuxv3qgpa","customEncryptionKey":{"keyState":"DELETING","kmsKeyId":"Lorem exercitation"},"id":"ocid1.streampool.realm.region.mnopqr789","kafkaSettings":{"autoCreateTopicsEnable":true,"bootstrapServers":"cupidatat Excepteur","logRetentionHours":436,"numPartitions":38426307},"lifecycleState":"FAILED","name":"MyStreamPool","timeCreated":"2007-07-12T13:30:04.784Z","definedTags":{},"endpointFqdn":"incididunt labore ipsum cupidatat eu","freeformTags":{},"isPrivate":false,"lifecycleStateDetails":"ex laborum in et tempor","privateEndpointSettings":{"nsgIds":["ut aliqua","laboru"],"privateEndpointIp":"10.0.0.5","subnetId":"ocid1.subnet.realm.region.zxcvbn432765"}}