/// <summary> /// Create a SqlServer resource with the given unique name, arguments, and options. /// </summary> /// /// <param name="name">The unique name of the resource</param> /// <param name="args">The arguments used to populate this resource's properties</param> /// <param name="options">A bag of options that control this resource's behavior</param> public SqlServer(string name, SqlServerArgs args, CustomResourceOptions?options = null) : base("azure:sql/sqlServer:SqlServer", name, args ?? new SqlServerArgs(), MakeResourceOptions(options, "")) { }
public SqlServer(string name, SqlServerArgs args = default, ResourceOptions opts = default)// : base("sql.SqlServer", name, props(args), opts) { this.Name = Output.Create(name + "abc123de"); Console.WriteLine($" └─ core.SqlServer {name,-11} created"); }