TrafficManagerEndpointCollection.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.
Creates or updates a Traffic Manager endpoint.
public virtual System.Threading.Tasks.Task<Azure.ResourceManager.ArmOperation<Azure.ResourceManager.TrafficManager.TrafficManagerEndpointResource>> CreateOrUpdateAsync(Azure.WaitUntil waitUntil, Azure.ResourceManager.TrafficManager.Models.TrafficManagerEndpointType endpointType, string endpointName, Azure.ResourceManager.TrafficManager.TrafficManagerEndpointData data, System.Threading.CancellationToken cancellationToken = default);
abstract member CreateOrUpdateAsync : Azure.WaitUntil * Azure.ResourceManager.TrafficManager.Models.TrafficManagerEndpointType * string * Azure.ResourceManager.TrafficManager.TrafficManagerEndpointData * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.ResourceManager.ArmOperation<Azure.ResourceManager.TrafficManager.TrafficManagerEndpointResource>>
override this.CreateOrUpdateAsync : Azure.WaitUntil * Azure.ResourceManager.TrafficManager.Models.TrafficManagerEndpointType * string * Azure.ResourceManager.TrafficManager.TrafficManagerEndpointData * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.ResourceManager.ArmOperation<Azure.ResourceManager.TrafficManager.TrafficManagerEndpointResource>>
Public Overridable Function CreateOrUpdateAsync (waitUntil As WaitUntil, endpointType As TrafficManagerEndpointType, endpointName As String, data As TrafficManagerEndpointData, Optional cancellationToken As CancellationToken = Nothing) As Task(Of ArmOperation(Of TrafficManagerEndpointResource))
Parameters
- waitUntil
- WaitUntil
Completion option.
- endpointType
- TrafficManagerEndpointType
The type of the Traffic Manager endpoint to be created or updated.
- endpointName
- String
The name of the Traffic Manager endpoint to be created or updated.
The Traffic Manager endpoint parameters supplied to the CreateOrUpdate operation.
- cancellationToken
- CancellationToken
The cancellation token to use.