property
primaryEndpoint EndpointReference getGets the primary endpoint for the DbGate.
API references are intentionally omitted from this search. To find API references, please search these dedicated API pages instead:
interface DbGateContainerResource extends IComputeResource, IResource, IResourceWithArgs, IResourceWithEndpoints, IResourceWithEnvironment, IResourceWithProbes, IResourceWithWaitSupport { readonly primaryEndpoint: EndpointReference; withDataBindMount( source: string, isReadOnly?: boolean): DbGateContainerResource; withDataVolume( name?: string, isReadOnly?: boolean): DbGateContainerResource; withHostPort(port: number): DbGateContainerResource;}primaryEndpoint EndpointReference getwithDataBindMount( source: string, isReadOnly?: boolean): DbGateContainerResourceParameters
sourcestringThe source directory on the host to mount into the container.isReadOnly booleanoptional= FalseA flag that indicates if this is a read-only mount.Returns
DbGateContainerResource withDataVolume( name?: string, isReadOnly?: boolean): DbGateContainerResourceParameters
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.Returns
DbGateContainerResource withHostPort(port: number): DbGateContainerResourceParameters
portnumberThe port to bind on the host. If `null` is used random port will be assigned.Returns
DbGateContainerResource