OrbitalContactProfileCollection.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 contact profile.
- Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Orbital/contactProfiles/{contactProfileName}
- Operation Id: ContactProfiles_CreateOrUpdate
public virtual Azure.ResourceManager.ArmOperation<Azure.ResourceManager.Orbital.OrbitalContactProfileResource> CreateOrUpdate (Azure.WaitUntil waitUntil, string contactProfileName, Azure.ResourceManager.Orbital.OrbitalContactProfileData data, System.Threading.CancellationToken cancellationToken = default);
abstract member CreateOrUpdate : Azure.WaitUntil * string * Azure.ResourceManager.Orbital.OrbitalContactProfileData * System.Threading.CancellationToken -> Azure.ResourceManager.ArmOperation<Azure.ResourceManager.Orbital.OrbitalContactProfileResource>
override this.CreateOrUpdate : Azure.WaitUntil * string * Azure.ResourceManager.Orbital.OrbitalContactProfileData * System.Threading.CancellationToken -> Azure.ResourceManager.ArmOperation<Azure.ResourceManager.Orbital.OrbitalContactProfileResource>
Public Overridable Function CreateOrUpdate (waitUntil As WaitUntil, contactProfileName As String, data As OrbitalContactProfileData, Optional cancellationToken As CancellationToken = Nothing) As ArmOperation(Of OrbitalContactProfileResource)
Parameters
- waitUntil
- WaitUntil
Completed if the method should wait to return until the long-running operation has completed on the service; Started if it should return after starting the operation. For more information on long-running operations, please see Azure.Core Long-Running Operation samples.
- contactProfileName
- String
Contact Profile name.
The parameters to provide for the created Contact Profile.
- cancellationToken
- CancellationToken
The cancellation token to use.
Returns
Exceptions
contactProfileName
is an empty string, and was expected to be non-empty.
contactProfileName
or data
is null.
Applies to
Azure SDK for .NET