Share via


SubscriptionPolicyOperationsExtensions.AddUpdatePolicyForTenant Method

Definition

Create or Update Subscription tenant policy for user's tenant.

public static Microsoft.Azure.Management.Subscription.Models.GetTenantPolicyResponse AddUpdatePolicyForTenant (this Microsoft.Azure.Management.Subscription.ISubscriptionPolicyOperations operations, Microsoft.Azure.Management.Subscription.Models.PutTenantPolicyRequestProperties body);
static member AddUpdatePolicyForTenant : Microsoft.Azure.Management.Subscription.ISubscriptionPolicyOperations * Microsoft.Azure.Management.Subscription.Models.PutTenantPolicyRequestProperties -> Microsoft.Azure.Management.Subscription.Models.GetTenantPolicyResponse
<Extension()>
Public Function AddUpdatePolicyForTenant (operations As ISubscriptionPolicyOperations, body As PutTenantPolicyRequestProperties) As GetTenantPolicyResponse

Parameters

operations
ISubscriptionPolicyOperations

The operations group for this extension method.

Returns

Applies to