Viewing docs for CAST AI v8.60.0
published on Wednesday, Aug 19, 2026 by CAST AI
published on Wednesday, Aug 19, 2026 by CAST AI
Viewing docs for CAST AI v8.60.0
published on Wednesday, Aug 19, 2026 by CAST AI
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.
Cast AI. Inputs. Ai Optimizer Model Registry Gcs - Google Cloud Storage provider configuration. Required when providerType is GCS.
- Provider
Type string - Provider type: S3 or GCS.
- S3
Pulumi.
Cast AI. Inputs. Ai Optimizer Model Registry S3 - AWS S3 provider configuration. Required when providerType is S3.
- Credentials string
- JSON-encoded credentials for accessing the bucket.
- Gcs
Ai
Optimizer Model Registry Gcs Args - Google Cloud Storage provider configuration. Required when providerType is GCS.
- Provider
Type string - Provider type: S3 or GCS.
- S3
Ai
Optimizer Model Registry S3Args - 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
Ai
Optimizer Model Registry Gcs - Google Cloud Storage provider configuration. Required when providerType is GCS.
- provider
Type String - Provider type: S3 or GCS.
- s3
Ai
Optimizer Model Registry S3 - AWS S3 provider configuration. Required when providerType is S3.
- credentials string
- JSON-encoded credentials for accessing the bucket.
- gcs
Ai
Optimizer Model Registry Gcs - Google Cloud Storage provider configuration. Required when providerType is GCS.
- provider
Type string - Provider type: S3 or GCS.
- s3
Ai
Optimizer Model Registry S3 - AWS S3 provider configuration. Required when providerType is S3.
- credentials str
- JSON-encoded credentials for accessing the bucket.
- gcs
Ai
Optimizer Model Registry Gcs Args - Google Cloud Storage provider configuration. Required when providerType is GCS.
- provider_
type str - Provider type: S3 or GCS.
- s3
Ai
Optimizer Model Registry S3Args - 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.
- provider
Type 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.
- Status
Reason 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.
- status_
reason 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.
- status
Reason 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.
- status
Reason 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) -> AiOptimizerModelRegistryfunc 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.
- Credentials string
- JSON-encoded credentials for accessing the bucket.
- Gcs
Pulumi.
Cast AI. Inputs. Ai Optimizer Model Registry Gcs - Google Cloud Storage provider configuration. Required when providerType is GCS.
- Provider
Type string - Provider type: S3 or GCS.
- S3
Pulumi.
Cast AI. Inputs. Ai Optimizer Model Registry S3 - 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
Ai
Optimizer Model Registry Gcs Args - Google Cloud Storage provider configuration. Required when providerType is GCS.
- Provider
Type string - Provider type: S3 or GCS.
- S3
Ai
Optimizer Model Registry S3Args - 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 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
Ai
Optimizer Model Registry Gcs - Google Cloud Storage provider configuration. Required when providerType is GCS.
- provider
Type String - Provider type: S3 or GCS.
- s3
Ai
Optimizer Model Registry S3 - 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
Ai
Optimizer Model Registry Gcs - Google Cloud Storage provider configuration. Required when providerType is GCS.
- provider
Type string - Provider type: S3 or GCS.
- s3
Ai
Optimizer Model Registry S3 - AWS S3 provider configuration. Required when providerType is S3.
- status string
- Registry status.
- status
Reason string - Reason for the current status.
- credentials str
- JSON-encoded credentials for accessing the bucket.
- gcs
Ai
Optimizer Model Registry Gcs Args - Google Cloud Storage provider configuration. Required when providerType is GCS.
- provider_
type str - Provider type: S3 or GCS.
- s3
Ai
Optimizer Model Registry S3Args - 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.
- provider
Type String - Provider type: S3 or GCS.
- s3 Property Map
- AWS S3 provider configuration. Required when providerType is S3.
- status String
- Registry status.
- status
Reason String - Reason for the current status.
Supporting Types
AiOptimizerModelRegistryGcs, AiOptimizerModelRegistryGcsArgs
- 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.
- Service
Account 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.
- service
Account 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 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.
- service
Account String - Service account email generated by onboarding.
AiOptimizerModelRegistryS3, AiOptimizerModelRegistryS3Args
Package Details
- Repository
- castai castai/pulumi-castai
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
castaiTerraform Provider.
Viewing docs for CAST AI v8.60.0
published on Wednesday, Aug 19, 2026 by CAST AI
published on Wednesday, Aug 19, 2026 by CAST AI