property
primaryEndpoint EndpointReference getGets the primary endpoint for the Valkey server.
API references are intentionally omitted from this search. To find API references, please search these dedicated API pages instead:
interface ValkeyResource extends IComputeResource, IExpressionValue, IManifestExpressionProvider, IResource, IResourceWithArgs, IResourceWithConnectionString, IResourceWithEndpoints, IResourceWithEnvironment, IResourceWithProbes, IResourceWithWaitSupport, IValueProvider, IValueWithReferences { readonly connectionStringExpression: ReferenceExpression; readonly host: EndpointReferenceExpression; readonly passwordParameter: ParameterResource; readonly port: EndpointReferenceExpression; readonly primaryEndpoint: EndpointReference; readonly resourceTypeDisplayName: string; readonly uriExpression: ReferenceExpression; withDataBindMount( source: string, isReadOnly?: boolean): ValkeyResource; withDataVolume( name?: string, isReadOnly?: boolean): ValkeyResource; withPersistence( interval?: timespan, keysChangedThreshold?: number): ValkeyResource; withRepl(): ValkeyResource;}connectionStringExpression ReferenceExpression gethostEndpointReferenceExpression getpasswordParameter ParameterResource getportEndpointReferenceExpression getprimaryEndpoint EndpointReference getresourceTypeDisplayName stringgeturiExpression ReferenceExpression getwithDataBindMount( source: string, isReadOnly?: boolean): ValkeyResourceParameters
sourcestringThe source directory on the host to mount into the container.isReadOnly booleanoptional= FalseA flag that indicates if this is a read-only mount. Setting this to `true` will disable Valkey persistence. Defaults to `false`.Returns
ValkeyResource withDataVolume( name?: string, isReadOnly?: boolean): ValkeyResourceParameters
namestringoptionalThe name of the volume. Defaults to an auto-generated name based on the application and resource names.isReadOnly booleanoptional= FalseA flag that indicates if this is a read-only volume. Setting this to `true` will disable Valkey persistence. Defaults to `false`.Returns
ValkeyResource withPersistence( interval?: timespan, keysChangedThreshold?: number): ValkeyResourceParameters
intervaltimespanoptionalThe interval between snapshot exports. Defaults to 60 seconds.keysChangedThreshold numberoptional= 1The number of key change operations required to trigger a snapshot at the interval. Defaults to 1.Returns
ValkeyResource withRepl(): ValkeyResourceReturns
ValkeyResource