property
primaryEndpoint EndpointReference getGets the primary HTTP endpoint.
API references are intentionally omitted from this search. To find API references, please search these dedicated API pages instead:
interface StableDiffusionCppResource extends IComputeResource, IExpressionValue, IManifestExpressionProvider, IResource, IResourceWithArgs, IResourceWithConnectionString, IResourceWithEndpoints, IResourceWithEnvironment, IResourceWithProbes, IResourceWithWaitSupport, IValueProvider, IValueWithReferences { readonly connectionStringExpression: ReferenceExpression; readonly imageVariant: StableDiffusionCppImageVariant; model: StableDiffusionCppModelResource; readonly primaryEndpoint: EndpointReference; readonly uriExpression: ReferenceExpression; addHuggingFaceModel( repository: string, fileName: string, revision?: string): StableDiffusionCppModelResource; addNamedHuggingFaceModel( name: string, repository: string, fileName: string, revision?: string): StableDiffusionCppModelResource; withGPUSupport(): StableDiffusionCppResource; withHuggingFaceToken(token: ParameterResource): StableDiffusionCppResource; withVaeTiling(): StableDiffusionCppResource;}connectionStringExpression ReferenceExpression getimageVariant StableDiffusionCppImageVariant getmodelStableDiffusionCppModelResource get · setprimaryEndpoint EndpointReference geturiExpression ReferenceExpression getaddHuggingFaceModel( repository: string, fileName: string, revision?: string): StableDiffusionCppModelResourceParameters
repositorystringThe Hugging Face repository identifier.fileName stringThe model file path within the repository.revisionstringoptional= mainThe repository revision. Defaults to `main`.Returns
StableDiffusionCppModelResource addNamedHuggingFaceModel( name: string, repository: string, fileName: string, revision?: string): StableDiffusionCppModelResourceParameters
namestringThe child model resource name.repositorystringThe Hugging Face repository identifier.fileName stringThe model file path within the repository.revisionstringoptional= mainThe repository revision. Defaults to `main`.Returns
StableDiffusionCppModelResource withGPUSupport(): StableDiffusionCppResourceReturns
StableDiffusionCppResource withHuggingFaceToken(token: ParameterResource): StableDiffusionCppResourceParameters
tokenParameterResource A secret parameter containing the Hugging Face token.Returns
StableDiffusionCppResource withVaeTiling(): StableDiffusionCppResourceReturns
StableDiffusionCppResource