ChannelsOperationsExtensions.CreateOrUpdateAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Create or update a channel.
public static System.Threading.Tasks.Task<Microsoft.Azure.Management.EventGrid.Models.Channel> CreateOrUpdateAsync (this Microsoft.Azure.Management.EventGrid.IChannelsOperations operations, string resourceGroupName, string partnerNamespaceName, string channelName, Microsoft.Azure.Management.EventGrid.Models.Channel channelInfo, System.Threading.CancellationToken cancellationToken = default);
static member CreateOrUpdateAsync : Microsoft.Azure.Management.EventGrid.IChannelsOperations * string * string * string * Microsoft.Azure.Management.EventGrid.Models.Channel * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.EventGrid.Models.Channel>
<Extension()>
Public Function CreateOrUpdateAsync (operations As IChannelsOperations, resourceGroupName As String, partnerNamespaceName As String, channelName As String, channelInfo As Channel, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Channel)
Parameters
- operations
- IChannelsOperations
The operations group for this extension method.
- resourceGroupName
- String
The name of the resource group within the partners subscription.
- partnerNamespaceName
- String
Name of the partner namespace.
- channelName
- String
Name of the channel.
- channelInfo
- Channel
Channel information.
- cancellationToken
- CancellationToken
The cancellation token.
Returns
Remarks
Synchronously creates or updates a new channel with the specified parameters.
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for .NET