다음을 통해 공유


PartnerResponseCollection.CreateOrUpdate Method

Definition

Create a management partner for the objectId and tenantId.

  • Request Path: /providers/Microsoft.ManagementPartner/partners/{partnerId}
  • Operation Id: Partner_Create
public virtual Azure.ResourceManager.ArmOperation<Azure.ResourceManager.ManagementPartner.PartnerResponseResource> CreateOrUpdate (Azure.WaitUntil waitUntil, string partnerId, System.Threading.CancellationToken cancellationToken = default);
abstract member CreateOrUpdate : Azure.WaitUntil * string * System.Threading.CancellationToken -> Azure.ResourceManager.ArmOperation<Azure.ResourceManager.ManagementPartner.PartnerResponseResource>
override this.CreateOrUpdate : Azure.WaitUntil * string * System.Threading.CancellationToken -> Azure.ResourceManager.ArmOperation<Azure.ResourceManager.ManagementPartner.PartnerResponseResource>
Public Overridable Function CreateOrUpdate (waitUntil As WaitUntil, partnerId As String, Optional cancellationToken As CancellationToken = Nothing) As ArmOperation(Of PartnerResponseResource)

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.

partnerId
String

Id of the Partner.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

partnerId is an empty string, and was expected to be non-empty.

partnerId is null.

Applies to