Пример #1
0
        public SqlServerBasicStack()
        {
            var rg = new ResourceGroupBuilder("rg1")
                     .Name("rg1")
                     .Location("westeurope")
                     .Build();

            var builder = new SqlServerBuilder("sql1");

            builder
            .Location("westeurope")
            .ResourceGroup(rg.Name)
            .Name("sql1")
            .AdministratorLogin("stize")
            .AdministratorPassword("pa$5word")
            .IdentityType(IdentityType.SystemAssigned)
            .PublicNetworkAccess(ServerPublicNetworkAccess.Enabled)
            .TLSVersion_1_0();
            builder.Build();
        }