/// <summary>
 /// Sets the policy for a given kind of TEE.
 /// </summary>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='tenantBaseUrl'>
 /// The tenant name, for example https://mytenant.attest.azure.net.
 /// </param>
 /// <param name='tee'>
 /// Specifies the trusted execution environment to be used to validate the
 /// evidence. Possible values include: 'SgxEnclave', 'OpenEnclave',
 /// 'CyResComponent', 'AzureGuest'
 /// </param>
 /// <param name='newAttestationPolicy'>
 /// JWT Expressing the new policy
 /// </param>
 public static object Set(this IPolicyOperations operations, string tenantBaseUrl, string tee, string newAttestationPolicy)
 {
     return(operations.SetAsync(tenantBaseUrl, tee, newAttestationPolicy).GetAwaiter().GetResult());
 }