1. Registry
  2. Packages
  3. CAST AI
  4. API Docs
  5. AiOptimizerModelRegistry
Viewing docs for CAST AI v8.60.0
published on Wednesday, Aug 19, 2026 by CAST AI
castai logo
Viewing docs for CAST AI v8.60.0
published on Wednesday, Aug 19, 2026 by CAST AI

    Create AiOptimizerModelRegistry Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new AiOptimizerModelRegistry(name: string, args: AiOptimizerModelRegistryArgs, opts?: CustomResourceOptions);
    @overload
    def AiOptimizerModelRegistry(resource_name: str,
                                 args: AiOptimizerModelRegistryArgs,
                                 opts: Optional[ResourceOptions] = None)
    
    @overload
    def AiOptimizerModelRegistry(resource_name: str,
                                 opts: Optional[ResourceOptions] = None,
                                 credentials: Optional[str] = None,
                                 gcs: Optional[AiOptimizerModelRegistryGcsArgs] = None,
                                 provider_type: Optional[str] = None,
                                 s3: Optional[AiOptimizerModelRegistryS3Args] = None)
    func NewAiOptimizerModelRegistry(ctx *Context, name string, args AiOptimizerModelRegistryArgs, opts ...ResourceOption) (*AiOptimizerModelRegistry, error)
    public AiOptimizerModelRegistry(string name, AiOptimizerModelRegistryArgs args, CustomResourceOptions? opts = null)
    public AiOptimizerModelRegistry(String name, AiOptimizerModelRegistryArgs args)
    public AiOptimizerModelRegistry(String name, AiOptimizerModelRegistryArgs args, CustomResourceOptions options)
    
    type: castai:index/aiOptimizer:AiOptimizerModelRegistry
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    
    resource "castai_ai_optimizer_model_registry" "name" {
        # resource properties
    }

    Parameters

    name string
    The unique name of the resource.
    args AiOptimizerModelRegistryArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args AiOptimizerModelRegistryArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args AiOptimizerModelRegistryArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args AiOptimizerModelRegistryArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args AiOptimizerModelRegistryArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    AiOptimizerModelRegistry Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

    The AiOptimizerModelRegistry resource accepts the following input properties:

    Credentials string
    JSON-encoded credentials for accessing the bucket.
    Gcs Pulumi.CastAI.Inputs.AiOptimizerModelRegistryGcs
    Google Cloud Storage provider configuration. Required when providerType is GCS.
    ProviderType string
    Provider type: S3 or GCS.
    S3 Pulumi.CastAI.Inputs.AiOptimizerModelRegistryS3
    AWS S3 provider configuration. Required when providerType is S3.
    Credentials string
    JSON-encoded credentials for accessing the bucket.
    Gcs AiOptimizerModelRegistryGcsArgs
    Google Cloud Storage provider configuration. Required when providerType is GCS.
    ProviderType string
    Provider type: S3 or GCS.
    S3 AiOptimizerModelRegistryS3Args
    AWS S3 provider configuration. Required when providerType is S3.
    credentials string
    JSON-encoded credentials for accessing the bucket.
    gcs object
    Google Cloud Storage provider configuration. Required when providerType is GCS.
    provider_type string
    Provider type: S3 or GCS.
    s3 object
    AWS S3 provider configuration. Required when providerType is S3.
    credentials String
    JSON-encoded credentials for accessing the bucket.
    gcs AiOptimizerModelRegistryGcs
    Google Cloud Storage provider configuration. Required when providerType is GCS.
    providerType String
    Provider type: S3 or GCS.
    s3 AiOptimizerModelRegistryS3
    AWS S3 provider configuration. Required when providerType is S3.
    credentials string
    JSON-encoded credentials for accessing the bucket.
    gcs AiOptimizerModelRegistryGcs
    Google Cloud Storage provider configuration. Required when providerType is GCS.
    providerType string
    Provider type: S3 or GCS.
    s3 AiOptimizerModelRegistryS3
    AWS S3 provider configuration. Required when providerType is S3.
    credentials str
    JSON-encoded credentials for accessing the bucket.
    gcs AiOptimizerModelRegistryGcsArgs
    Google Cloud Storage provider configuration. Required when providerType is GCS.
    provider_type str
    Provider type: S3 or GCS.
    s3 AiOptimizerModelRegistryS3Args
    AWS S3 provider configuration. Required when providerType is S3.
    credentials String
    JSON-encoded credentials for accessing the bucket.
    gcs Property Map
    Google Cloud Storage provider configuration. Required when providerType is GCS.
    providerType String
    Provider type: S3 or GCS.
    s3 Property Map
    AWS S3 provider configuration. Required when providerType is S3.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the AiOptimizerModelRegistry resource produces the following output properties:

    Id string
    The provider-assigned unique ID for this managed resource.
    Status string
    Registry status.
    StatusReason string
    Reason for the current status.
    Id string
    The provider-assigned unique ID for this managed resource.
    Status string
    Registry status.
    StatusReason string
    Reason for the current status.
    id string
    The provider-assigned unique ID for this managed resource.
    status string
    Registry status.
    status_reason string
    Reason for the current status.
    id String
    The provider-assigned unique ID for this managed resource.
    status String
    Registry status.
    statusReason String
    Reason for the current status.
    id string
    The provider-assigned unique ID for this managed resource.
    status string
    Registry status.
    statusReason string
    Reason for the current status.
    id str
    The provider-assigned unique ID for this managed resource.
    status str
    Registry status.
    status_reason str
    Reason for the current status.
    id String
    The provider-assigned unique ID for this managed resource.
    status String
    Registry status.
    statusReason String
    Reason for the current status.

    Look up Existing AiOptimizerModelRegistry Resource

    Get an existing AiOptimizerModelRegistry resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

    public static get(name: string, id: Input<ID>, state?: AiOptimizerModelRegistryState, opts?: CustomResourceOptions): AiOptimizerModelRegistry
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            credentials: Optional[str] = None,
            gcs: Optional[AiOptimizerModelRegistryGcsArgs] = None,
            provider_type: Optional[str] = None,
            s3: Optional[AiOptimizerModelRegistryS3Args] = None,
            status: Optional[str] = None,
            status_reason: Optional[str] = None) -> AiOptimizerModelRegistry
    func GetAiOptimizerModelRegistry(ctx *Context, name string, id IDInput, state *AiOptimizerModelRegistryState, opts ...ResourceOption) (*AiOptimizerModelRegistry, error)
    public static AiOptimizerModelRegistry Get(string name, Input<string> id, AiOptimizerModelRegistryState? state, CustomResourceOptions? opts = null)
    public static AiOptimizerModelRegistry get(String name, Output<String> id, AiOptimizerModelRegistryState state, CustomResourceOptions options)
    resources:  _:    type: castai:index/aiOptimizer:AiOptimizerModelRegistry    get:      id: ${id}
    import {
      to = castai_ai_optimizer_model_registry.example
      id = "${id}"
    }
    
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    resource_name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    The following state arguments are supported:
    Credentials string
    JSON-encoded credentials for accessing the bucket.
    Gcs Pulumi.CastAI.Inputs.AiOptimizerModelRegistryGcs
    Google Cloud Storage provider configuration. Required when providerType is GCS.
    ProviderType string
    Provider type: S3 or GCS.
    S3 Pulumi.CastAI.Inputs.AiOptimizerModelRegistryS3
    AWS S3 provider configuration. Required when providerType is S3.
    Status string
    Registry status.
    StatusReason string
    Reason for the current status.
    Credentials string
    JSON-encoded credentials for accessing the bucket.
    Gcs AiOptimizerModelRegistryGcsArgs
    Google Cloud Storage provider configuration. Required when providerType is GCS.
    ProviderType string
    Provider type: S3 or GCS.
    S3 AiOptimizerModelRegistryS3Args
    AWS S3 provider configuration. Required when providerType is S3.
    Status string
    Registry status.
    StatusReason string
    Reason for the current status.
    credentials string
    JSON-encoded credentials for accessing the bucket.
    gcs object
    Google Cloud Storage provider configuration. Required when providerType is GCS.
    provider_type string
    Provider type: S3 or GCS.
    s3 object
    AWS S3 provider configuration. Required when providerType is S3.
    status string
    Registry status.
    status_reason string
    Reason for the current status.
    credentials String
    JSON-encoded credentials for accessing the bucket.
    gcs AiOptimizerModelRegistryGcs
    Google Cloud Storage provider configuration. Required when providerType is GCS.
    providerType String
    Provider type: S3 or GCS.
    s3 AiOptimizerModelRegistryS3
    AWS S3 provider configuration. Required when providerType is S3.
    status String
    Registry status.
    statusReason String
    Reason for the current status.
    credentials string
    JSON-encoded credentials for accessing the bucket.
    gcs AiOptimizerModelRegistryGcs
    Google Cloud Storage provider configuration. Required when providerType is GCS.
    providerType string
    Provider type: S3 or GCS.
    s3 AiOptimizerModelRegistryS3
    AWS S3 provider configuration. Required when providerType is S3.
    status string
    Registry status.
    statusReason string
    Reason for the current status.
    credentials str
    JSON-encoded credentials for accessing the bucket.
    gcs AiOptimizerModelRegistryGcsArgs
    Google Cloud Storage provider configuration. Required when providerType is GCS.
    provider_type str
    Provider type: S3 or GCS.
    s3 AiOptimizerModelRegistryS3Args
    AWS S3 provider configuration. Required when providerType is S3.
    status str
    Registry status.
    status_reason str
    Reason for the current status.
    credentials String
    JSON-encoded credentials for accessing the bucket.
    gcs Property Map
    Google Cloud Storage provider configuration. Required when providerType is GCS.
    providerType String
    Provider type: S3 or GCS.
    s3 Property Map
    AWS S3 provider configuration. Required when providerType is S3.
    status String
    Registry status.
    statusReason String
    Reason for the current status.

    Supporting Types

    AiOptimizerModelRegistryGcs, AiOptimizerModelRegistryGcsArgs

    Bucket string
    GCS bucket name.
    Prefix string
    Path prefix within the bucket.
    ServiceAccount string
    Service account email generated by onboarding.
    Bucket string
    GCS bucket name.
    Prefix string
    Path prefix within the bucket.
    ServiceAccount string
    Service account email generated by onboarding.
    bucket string
    GCS bucket name.
    prefix string
    Path prefix within the bucket.
    service_account string
    Service account email generated by onboarding.
    bucket String
    GCS bucket name.
    prefix String
    Path prefix within the bucket.
    serviceAccount String
    Service account email generated by onboarding.
    bucket string
    GCS bucket name.
    prefix string
    Path prefix within the bucket.
    serviceAccount string
    Service account email generated by onboarding.
    bucket str
    GCS bucket name.
    prefix str
    Path prefix within the bucket.
    service_account str
    Service account email generated by onboarding.
    bucket String
    GCS bucket name.
    prefix String
    Path prefix within the bucket.
    serviceAccount String
    Service account email generated by onboarding.

    AiOptimizerModelRegistryS3, AiOptimizerModelRegistryS3Args

    Bucket string
    S3 bucket name.
    Region string
    AWS region of the S3 bucket.
    Prefix string
    Path prefix within the bucket.
    UserName string
    IAM user name created by onboarding.
    Bucket string
    S3 bucket name.
    Region string
    AWS region of the S3 bucket.
    Prefix string
    Path prefix within the bucket.
    UserName string
    IAM user name created by onboarding.
    bucket string
    S3 bucket name.
    region string
    AWS region of the S3 bucket.
    prefix string
    Path prefix within the bucket.
    user_name string
    IAM user name created by onboarding.
    bucket String
    S3 bucket name.
    region String
    AWS region of the S3 bucket.
    prefix String
    Path prefix within the bucket.
    userName String
    IAM user name created by onboarding.
    bucket string
    S3 bucket name.
    region string
    AWS region of the S3 bucket.
    prefix string
    Path prefix within the bucket.
    userName string
    IAM user name created by onboarding.
    bucket str
    S3 bucket name.
    region str
    AWS region of the S3 bucket.
    prefix str
    Path prefix within the bucket.
    user_name str
    IAM user name created by onboarding.
    bucket String
    S3 bucket name.
    region String
    AWS region of the S3 bucket.
    prefix String
    Path prefix within the bucket.
    userName String
    IAM user name created by onboarding.

    Package Details

    Repository
    castai castai/pulumi-castai
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the castai Terraform Provider.
    castai logo
    Viewing docs for CAST AI v8.60.0
    published on Wednesday, Aug 19, 2026 by CAST AI

      Try Pulumi Cloud free.
      Your team will thank you.

      Start free trial