property
primaryEndpoint EndpointReference getGets the primary endpoint for the SQL Server.
API references are intentionally omitted from this search. To find API references, please search these dedicated API pages instead:
interface SqlServerServerResource 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; readonly userNameReference: ReferenceExpression; addDatabase( name: string, databaseName?: string): SqlServerDatabaseResource; withDataBindMount( source: string, isReadOnly?: boolean): SqlServerServerResource; withDataVolume( name?: string, isReadOnly?: boolean): SqlServerServerResource; withHostPort(port: number): SqlServerServerResource; withPassword(password: ParameterResource): SqlServerServerResource; withRepl(configure?: (obj: SqlServerReplOptions) => Promise<void>): SqlServerServerResource;}connectionStringExpression ReferenceExpression getdatabasesDict<string,string> gethostEndpointReferenceExpression getjdbcConnectionString ReferenceExpression getpasswordParameter ParameterResource get · setportEndpointReferenceExpression getprimaryEndpoint EndpointReference getresourceTypeDisplayName stringgeturiExpression ReferenceExpression getuserNameReference ReferenceExpression getaddDatabase( name: string, databaseName?: string): SqlServerDatabaseResourceParameters
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
SqlServerDatabaseResource withDataBindMount( source: string, isReadOnly?: boolean): SqlServerServerResourceParameters
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
SqlServerServerResource withDataVolume( name?: string, isReadOnly?: boolean): SqlServerServerResourceParameters
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
SqlServerServerResource withHostPort(port: number): SqlServerServerResourceParameters
portnumberThe port to bind on the host. If `null` is used random port will be assigned.Returns
SqlServerServerResource withPassword(password: ParameterResource): SqlServerServerResourceParameters
passwordParameterResource The parameter used to provide the password for the SqlServer resource.Returns
SqlServerServerResource withRepl(configure?: (obj: SqlServerReplOptions) => Promise<void>): SqlServerServerResourceParameters
configure(obj: SqlServerReplOptions) => Promise<void> optionalAn optional callback to configure the SQL Server REPL.Returns
SqlServerServerResource