FoundryDeploymentResource
Handle
Represents a Microsoft Foundry Deployment.
type FoundryDeploymentResource interface { ExpressionValue Resource ResourceWithConnectionString ResourceWithParent}11 members
Properties
property
ConnectionStringExpression *ReferenceExpression getGets the connection string expression for the Microsoft Foundry resource with model/deployment information.
ConnectionStringExpression() *ReferenceExpressionproperty
DeploymentName stringget · setGets or sets the name of the deployment.
DeploymentName() (string, error)SetDeploymentName(value string) FoundryDeploymentResourceproperty
Formatstringget · setGets or sets the format of deployment model.
Format() (string, error)SetFormat(value string) FoundryDeploymentResourceproperty
LocalModelId *stringget · setGets or sets the model identifier used by Foundry Local.
LocalModelId() (*string, error)SetLocalModelId(value *string) FoundryDeploymentResourceproperty
ModelName stringget · setGets or sets the name of the model.
ModelName() (string, error)SetModelName(value string) FoundryDeploymentResourceproperty
ModelVersion stringget · setGets or sets the version of the model.
ModelVersion() (string, error)SetModelVersion(value string) FoundryDeploymentResourceproperty
ParentFoundryResource get · setGets the parent Microsoft Foundry resource.
Parent() FoundryResourceSetParent(value FoundryResource) FoundryDeploymentResourceproperty
ResourceTypeDisplayName stringgetGets the ResourceTypeDisplayName property
ResourceTypeDisplayName() (string, error)property
SkuCapacity float64get · setGets or sets the capacity of the SKU, in thousands of tokens per minute (TPM).
SkuCapacity() (float64, error)SetSkuCapacity(value float64) FoundryDeploymentResourceproperty
SkuName stringget · setGets or sets the name of the SKU.
SkuName() (string, error)SetSkuName(value string) FoundryDeploymentResourceMethods
Allows setting the properties of a Microsoft Foundry Deployment resource.
WithProperties(configure func(obj FoundryDeploymentResource)) FoundryDeploymentResourceParameters
configurefunc(obj FoundryDeploymentResource) callbackA method that can be used for customizing the FoundryDeploymentResource .Returns
FoundryDeploymentResource The resource builder.
Returns a handle; failures surface later via Err().