简体   繁体   English

Azure媒体服务区域属性在哪里?

[英]Where is the Azure Media Service Region property?

The most simplest thing I thought... but no where to be found... When I'm creating throuh the portal a new media service I can choose a region for the new service, a storage account (with a different region (..question for another day)) and the rest for the properties. 我想过的最简单的事情...但找不到任何地方...通过门户创建新的媒体服务时,我可以为新服务选择一个区域,即存储帐户(具有不同的区域(。 .question换一天)),其余的用于属性。

However, when I connect with the SDK I got a CloudMediaContext. 但是,当我连接到SDK时,我得到了CloudMediaContext。 I can find any property for channels and live-streams/programs. 我可以找到频道和直播/节目的任何属性。 However, where can I find the region for this Media Service Account? 但是,在哪里可以找到此媒体服务帐户的区域? Is this coupled to another storage account (and why can I choose another region), or any other class or is this via another way coupled? 这是否与另一个存储帐户(为什么我要选择另一个区域)或任何其他类耦合,还是通过其他方式耦合?

So there are two things going on here: 所以这里有两件事:

  1. Control Plane : Control plane deals with the management of service. 控制平面 :控制平面处理服务的管理。 It includes things like creation of service, fetching service details, key regeneration etc. 它包括诸如创建服务,获取服务详细信息,密钥重新生成等操作。
  2. Data Plane : Data plane deals with the data in the service. 数据平面 :数据平面处理服务中的数据。 So for media services, data plane deals with managing assets, locators etc. 因此对于媒体服务,数据平面处理资产管理,定位器等。

Azure Media Service SDK deals with data plane only. Azure Media Service SDK仅处理数据平面。 You give it an account name and key and using that it gives you CloudMediaContext and you use that to manage data in your service. 您给它提供一个帐户名和密钥,并使用它给您CloudMediaContext并使用它来管理服务中的数据。

In order to view the properties of the service itself (like the region), you would need to use Azure Resource Manager (ARM) SDK which is a wrapper over Azure Resource Manager API and not the Media Service SDK. 为了查看服务本身的属性(如区域),您需要使用Azure Resource Manager (ARM) SDK ,它是Azure Resource Manager API而不是媒体服务SDK的包装。 This ARM SDK has support for Media Services. 该ARM SDK支持媒体服务。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM