/// <summary>
 /// Deletes the registration definition.
 /// </summary>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='registrationDefinitionId'>
 /// Guid of the registration definition.
 /// </param>
 /// <param name='scope'>
 /// Scope of the resource.
 /// </param>
 public static void Delete(this IRegistrationDefinitionsOperations operations, string registrationDefinitionId, string scope)
 {
     operations.DeleteAsync(registrationDefinitionId, scope).GetAwaiter().GetResult();
 }
Example #2
0
 /// <summary>
 /// Deletes the registration definition.
 /// </summary>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='registratonDefinitionId'>
 /// Guid of the registration definition.
 /// </param>
 /// <param name='apiVersion'>
 /// The API version to use for this operation.
 /// </param>
 /// <param name='scope'>
 /// Id of the source subscription.
 /// </param>
 public static RegistrationDefinition Delete(this IRegistrationDefinitionsOperations operations, string registratonDefinitionId, string apiVersion, string scope)
 {
     return(operations.DeleteAsync(registratonDefinitionId, apiVersion, scope).GetAwaiter().GetResult());
 }