TopicsOperationsExtensions.BeginCreateOrUpdateAsync 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 a topic.
public static System.Threading.Tasks.Task<Microsoft.Azure.Management.EventGrid.Models.Topic> BeginCreateOrUpdateAsync (this Microsoft.Azure.Management.EventGrid.ITopicsOperations operations, string resourceGroupName, string topicName, Microsoft.Azure.Management.EventGrid.Models.Topic topicInfo, System.Threading.CancellationToken cancellationToken = default);
static member BeginCreateOrUpdateAsync : Microsoft.Azure.Management.EventGrid.ITopicsOperations * string * string * Microsoft.Azure.Management.EventGrid.Models.Topic * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.EventGrid.Models.Topic>
<Extension()>
Public Function BeginCreateOrUpdateAsync (operations As ITopicsOperations, resourceGroupName As String, topicName As String, topicInfo As Topic, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Topic)
Parameters
- operations
- ITopicsOperations
The operations group for this extension method.
- resourceGroupName
- String
The name of the resource group within the user's subscription.
- topicName
- String
Name of the topic.
- topicInfo
- Topic
Topic information.
- cancellationToken
- CancellationToken
The cancellation token.
Returns
Remarks
Asynchronously creates a new topic with the specified parameters.
Applies to
Spolupracujte s námi na GitHubu
Zdroj tohoto obsahu najdete na GitHubu, kde můžete také vytvářet a kontrolovat problémy a žádosti o přijetí změn. Další informace najdete v našem průvodci pro přispěvatele.
Azure SDK for .NET