property
primaryEndpoint EndpointReference getGets the primary endpoint for the MySQL server.
API references are intentionally omitted from this search. To find API references, please search these dedicated API pages instead:
interface MySqlServerResource extends IComputeResource, IExpressionValue, IManifestExpressionProvider, IResource, IResourceWithArgs, IResourceWithConnectionString, IResourceWithEndpoints, IResourceWithEnvironment, IResourceWithProbes, IResourceWithWaitSupport, IValueProvider, IValueWithReferences { readonly connectionStringExpression: ReferenceExpression; readonly databases: Dict<string,string>; readonly host: EndpointReferenceExpression; readonly jdbcConnectionString: ReferenceExpression; passwordParameter: ParameterResource; readonly port: EndpointReferenceExpression; readonly primaryEndpoint: EndpointReference; readonly resourceTypeDisplayName: string; readonly uriExpression: ReferenceExpression; addDatabase( name: string, databaseName?: string): MySqlDatabaseResource; withDataBindMount( source: string, isReadOnly?: boolean): MySqlServerResource; withDataVolume( name?: string, isReadOnly?: boolean): MySqlServerResource; withInitFiles(source: string): MySqlServerResource; withPassword(password: ParameterResource): MySqlServerResource; withPhpMyAdmin(configureContainer?: (obj: PhpMyAdminContainerResource) => Promise<void>, containerName?: string): MySqlServerResource; withRepl(): MySqlServerResource;}connectionStringExpression ReferenceExpression getdatabasesDict<string,string> gethostEndpointReferenceExpression getjdbcConnectionString ReferenceExpression getpasswordParameter ParameterResource get · setportEndpointReferenceExpression getprimaryEndpoint EndpointReference getresourceTypeDisplayName stringgeturiExpression ReferenceExpression getaddDatabase( name: string, databaseName?: string): MySqlDatabaseResourceParameters
namestringThe name of the resource. This name will be used as the connection string name when referenced in a dependency.databaseName stringoptionalThe name of the database. If not provided, this defaults to the same value as `name`.Returns
MySqlDatabaseResource withDataBindMount( source: string, isReadOnly?: boolean): MySqlServerResourceParameters
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
MySqlServerResource withDataVolume( name?: string, isReadOnly?: boolean): MySqlServerResourceParameters
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
MySqlServerResource withInitFiles(source: string): MySqlServerResourceParameters
sourcestringThe source file or directory on the host to copy into the container.Returns
MySqlServerResource withPassword(password: ParameterResource): MySqlServerResourceParameters
passwordParameterResource The parameter used to provide the password for the MySQL resource.Returns
MySqlServerResource withPhpMyAdmin(configureContainer?: (obj: PhpMyAdminContainerResource) => Promise<void>, containerName?: string): MySqlServerResourceParameters
configureContainer (obj: PhpMyAdminContainerResource) => Promise<void> optionalCallback to configure PhpMyAdmin container resource.containerName stringoptionalThe name of the container (Optional).Returns
MySqlServerResource withRepl(): MySqlServerResourceReturns
MySqlServerResource