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

PrivateEndpointConnectionsOperationsExtensions.CreateOrUpdate 方法

定义

创建或更新服务命名空间的 PrivateEndpointConnections。 https://msdn.microsoft.com/en-us/library/azure/mt639408.aspx

public static Microsoft.Azure.Management.EventHub.Models.PrivateEndpointConnection CreateOrUpdate (this Microsoft.Azure.Management.EventHub.IPrivateEndpointConnectionsOperations operations, string resourceGroupName, string namespaceName, string privateEndpointConnectionName, Microsoft.Azure.Management.EventHub.Models.PrivateEndpointConnection parameters);
static member CreateOrUpdate : Microsoft.Azure.Management.EventHub.IPrivateEndpointConnectionsOperations * string * string * string * Microsoft.Azure.Management.EventHub.Models.PrivateEndpointConnection -> Microsoft.Azure.Management.EventHub.Models.PrivateEndpointConnection
<Extension()>
Public Function CreateOrUpdate (operations As IPrivateEndpointConnectionsOperations, resourceGroupName As String, namespaceName As String, privateEndpointConnectionName As String, parameters As PrivateEndpointConnection) As PrivateEndpointConnection

参数

operations
IPrivateEndpointConnectionsOperations

此扩展方法的操作组。

resourceGroupName
String

Azure 订阅中的资源组的名称。

namespaceName
String

命名空间名称

privateEndpointConnectionName
String

PrivateEndpointConnection 名称

parameters
PrivateEndpointConnection

提供的参数,用于将 PrivateEndPoint 连接的状态更新到命名空间资源。

返回

适用于