EventChannelsOperationsExtensions.CreateOrUpdate Method

Definition

Create an event channel.

public static Microsoft.Azure.Management.EventGrid.Models.EventChannel CreateOrUpdate (this Microsoft.Azure.Management.EventGrid.IEventChannelsOperations operations, string resourceGroupName, string partnerNamespaceName, string eventChannelName, Microsoft.Azure.Management.EventGrid.Models.EventChannel eventChannelInfo);
static member CreateOrUpdate : Microsoft.Azure.Management.EventGrid.IEventChannelsOperations * string * string * string * Microsoft.Azure.Management.EventGrid.Models.EventChannel -> Microsoft.Azure.Management.EventGrid.Models.EventChannel
<Extension()>
Public Function CreateOrUpdate (operations As IEventChannelsOperations, resourceGroupName As String, partnerNamespaceName As String, eventChannelName As String, eventChannelInfo As EventChannel) As EventChannel

Parameters

operations
IEventChannelsOperations

The operations group for this extension method.

resourceGroupName
System.String

The name of the resource group within the user's subscription.

partnerNamespaceName
System.String

Name of the partner namespace.

eventChannelName
System.String

Name of the event channel.

eventChannelInfo
EventChannel

EventChannel information.

Returns

EventChannel

Remarks

Asynchronously creates a new event channel with the specified parameters.

Applies to