你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

世纪互联运营的 Microsoft Azure 服务可用性

由世纪互联运营的 Azure 是位于中国的物理上独立的云服务实例。 它由北京世纪互联宽带数据中心有限公司的全资子公司 - 上海蓝云网络科技有限公司(“世纪互联”)独立运营和交易。

服务可用性

Microsoft 在中国区 Azure 的目标是与 Azure 中的服务可用性保持一致。 有关中国区 Azure 的服务可用性,请参阅在中国区域可用的产品

AI + 机器学习

本部分概述了使用 Azure 机器人服务、Azure 机器学习和 Azure AI 服务时的差异和注意事项。

产品 不受支持、受限和/或已修改的功能 备注
Azure 机器学习 请参阅中国区 Azure 云区域中的 Azure 机器学习功能可用性
Azure AI 语音 请参阅 Azure AI 服务:中国区 Azure - 语音服务
Azure AI 语音 有关功能差异和限制(包括 API 终结点),请参阅主权云中的翻译器

Microsoft Entra 外部 ID

本部分概述使用 Microsoft Entra 外部 ID B2B 协作时的差异和注意事项。

产品 不受支持、受限和/或已修改的功能 说明
Microsoft Entra 外部 ID 有关面向中国客户的 Microsoft Azure 中的 Microsoft Entra 外部 ID B2B 功能差异,请参阅国家云中的 Microsoft Entra B2BMicrosoft 云设置(预览版)

Azure Active Directory B2C

本部分概述了使用 Azure Active Directory B2C 服务时的差异和注意事项。

产品 不受支持、受限和/或已修改的功能
Azure Active Directory B2C 有关面向中国客户的 Microsoft Azure 中的 Azure Active Directory B2C 功能差异,请参阅 Azure Active Directory B2C 开发人员说明

媒体

本部分概述了使用媒体服务时的差异和注意事项。

产品 不受支持、受限和/或已修改的功能 备注
Azure 媒体服务 有关面向中国客户的 Microsoft Azure 中的 Azure 媒体服务 v3 功能差异,请参阅 Azure 媒体服务 v3 云和区域可用性

Microsoft 身份验证库 (MSAL)

本部分概述了使用 Microsoft 身份验证库 (MSAL) 服务时的差异和注意事项。

产品 不受支持、受限和/或已修改的功能 说明
Microsoft 身份验证库 (MSAL) 有关功能差异和限制,请参阅国家云和 MSAL

网络

本部分概述了使用网络服务时的差异和注意事项。

