property
primaryEndpoint EndpointReference getGets the primary endpoint for the Redis server.
API references are intentionally omitted from this search. To find API references, please search these dedicated API pages instead:
interface RedisResource extends IComputeResource, IExpressionValue, IManifestExpressionProvider, IResource, IResourceWithArgs, IResourceWithConnectionString, IResourceWithEndpoints, IResourceWithEnvironment, IResourceWithProbes, IResourceWithWaitSupport, IValueProvider, IValueWithReferences { readonly connectionStringExpression: ReferenceExpression; readonly host: EndpointReferenceExpression; passwordParameter: ParameterResource; readonly port: EndpointReferenceExpression; readonly primaryEndpoint: EndpointReference; readonly tlsEnabled: boolean; readonly uriExpression: ReferenceExpression; withDataBindMount( source: string, isReadOnly?: boolean): RedisResource; withDataVolume( name?: string, isReadOnly?: boolean): RedisResource; withHostPort(port: number): RedisResource; withModule(path: string): RedisResource; withPassword(password: ParameterResource): RedisResource; withPersistence( interval?: timespan, keysChangedThreshold?: number): RedisResource; withRedisCommander(configureContainer?: (obj: RedisCommanderResource) => Promise<void>, containerName?: string): RedisResource; withRedisInsight(configureContainer?: (obj: RedisInsightResource) => Promise<void>, containerName?: string): RedisResource; withRepl(): RedisResource;}connectionStringExpression ReferenceExpression gethostEndpointReferenceExpression getpasswordParameter ParameterResource get · setportEndpointReferenceExpression getprimaryEndpoint EndpointReference gettlsEnabled booleangeturiExpression ReferenceExpression getwithDataBindMount( source: string, isReadOnly?: boolean): RedisResourceParameters
sourcestringisReadOnly booleanoptional= FalseReturns
RedisResource withDataVolume( name?: string, isReadOnly?: boolean): RedisResourceParameters
namestringoptionalisReadOnly booleanoptional= FalseReturns
RedisResource withHostPort(port: number): RedisResourceParameters
portnumberReturns
RedisResource withModule(path: string): RedisResourceParameters
pathstringReturns
RedisResource withPassword(password: ParameterResource): RedisResourceParameters
passwordParameterResource Returns
RedisResource withPersistence( interval?: timespan, keysChangedThreshold?: number): RedisResourceParameters
intervaltimespanoptionalkeysChangedThreshold numberoptional= 1Returns
RedisResource withRedisCommander(configureContainer?: (obj: RedisCommanderResource) => Promise<void>, containerName?: string): RedisResourceParameters
configureContainer (obj: RedisCommanderResource) => Promise<void> optionalcontainerName stringoptionalReturns
RedisResource withRedisInsight(configureContainer?: (obj: RedisInsightResource) => Promise<void>, containerName?: string): RedisResourceParameters
configureContainer (obj: RedisInsightResource) => Promise<void> optionalcontainerName stringoptionalReturns
RedisResource withRepl(): RedisResourceReturns
RedisResource