SqlProjectResource
Represents a SQL Server Database project resource.
type SqlProjectResource interface { Resource ResourceWithWaitSupport}Properties
DacDeployOptionsPath *stringgetDacDeployOptionsPath() (*string, error)DacpacPath *stringgetDacpacPath() (*string, error)SkipWhenDeployed boolgetSkipWhenDeployed() (bool, error)Methods
WithConnectionReference(target ResourceWithConnectionString) SqlProjectResourceParameters
targetResourceWithConnectionString An IResourceBuilder representing the target IResourceWithConnectionString to publish the SQL Server Database project to.Returns
SqlProjectResource An I that can be used to further customize the resource.
Returns a handle; failures surface later via Err().
WithDacDeployOptions(optionsPath string) SqlProjectResourceParameters
optionsPath stringPath to the publish profile xml fileReturns
SqlProjectResource An I that can be used to further customize the resource.
Returns a handle; failures surface later via Err().
WithDacpac(dacpacPath string) SqlProjectResourceParameters
dacpacPath stringPath to the .dacpac file.Returns
SqlProjectResource An I that can be used to further customize the resource.
Returns a handle; failures surface later via Err().
WithReference(target SqlServerDatabaseResource) SqlProjectResourceParameters
targetSqlServerDatabaseResource An IResourceBuilder representing the target SqlServerDatabaseResource to publish the SQL Server Database project to.Returns
SqlProjectResource An I that can be used to further customize the resource.
Returns a handle; failures surface later via Err().
WithSkipWhenDeployed() SqlProjectResourceReturns
SqlProjectResource An I that can be used to further customize the resource.
Returns a handle; failures surface later via Err().