Variable: ModelSecurityGroupCreateRequestSchema
const ModelSecurityGroupCreateRequestSchema: ZodObject<{
name: ZodString;
source_type: ZodNativeEnum<{
LOCAL: "LOCAL";
HUGGING_FACE: "HUGGING_FACE";
S3: "S3";
GCS: "GCS";
AZURE: "AZURE";
ARTIFACTORY: "ARTIFACTORY";
GITLAB: "GITLAB";
ALL: "ALL";
}>;
description: ZodDefault<ZodOptional<ZodString>>;
rule_configurations: ZodOptional<ZodRecord<ZodString, ZodObject<{
field_values: ZodOptional<ZodRecord<ZodString, ZodUnknown>>;
state: ZodOptional<ZodNullable<ZodString>>;
}, "passthrough", ZodTypeAny, objectOutputType<{
field_values: ZodOptional<ZodRecord<ZodString, ZodUnknown>>;
state: ZodOptional<ZodNullable<ZodString>>;
}, ZodTypeAny, "passthrough">, objectInputType<{
field_values: ZodOptional<ZodRecord<ZodString, ZodUnknown>>;
state: ZodOptional<ZodNullable<ZodString>>;
}, ZodTypeAny, "passthrough">>>>;
}, "passthrough", ZodTypeAny, objectOutputType<{
name: ZodString;
source_type: ZodNativeEnum<{
LOCAL: "LOCAL";
HUGGING_FACE: "HUGGING_FACE";
S3: "S3";
GCS: "GCS";
AZURE: "AZURE";
ARTIFACTORY: "ARTIFACTORY";
GITLAB: "GITLAB";
ALL: "ALL";
}>;
description: ZodDefault<ZodOptional<ZodString>>;
rule_configurations: ZodOptional<ZodRecord<ZodString, ZodObject<{
field_values: ZodOptional<ZodRecord<ZodString, ZodUnknown>>;
state: ZodOptional<ZodNullable<ZodString>>;
}, "passthrough", ZodTypeAny, objectOutputType<{
field_values: ZodOptional<ZodRecord<ZodString, ZodUnknown>>;
state: ZodOptional<ZodNullable<ZodString>>;
}, ZodTypeAny, "passthrough">, objectInputType<{
field_values: ZodOptional<ZodRecord<ZodString, ZodUnknown>>;
state: ZodOptional<ZodNullable<ZodString>>;
}, ZodTypeAny, "passthrough">>>>;
}, ZodTypeAny, "passthrough">, objectInputType<{
name: ZodString;
source_type: ZodNativeEnum<{
LOCAL: "LOCAL";
HUGGING_FACE: "HUGGING_FACE";
S3: "S3";
GCS: "GCS";
AZURE: "AZURE";
ARTIFACTORY: "ARTIFACTORY";
GITLAB: "GITLAB";
ALL: "ALL";
}>;
description: ZodDefault<ZodOptional<ZodString>>;
rule_configurations: ZodOptional<ZodRecord<ZodString, ZodObject<{
field_values: ZodOptional<ZodRecord<ZodString, ZodUnknown>>;
state: ZodOptional<ZodNullable<ZodString>>;
}, "passthrough", ZodTypeAny, objectOutputType<{
field_values: ZodOptional<ZodRecord<ZodString, ZodUnknown>>;
state: ZodOptional<ZodNullable<ZodString>>;
}, ZodTypeAny, "passthrough">, objectInputType<{
field_values: ZodOptional<ZodRecord<ZodString, ZodUnknown>>;
state: ZodOptional<ZodNullable<ZodString>>;
}, ZodTypeAny, "passthrough">>>>;
}, ZodTypeAny, "passthrough">>;
Defined in: src/models/model-security.ts:584
Zod schema for creating a model security group.