property
primaryEndpoint EndpointReference getGets the primary endpoint for the Garnet server.
API references are intentionally omitted from this search. To find API references, please search these dedicated API pages instead:
interface GarnetResource 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): GarnetResource; withDataVolume( name?: string, isReadOnly?: boolean): GarnetResource; withPersistence(interval?: timespan): GarnetResource;}connectionStringExpression ReferenceExpression gethostEndpointReferenceExpression getpasswordParameter ParameterResource getportEndpointReferenceExpression getprimaryEndpoint EndpointReference getresourceTypeDisplayName stringgeturiExpression ReferenceExpression getwithDataBindMount( source: string, isReadOnly?: boolean): GarnetResourceParameters
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 Garnet persistence. Defaults to `false`.Returns
GarnetResource withDataVolume( name?: string, isReadOnly?: boolean): GarnetResourceParameters
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 Garnet persistence. Defaults to `false`.Returns
GarnetResource withPersistence(interval?: timespan): GarnetResourceParameters
intervaltimespanoptionalThe interval between snapshot exports. Defaults to 60 seconds.Returns
GarnetResource