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

ChannelsOperationsExtensions.CreateOrUpdate 方法

定义

创建或更新频道。

public static Microsoft.Azure.Management.EventGrid.Models.Channel CreateOrUpdate (this Microsoft.Azure.Management.EventGrid.IChannelsOperations operations, string resourceGroupName, string partnerNamespaceName, string channelName, Microsoft.Azure.Management.EventGrid.Models.Channel channelInfo);
static member CreateOrUpdate : Microsoft.Azure.Management.EventGrid.IChannelsOperations * string * string * string * Microsoft.Azure.Management.EventGrid.Models.Channel -> Microsoft.Azure.Management.EventGrid.Models.Channel
<Extension()>
Public Function CreateOrUpdate (operations As IChannelsOperations, resourceGroupName As String, partnerNamespaceName As String, channelName As String, channelInfo As Channel) As Channel

参数

operations
IChannelsOperations

此扩展方法的操作组。

resourceGroupName
String

合作伙伴订阅中的资源组的名称。

partnerNamespaceName
String

合作伙伴命名空间的名称。

channelName
String

通道的名称。

channelInfo
Channel

频道信息。

返回

注解

使用指定参数同步创建或更新新通道。

适用于