首页 \ 问答 \ Azure VIP交换停机时间(Azure VIP Swap downtime)

Azure VIP交换停机时间(Azure VIP Swap downtime)

我一直在阅读有关Azure VIP SWAP是否会出现停机的混合文章。

有人可以确认在我们为特定服务执行VIP交换时是否会出现停机时间? 如果有任何停机时间,最大停机时间是多少?


i've been reading a mix articles on whether the there will be any downtime on Azure VIP SWAP.

Could someone please confirm whether there will be a downtime when we perform a VIP swap for given service? If there is any downtime what's the max down time?


原文:https://stackoverflow.com/questions/17747276
更新时间:2021-06-28 07:06

最满意答案

btn-outline-primary不是按照你使用它的方式来设计的。 所以,说它“正常工作”意味着你误解了它应该如何工作的原因,因为根据你的代码产生的当前行为,它不能 “正常”工作。

为了让btn-outline-primary类以它应该被使用和使用的方式工作,你需要添加btn类,如下面的代码片段所示。 换句话说, btnbtn-outline-primary正常工作所必需的 ,即使你以这种方式获得的效果可能不是你想要的效果。

这是代码片段(点击下面的“运行代码片段”并展开到整个页面):

<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/css/bootstrap.min.css" integrity="sha384-Gn5384xqQ1aoWXA+058RXPxPg6fy4IWvTNh0E263XmFcJlSAwiGgFAW/dAiS6JXm" crossorigin="anonymous">

<script src="https://code.jquery.com/jquery-3.2.1.slim.min.js" integrity="sha384-KJ3o2DKtIkvYIK3UENzmM7KCkRr/rE9/Qpg6aAZGJwFDMVNA/GpGFF93hXpG5KkN" crossorigin="anonymous"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.12.9/umd/popper.min.js" integrity="sha384-ApNbgh9B+Y1QKtv3Rn7W3mgPxhU9K/ScQsAP7hUibX39j7fakFPskvXusvfa0b4Q" crossorigin="anonymous"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/js/bootstrap.min.js" integrity="sha384-JZR6Spejh4U02d8jOt6vLEHfe/JQGiRRSQQxSfFWpi1MquVdAyjUar5+76PVCmYl" crossorigin="anonymous"></script>

<nav class="navbar navbar-expand-md navbar-dark bg-dark fixed-top">
    <div class="container">  <!-- ADDED DIV TO MANIPULATE POSITIONS OF "navbar-brand" and "navbar-nav", the ul -->
        <span class="navbar-brand mb-0 h1">JavaScript Is Cool</span>
        <button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarsExampleDefault" aria-controls="navbarsExampleDefault" aria-expanded="false" aria-label="Toggle navigation">
            <span class="navbar-toggler-icon"></span>
        </button>

        <div class="collapse navbar-collapse" id="navbarsExampleDefault">
            <ul class="navbar-nav mr-auto">
                <li class="nav-item">  <!-- removed .active -->
                    <a class="nav-link btn btn-outline-primary" href="/">Home <span class="sr-only">(current)</span></a>
                </li>
                <li class="nav-item">
                    <a class="nav-link btn btn-outline-primary" href="/bio">Bio</a>
                </li>
                <li class="nav-item">
                    <a class="nav-link btn btn-outline-primary" href="/history">Resume´</a>
                </li>
                <li class="nav-item dropdown">
                    <a class="nav-link btn dropdown-toggle btn-outline-primary" href="" id="dropdown01" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">Dropdown</a>
                    <div class="dropdown-menu" aria-labelledby="dropdown01">
                        <a class="dropdown-item" href="#">Coming Soon</a>
                        <a class="dropdown-item" href="#">Coming Soon</a>
                        <a class="dropdown-item" href="#">Coming Soon</a>
                    </div>
                </li>
            </ul>
            <!-- REMOVED THE SEARCH FORM -->
            <!-- <form class="form-inline my-2 my-lg-0">
<input class="form-control mr-sm-2" type="text" placeholder="Search" aria-label="Search">
<button class="btn btn-outline-success my-2 my-sm-0" type="submit">Search</button>
</form> -->
        </div>
    </div> <!-- END ADDED DIV -->
</nav>


The btn-outline-primary class is not designed to be used the way you were using it. So, saying that it "works fine" means you misunderstood how it was supposed to work in the first place because based on the current behavior resulting from your code, it does NOT work "fine".

To make the btn-outline-primary class work the way it's supposed to be used and work, you need to add the btn class additionally to that as shown in the code snippet below. In other words, btn is required for btn-outline-primary to work properly even though the effect you get that way might not be the effect you were going for.

Here's the code snippet (click "run code snippet" below and expand to full page):

<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/css/bootstrap.min.css" integrity="sha384-Gn5384xqQ1aoWXA+058RXPxPg6fy4IWvTNh0E263XmFcJlSAwiGgFAW/dAiS6JXm" crossorigin="anonymous">

<script src="https://code.jquery.com/jquery-3.2.1.slim.min.js" integrity="sha384-KJ3o2DKtIkvYIK3UENzmM7KCkRr/rE9/Qpg6aAZGJwFDMVNA/GpGFF93hXpG5KkN" crossorigin="anonymous"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.12.9/umd/popper.min.js" integrity="sha384-ApNbgh9B+Y1QKtv3Rn7W3mgPxhU9K/ScQsAP7hUibX39j7fakFPskvXusvfa0b4Q" crossorigin="anonymous"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/js/bootstrap.min.js" integrity="sha384-JZR6Spejh4U02d8jOt6vLEHfe/JQGiRRSQQxSfFWpi1MquVdAyjUar5+76PVCmYl" crossorigin="anonymous"></script>

<nav class="navbar navbar-expand-md navbar-dark bg-dark fixed-top">
    <div class="container">  <!-- ADDED DIV TO MANIPULATE POSITIONS OF "navbar-brand" and "navbar-nav", the ul -->
        <span class="navbar-brand mb-0 h1">JavaScript Is Cool</span>
        <button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarsExampleDefault" aria-controls="navbarsExampleDefault" aria-expanded="false" aria-label="Toggle navigation">
            <span class="navbar-toggler-icon"></span>
        </button>

        <div class="collapse navbar-collapse" id="navbarsExampleDefault">
            <ul class="navbar-nav mr-auto">
                <li class="nav-item">  <!-- removed .active -->
                    <a class="nav-link btn btn-outline-primary" href="/">Home <span class="sr-only">(current)</span></a>
                </li>
                <li class="nav-item">
                    <a class="nav-link btn btn-outline-primary" href="/bio">Bio</a>
                </li>
                <li class="nav-item">
                    <a class="nav-link btn btn-outline-primary" href="/history">Resume´</a>
                </li>
                <li class="nav-item dropdown">
                    <a class="nav-link btn dropdown-toggle btn-outline-primary" href="" id="dropdown01" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">Dropdown</a>
                    <div class="dropdown-menu" aria-labelledby="dropdown01">
                        <a class="dropdown-item" href="#">Coming Soon</a>
                        <a class="dropdown-item" href="#">Coming Soon</a>
                        <a class="dropdown-item" href="#">Coming Soon</a>
                    </div>
                </li>
            </ul>
            <!-- REMOVED THE SEARCH FORM -->
            <!-- <form class="form-inline my-2 my-lg-0">
<input class="form-control mr-sm-2" type="text" placeholder="Search" aria-label="Search">
<button class="btn btn-outline-success my-2 my-sm-0" type="submit">Search</button>
</form> -->
        </div>
    </div> <!-- END ADDED DIV -->
</nav>

相关问答

更多
  • 我注意到.btn类有一个由bootstrap设置的转换,所以在完全随机的尝试调试时,我尝试设置transition: none想到转换可能会干扰jQueryUI计算,一切正常。 您可能不希望一直禁用引导转换,但您可以做的是在突出显示效果之前添加一个类(设置transition: none; ),然后在.effect()之后删除该类完成。 代码如下所示: var $transition = null; $(".abth").click(function(e){ var btnid='#'.concat ...
  • 如果您想在md上更改顺序,您可以为该大小定义第一个正常顺序,然后为所有较小的大小定义order-n 。 所以你的代码应该是这样的。
  • 这是浏览器错误! (感叹号是因为我在这个工作2小时没有运气,然后偶然打开另一个浏览器。) 您的小提琴适用于OSX - > Safari和OSX - > Firefox,但在OSX中不起作用 - > Chrome。 (对不起,没试过Windows浏览器。) 可以通过调整Chrome窗口的大小来确定(这样它的移动电话宽度和卡堆叠在一起) - 然后旋转木马工作。 This is browser bug! (Exclamation mark is because I work on this for 2h with ...
  • btn-outline-primary类不是按照你使用它的方式来设计的。 所以,说它“正常工作”意味着你误解了它应该如何工作的原因,因为根据你的代码产生的当前行为,它不能 “正常”工作。 为了让btn-outline-primary类以它应该被使用和使用的方式工作,你需要添加btn类,如下面的代码片段所示。 换句话说, btn是btn-outline-primary正常工作所必需的 ,即使你以这种方式获得的效果可能不是你想要的效果。 这是代码片段(点击下面的“运行代码片段”并展开到整个页面):
  • 首先你的脚本文件不按顺序... jQuery应该在顶部...你已经使用了两次bootstrap-validator ..不需要...... 回答你的问题是你必须使用has-danger类来label .form-group.has-error.has-danger .form-control-label { color: red; } .form-group.has-error.has-danger .form-control{ border: 1px solid red; box-shadow ...
  • 我假设你想要他们与下拉按钮相同的heihgt。 您的按钮较小,因为其中没有文字。 如果你要添加一个空格(),它们将是正常引导按钮的大小。 然后你需要添加btn-sm类,使它们与下拉按钮的大小相同(或从下拉按钮中删除该类)。 I am assuming you want them to the the same heihgt as the drop down button. Your buttons are smaller because there is no text in them. If you we ...
  • 这是正确的行为。 一个人注意到,阅读文档 d3.brush()本身会完成创建一个二维笔刷的工作: # d3。 刷 () <> 创建一个新的二维画笔。 因此,在创建的画笔上没有方法brush.brushX()和brush.brushY() 。 方法d3.brushX()和d3.brushY()会改为创建一维刷子。 因此,您的代码将最终如下所示: var brush = d3.brush() .on("start", brushstart) .on("brush", brushmove) .on(" ...
  • 它们是新的间距实用程序类。 我认为他们非常直观...... p-*用于填充所有边。 m-*用于保证所有方面。 pl-*用于填充左侧。 mt-*是保证金最高的。 mr-auto用于保证金权限自动。 间距实用程序演示 还有显示实用程序 .. d-block , d-flex , d-inline-block , d-none等。 They are the new spacing utility classes. I think they're are very intuitive... p-* is for p ...
  • 你没有相等的高度列,你也应该在父类上应用flexbox并设置`flex-wrap:wrap; #headerBox { display:flex; webkit-display: flex; flex-wrap: wrap; webkit-flex-wrap: wrap; } #headerLHS,#headerRHS { display: flex; webkit-display: flex; -webkit-flex- ...
  • 反转容器的行方向 一种选择是将row中的所有内容浮动到右侧。 我们可以将它添加到包含元素(例如row )中以实现此目的: flex-direction:row-reverse; -webkit-flex-direction: row-reverse; /* Safari 6.1+ */ 编辑 :如果有人有兴趣(使用.row-reverse像row ),最后以Bootstrap-y的方式为mixin和class制作一个mixin和class: @mixin make-row-reverse($gutter: ...

相关文章

更多

最新问答

更多
  • 获取MVC 4使用的DisplayMode后缀(Get the DisplayMode Suffix being used by MVC 4)
  • 如何通过引用返回对象?(How is returning an object by reference possible?)
  • 矩阵如何存储在内存中?(How are matrices stored in memory?)
  • 每个请求的Java新会话?(Java New Session For Each Request?)
  • css:浮动div中重叠的标题h1(css: overlapping headlines h1 in floated divs)
  • 无论图像如何,Caffe预测同一类(Caffe predicts same class regardless of image)
  • xcode语法颜色编码解释?(xcode syntax color coding explained?)
  • 在Access 2010 Runtime中使用Office 2000校对工具(Use Office 2000 proofing tools in Access 2010 Runtime)
  • 从单独的Web主机将图像传输到服务器上(Getting images onto server from separate web host)
  • 从旧版本复制文件并保留它们(旧/新版本)(Copy a file from old revision and keep both of them (old / new revision))
  • 西安哪有PLC可控制编程的培训
  • 在Entity Framework中选择基类(Select base class in Entity Framework)
  • 在Android中出现错误“数据集和渲染器应该不为null,并且应该具有相同数量的系列”(Error “Dataset and renderer should be not null and should have the same number of series” in Android)
  • 电脑二级VF有什么用
  • Datamapper Ruby如何添加Hook方法(Datamapper Ruby How to add Hook Method)
  • 金华英语角.
  • 手机软件如何制作
  • 用于Android webview中图像保存的上下文菜单(Context Menu for Image Saving in an Android webview)
  • 注意:未定义的偏移量:PHP(Notice: Undefined offset: PHP)
  • 如何读R中的大数据集[复制](How to read large dataset in R [duplicate])
  • Unity 5 Heighmap与地形宽度/地形长度的分辨率关系?(Unity 5 Heighmap Resolution relationship to terrain width / terrain length?)
  • 如何通知PipedOutputStream线程写入最后一个字节的PipedInputStream线程?(How to notify PipedInputStream thread that PipedOutputStream thread has written last byte?)
  • python的访问器方法有哪些
  • DeviceNetworkInformation:哪个是哪个?(DeviceNetworkInformation: Which is which?)
  • 在Ruby中对组合进行排序(Sorting a combination in Ruby)
  • 网站开发的流程?
  • 使用Zend Framework 2中的JOIN sql检索数据(Retrieve data using JOIN sql in Zend Framework 2)
  • 条带格式类型格式模式编号无法正常工作(Stripes format type format pattern number not working properly)
  • 透明度错误IE11(Transparency bug IE11)
  • linux的基本操作命令。。。