TrafficManagerEndpointCollection.CreateOrUpdate 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 Azure.ResourceManager.ArmOperation<Azure.ResourceManager.TrafficManager.TrafficManagerEndpointResource> CreateOrUpdate(Azure.WaitUntil waitUntil, Azure.ResourceManager.TrafficManager.Models.TrafficManagerEndpointType endpointType, string endpointName, Azure.ResourceManager.TrafficManager.TrafficManagerEndpointData data, System.Threading.CancellationToken cancellationToken = default);
abstract member CreateOrUpdate : Azure.WaitUntil * Azure.ResourceManager.TrafficManager.Models.TrafficManagerEndpointType * string * Azure.ResourceManager.TrafficManager.TrafficManagerEndpointData * System.Threading.CancellationToken -> Azure.ResourceManager.ArmOperation<Azure.ResourceManager.TrafficManager.TrafficManagerEndpointResource>
override this.CreateOrUpdate : Azure.WaitUntil * Azure.ResourceManager.TrafficManager.Models.TrafficManagerEndpointType * string * Azure.ResourceManager.TrafficManager.TrafficManagerEndpointData * System.Threading.CancellationToken -> Azure.ResourceManager.ArmOperation<Azure.ResourceManager.TrafficManager.TrafficManagerEndpointResource>
Public Overridable Function CreateOrUpdate (waitUntil As WaitUntil, endpointType As TrafficManagerEndpointType, endpointName As String, data As TrafficManagerEndpointData, Optional cancellationToken As CancellationToken = Nothing) As 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.