{ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "https://raw.githubusercontent.com/api-evangelist/cloudera/main/json-schema/cloudera-create-model-registry-request-schema.json", "title": "CreateModelRegistryRequest", "description": "Request object for creating model registry.", "x-generated": "2026-10-04", "x-method": "derived", "x-generator": "derive-json-schema.py", "x-source": "openapi/cloudera-ml-api-openapi.yml#/components/schemas/CreateModelRegistryRequest", "type": "object", "properties": { "namespace": { "type": "string", "description": "The namespace of the model registry." }, "s3AccessKey": { "type": "string", "description": "The S3 access key of Ozone.", "x-sensitive": true }, "s3SecretKey": { "type": "string", "description": "The S3 secret key of Ozone.", "x-sensitive": true }, "s3Bucket": { "type": "string", "description": "The s3Bucket of Ozone." }, "s3Endpoint": { "type": "string", "description": "The endpoint of Ozone.", "x-no-paramfile": true }, "creatorCrn": { "type": "string", "description": "The creator of model registry." }, "environmentCrn": { "type": "string", "description": "The environment CRN of model registry." }, "environmentName": { "type": "string", "description": "The environment for the model registry to create." }, "usePublicLoadBalancer": { "type": "boolean", "description": "The boolean flag to request a public load balancer. By default, a private load balancer is used." }, "subnetsForLoadBalancers": { "type": "array", "items": { "type": "string" }, "description": "The list of subnets used for the load balancer that Cloudera AI creates." }, "outboundTypes": { "type": "array", "items": { "$ref": "#/$defs/OutboundTypes" }, "description": "Outbound Types provided for the cluster." }, "skipValidation": { "type": "boolean", "description": "Skip pre-flight validations if requested." }, "privateCluster": { "type": "boolean", "description": "Whether to create a private cluster." }, "provisionK8sRequest": { "description": "The request for Kubernetes cluster provision. Required in public cloud.", "$ref": "#/$defs/ModelRegistryProvisionK8sRequest" }, "backupCrn": { "type": "string", "description": "The CRN of the backup that this model registry is created from." }, "whitelistAuthorizedIPRanges": { "type": "boolean", "description": "Whether to whitelist only authorizedIPRanges given or all public IPs." }, "authorizedIPRanges": { "type": "array", "items": { "type": "string" }, "description": "The whitelist of CIDR blocks which can access the API server." }, "disableObjectStoreCsiDriver": { "type": "boolean", "description": "If true, opt out of enabling the object store CSI driver integration. CSI driver integration offers increased scalability but requires the \"Storage Account Contributor\" role on Azure." } }, "$defs": { "Gcp": { "type": "object", "description": "Contains the information about gcp.", "properties": { "secondaryPodRangeName": { "type": "string", "description": "The secondary pod range name for GCP." } } }, "ModelRegistryProvisionK8sRequest": { "type": "object", "description": "Request object for provisioning model registry.", "properties": { "tags": { "type": "array", "items": { "$ref": "#/$defs/ProvisionTag" }, "description": "Tags to add to the cloud provider resources created. This is in addition to any tags added by Cloudera." }, "network": { "description": "The overlay network for an AWS Kubernetes cluster's CNI.", "$ref": "#/$defs/OverlayNetwork" } } }, "OutboundTypes": { "type": "string", "description": "List of possible Outbound types.", "enum": [ "UNKNOWN", "OUTBOUND_TYPE_UDR" ] }, "OverlayNetwork": { "type": "object", "description": "Contains the information about overlay network.", "properties": { "plugin": { "type": "string", "description": "The plugin specifies specific cni vendor, ex: calico, weave etc." }, "topology": { "description": "The options for overlay topology.", "$ref": "#/$defs/Topology" }, "gcp": { "description": "The networking options for GCP platform.", "$ref": "#/$defs/Gcp" } } }, "ProvisionTag": { "type": "object", "description": "Contains a single tag entry that will be configured on cloud resources associated with a workbench.", "required": [ "key", "value" ], "properties": { "key": { "type": "string", "description": "The name for the tag." }, "value": { "type": "string", "description": "The value for the tag." } } }, "Topology": { "type": "object", "description": "Contains the information about topology.", "properties": { "subnets": { "type": "array", "items": { "type": "string" }, "description": "The options for subnets." } } } } }