连接到 Microsoft Azure 订阅Connect to a Microsoft Azure Subscription

适用于: 是SQL Server 否Azure SQL 数据库 否Azure Synapse Analytics (SQL DW) 否并行数据仓库 APPLIES TO: YesSQL Server NoAzure SQL Database NoAzure Synapse Analytics (SQL DW) NoParallel Data Warehouse

使用 连接到 Microsoft 订阅 向你的 SQL Server 实例注册现有的 Azure Blob 容器。Use Connect to a Microsoft Subscription to register an existing Azure blob container with your instance of SQL Server. 对话框将在 Azure Blob 容器中创建共享访问签名和存储访问策略,然后创建 SQL Server 凭据。The dialog box will create a shared access signature and stored access policy on an Azure blob container and then create a SQL Server Credential. 使用 SQL Server Management Studio 的备份或还原任务时,将出现该对话框,且此操作涉及到 URL 设备。This dialog box appears when using the Back Up or Restore task from SQL Server Management Studio and the operation involves a URL device.

限制Limitation

连接到 Microsoft 订阅 只适用于通过服务管理(经典)部署模型创建的 Azure 存储帐户。Connect to a Microsoft Subscription will only work with an Azure Storage Account created through the Service Management (Classic) deployment model. 关于 Azure 部署模型的详细信息,请参阅 Azure Resource Manager vs. classic deployment(Azure 资源管理器与经典部署)。For more information regarding Azure deployment models, see Azure Resource Manager vs. classic deployment.

选项Options

登录 Sign in
使用合适的 Azure 帐户登录。Sign in with the appropriate Azure account.

选择要使用的订阅 Select a subscription to use
从下拉列表中选择所需的订阅。Select desired subscription from the drop-down list.

选择存储帐户Select Storage Account
从下拉列表中选择所需的存储帐户。Select desired storage account from the drop-down list.

选择 Blob 容器 Select Blob Container
从下拉列表中选择所需的 Blob 容器。Select desired blob container from the drop-down list.

共享访问策略过期 Shared Access Policy Expiration
共享访问策略会在指定日期后过期。The shared access policy will expire on the given date. 默认过期时间为创建一年后。The default expiration date is one year from creation. 根据需要修改。Modify as desired.

已生成共享访问签名 Shared Access Signature Generated
RTF 文本框中将显示已生成的共享访问签名。The rich text box will display the generated shared access signature.

创建凭据 Create Credential
按钮将生成存储访问策略和共享访问签名,然后创建一个 SQL Server 凭据。Button will generate a stored access policy and shared access signature and then create a SQL Server credential.