产品 不受支持、受限和/或已修改的功能 备注
专用链接
  • 有关专用链接服务的可用性,请参阅 Azure 专用链接可用性
  • 有关专用 DNS 区域名称,请参阅 Azure 专用终结点 DNS 配置
  • 安全性

    本部分概述了使用安全服务时的差异和注意事项。

    产品 不受支持、受限和/或已修改的功能 备注
    Microsoft Sentinel 有关 Microsoft Sentinel 可用性,请参阅 Microsoft Sentinel 可用性

    已启用 Azure Arc 的 Kubernetes

    本部分概述了使用已启用 Azure Arc 的 Kubernetes 时的差异和注意事项。

    产品 不受支持、受限和/或已修改的功能 说明
    API 管理 中国区 Azure 不支持已启用 Arc 的 Kubernetes 上的 API 管理
    应用服务 中国区 Azure 不支持已启用 Arc 的 Kubernetes 上的 应用服务
    Azure Monitor 容器见解 中国区 Azure 不支持已启用 Arc 的 Kubernetes 上的 Azure Monitor 容器见解
    容器应用 中国区 Azure 不支持已启用 Arc 的 Kubernetes 上的 容器应用
    Dapr 中国区 Azure 不支持已启用 Arc 的 Kubernetes 的 Dapr 扩展
    事件网格 中国区 Azure 不支持已启用 Arc 的 Kubernetes 上的 事件网格
    机器学习 中国区 Azure 不支持已启用 Arc 的 Kubernetes 上的 Azure 机器学习
    Microsoft Defender for Cloud 中国区 Azure 不支持已启用 Arc 的 Kubernetes 上的 Microsoft Defender for Cloud
    Open Service Mesh 中国区 Azure 不支持已启用 Arc 的 Kubernetes 上的 开放服务网格

    Azure Container Apps

    本部分概述了使用 Azure 容器应用服务时的差异和注意事项。

    产品 不受支持、受限和/或已修改的功能 备注
    Azure Monitor 中国区 Azure 不支持 Azure Monitor 集成

    由世纪互联运营的 Azure 中国商业市场

    要了解与 Azure 全球商业市场相比,由世纪互联运营的 Azure 中国商业市场中提供哪些商业市场功能,请参阅由世纪互联运营的 Azure 中国商业市场的功能可用性

    Microsoft 成本管理 + 计费

    这部分概述了使用 Microsoft 成本管理 + 计费功能和 API 时不同的情况和注意事项。

    适用于中国地区的 Azure 零售费率 API

    Azure 中国零售价格 API 一文仅适用于中国区 Azure,在全球 Azure 不可用。

    标记 - 中国

    加价 - 中国一文仅适用于中国世纪互联运营的 Azure,而不适用于 Azure 全球云。

    中国区 Azure 帐户登录

    下表列出了在 Azure 全球与中国区 Azure 中连接到 Azure 帐户的方法。

    登录说明 Azure 全球 中国区 Azure
    使用经过身份验证的帐户登录到 Azure 以使用 Azure 资源管理器 Connect-AzureAccount Connect-AzureAccount -Environment AzureChinaCloud
    使用 Microsoft Graph PowerShell 登录到 Microsoft Entra ID Connect-MgGraph Connect-MgGraph -AzureEnvironment China
    登录到 Azure 经典门户帐户 Add-AzureAccount Add-AzureAccount -Environment AzureChinaCloud

    中国区 Azure REST 终结点

    下表列出了 Azure 全球与中国区 Azure 中用于访问和管理一些较常见服务的 API 终结点。

    如需中国区 Azure 的 IP 范围,请下载中国 Azure 数据中心 IP 范围

    服务类别 Azure 全球 中国区 Azure
    Azure(通用) *.windows.net *.chinacloudapi.cn
    Microsoft Entra ID https://login.microsoftonline.com https://login.chinacloudapi.cn
    Azure 应用配置 *.azconfig.io *.azconfig.azure.cn
    Azure 计算 *.cloudapp.net *.chinacloudapp.cn
    Azure 数据 https://{location}.experiments.azureml.net https://{location}.experiments.ml.azure.cn
    Azure 存储 *.blob.core.windows.net *.queue.core.windows.net *.table.core.windows.net *.dfs.core.windows.net *.blob.core.chinacloudapi.cn *.queue.core.chinacloudapi.cn *.table.core.chinacloudapi.cn *.dfs.core.chinacloudapi.cn
    Azure 管理 https://management.azure.com/ https://management.chinacloudapi.cn/
    Azure 服务管理 https://management.core.windows.net https://management.core.chinacloudapi.cn
    Azure 资源管理器 https://management.azure.com https://management.chinacloudapi.cn
    Azure 门户 https://portal.azure.com https://portal.azure.cn
    SQL 数据库 *.database.windows.net *.database.chinacloudapi.cn
    SQL Azure 数据库管理 API https://management.database.windows.net https://management.database.chinacloudapi.cn
    Azure 服务总线 *.servicebus.windows.net *.servicebus.chinacloudapi.cn
    Azure SignalR 服务 *.service.signalr.net *.signalr.azure.cn
    Azure 时序见解 *.timeseries.azure.com *.insights.timeseries.azure.cn *.timeseries.azure.cn *.insights.timeseries.azure.cn
    Azure 访问控制服务 *.accesscontrol.windows.net *.accesscontrol.chinacloudapi.cn
    Azure HDInsight *.azurehdinsight.net *.azurehdinsight.cn
    SQL 数据库导入/导出服务终结点  1. 中国东部 https://sh1prod-dacsvc.chinacloudapp.cn/dacwebservice.svc
    2. 中国北部 https://bj1prod-dacsvc.chinacloudapp.cn/dacwebservice.svc
    MySQL PaaS *.mysqldb.chinacloudapi.cn
    Azure Service Fabric 群集 *.cloudapp.azure.com *.chinaeast.chinacloudapp.cn
    Azure Spring Cloud *.azuremicroservices.io *.microservices.azure.cn
    Microsoft Entra ID *.onmicrosoft.com *.partner.onmschina.cn
    Microsoft Entra 登录 https://login.microsoftonline.com https://login.partner.microsoftonline.cn
    Microsoft Graph https://graph.microsoft.com https://microsoftgraph.chinacloudapi.cn
    Azure AI 服务 https://api.projectoxford.ai/face/v1.0 https://api.cognitive.azure.cn/face/v1.0
    Azure 机器人服务 <*.botframework.com> <*.botframework.azure.cn>
    Azure Key Vault API *.vault.azure.net *.vault.azure.cn
    Azure 容器应用默认域 *.azurecontainerapps.io 没有为外部环境提供默认域。 必须提供自定义域
    Azure 容器应用事件流终结点 \<region\>.azurecontainerapps.dev `<region>.chinanorth3.azurecontainerapps-dev.cn``

    Application Insights

    注意

    Azure 应用服务的基于无代码代理/扩展的监视目前不受支持。 Snapshot Debugger 目前也不可用。

    修改 SDK 终结点

    要从此区域的 Application Insights 发送数据,需要修改 Application Insights SDK 使用的默认终结点地址。 每个 SDK 都需要进行稍有不同的修改。

    使用 applicationinsights.config 的 .NET

    <ApplicationInsights>
      ...
      <TelemetryModules>
        <Add Type="Microsoft.ApplicationInsights.Extensibility.PerfCounterCollector.QuickPulse.QuickPulseTelemetryModule, Microsoft.AI.PerfCounterCollector">
          <QuickPulseServiceEndpoint>https://quickpulse.applicationinsights.azure.cn/QuickPulseService.svc</QuickPulseServiceEndpoint>
        </Add>
      </TelemetryModules>
        ...
      <TelemetryChannel>
         <EndpointAddress>https://dc.applicationinsights.azure.cn/v2/track</EndpointAddress>
      </TelemetryChannel>
      ...
      <ApplicationIdProvider Type="Microsoft.ApplicationInsights.Extensibility.Implementation.ApplicationId.ApplicationInsightsApplicationIdProvider, Microsoft.ApplicationInsights">
        <ProfileQueryEndpoint>https://dc.applicationinsights.azure.cn/api/profiles/{0}/appId</ProfileQueryEndpoint>
      </ApplicationIdProvider>
      ...
    </ApplicationInsights>
    

    .NET Core

    按如下所示修改项目中的 appsettings.json 文件以调整主终结点:

    "ApplicationInsights": {
        "InstrumentationKey": "instrumentationkey",
        "TelemetryChannel": {
          "EndpointAddress": "https://dc.applicationinsights.azure.cn/v2/track"
        }
      }
    

    实时指标和配置文件查询终结点的值只能通过代码设置。 若要通过代码替代所有终结点值的默认值,请在 Startup.cs 文件的 ConfigureServices 方法中进行以下更改:

    using Microsoft.ApplicationInsights.Extensibility.Implementation.ApplicationId;
    using Microsoft.ApplicationInsights.Extensibility.PerfCounterCollector.QuickPulse; //place at top of Startup.cs file
    
       services.ConfigureTelemetryModule<QuickPulseTelemetryModule>((module, o) => module.QuickPulseServiceEndpoint="https://quickpulse.applicationinsights.azure.cn/QuickPulseService.svc");
    
       services.AddSingleton(new ApplicationInsightsApplicationIdProvider() { ProfileQueryEndpoint = "https://dc.applicationinsights.azure.cn/api/profiles/{0}/appId" }); 
    
       services.AddSingleton<ITelemetryChannel>(new ServerTelemetryChannel() { EndpointAddress = "https://dc.applicationinsights.azure.cn/v2/track" });
    
        //place in ConfigureServices method. If present, place this prior to   services.AddApplicationInsightsTelemetry("instrumentation key");
    

    Java

    修改 applicationinsights.xml 文件以更改默认终结点地址。

    <?xml version="1.0" encoding="utf-8"?>
    <ApplicationInsights xmlns="http://schemas.microsoft.com/ApplicationInsights/2013/Settings">
      <InstrumentationKey>ffffeeee-dddd-cccc-bbbb-aaaa99998888</InstrumentationKey>
      <TelemetryModules>
        <Add type="com.microsoft.applicationinsights.web.extensibility.modules.WebRequestTrackingTelemetryModule"/>
        <Add type="com.microsoft.applicationinsights.web.extensibility.modules.WebSessionTrackingTelemetryModule"/>
        <Add type="com.microsoft.applicationinsights.web.extensibility.modules.WebUserTrackingTelemetryModule"/>
      </TelemetryModules>
      <TelemetryInitializers>
        <Add type="com.microsoft.applicationinsights.web.extensibility.initializers.WebOperationIdTelemetryInitializer"/>
        <Add type="com.microsoft.applicationinsights.web.extensibility.initializers.WebOperationNameTelemetryInitializer"/>
        <Add type="com.microsoft.applicationinsights.web.extensibility.initializers.WebSessionTelemetryInitializer"/>
        <Add type="com.microsoft.applicationinsights.web.extensibility.initializers.WebUserTelemetryInitializer"/>
        <Add type="com.microsoft.applicationinsights.web.extensibility.initializers.WebUserAgentTelemetryInitializer"/>
      </TelemetryInitializers>
      <!--Add the following Channel value to modify the Endpoint address-->
      <Channel type="com.microsoft.applicationinsights.channel.concrete.inprocess.InProcessTelemetryChannel">
      <EndpointAddress>https://dc.applicationinsights.azure.cn/v2/track</EndpointAddress>
      </Channel>
    </ApplicationInsights>
    

    Spring Boot

    修改 application.properties 文件并添加:

    azure.application-insights.channel.in-process.endpoint-address= https://dc.applicationinsights.azure.cn/v2/track
    

    Node.js

    var appInsights = require("applicationinsights");
    appInsights.setup('INSTRUMENTATION_KEY');
    appInsights.defaultClient.config.endpointUrl = "https://dc.applicationinsights.azure.cn/v2/track"; // ingestion
    appInsights.defaultClient.config.profileQueryEndpoint = "https://dc.applicationinsights.azure.cn/api/profiles/{0}/appId"; // appid/profile lookup
    appInsights.defaultClient.config.quickPulseHost = "https://quickpulse.applicationinsights.azure.cn/QuickPulseService.svc"; //live metrics
    appInsights.Configuration.start();
    

    也可以通过环境变量配置终结点:

    Instrumentation Key: “APPINSIGHTS_INSTRUMENTATIONKEY”
    Profile Endpoint: “https://dc.applicationinsights.azure.cn/api/profiles/{0}/appId”
    Live Metrics Endpoint: "https://quickpulse.applicationinsights.azure.cn/QuickPulseService.svc"
    

    JavaScript

    <script type="text/javascript">
    var sdkInstance="appInsightsSDK";window[sdkInstance]="appInsights";var aiName=window[sdkInstance],aisdk=window[aiName]||function(e){function n(e){i[e]=function(){var n=arguments;i.queue.push(function(){i[e].apply(i,n)})}}var i={config:e};i.initialize=!0;var a=document,t=window;setTimeout(function(){var n=a.createElement("script");n.src=e.url||"https://az416426.vo.msecnd.net/next/ai.2.min.js",a.getElementsByTagName("script")[0].parentNode.appendChild(n)});try{i.cookie=a.cookie}catch(e){}i.queue=[],i.version=2;for(var r=["Event","PageView","Exception","Trace","DependencyData","Metric","PageViewPerformance"];r.length;)n("track"+r.pop());n("startTrackPage"),n("stopTrackPage");var o="Track"+r[0];if(n("start"+o),n("stop"+o),!(!0===e.disableExceptionTracking||e.extensionConfig&&e.extensionConfig.ApplicationInsightsAnalytics&&!0===e.extensionConfig.ApplicationInsightsAnalytics.disableExceptionTracking)){n("_"+(r="onerror"));var s=t[r];t[r]=function(e,n,a,t,o){var c=s&&s(e,n,a,t,o);return!0!==c&&i["_"+r]({message:e,url:n,lineNumber:a,columnNumber:t,error:o}),c},e.autoExceptionInstrumented=!0}return i}
    (
    	{
    	instrumentationKey:"INSTRUMENTATION_KEY",
    	endpointUrl: "https://dc.applicationinsights.azure.cn/v2/track"
      }
    );
    window[aiName]=aisdk,aisdk.queue&&0===aisdk.queue.length&&aisdk.trackPageView({});
    </script>
    
    

    远程管理

    Azure 门户

    可以登录到 Azure 门户,以在全球任何位置管理由世纪互联运营的 Azure 中的工作负载。

    使用管理员角色

    为每个 Azure 帐户创建一个帐户管理员角色,通常,该角色是注册或购买 Azure 订阅的人员。 该角色有权使用帐户中心执行管理任务。

    若要登录,帐户管理员可以使用购买订阅时创建的组织 ID。

    创建用于管理服务部署的服务管理员

    为每个 Azure 帐户创建一个服务管理员角色,该角色有权在 Azure 门户中管理服务。 在新订阅中,帐户管理员也是服务管理员。

    创建共同管理员

    帐户管理员可为每个订阅最多创建 199 个共同管理员角色。 此角色具有与服务管理员一样的访问特权,但无法更改订阅与 Azure 目录之间的关联。