public Task AddOrUpdateAsync( int externalPort, int internalPort, string? name, CancellationToken cancellationToken )
Parameters
- externalPort
- The external port.
- internalPort
- The internal port.
- name
- The name.
- cancellationToken
- The cancellation token that can be used by other objects or threads to receive notice of cancellation.
Return Value
Task.