/// <summary> /// Delete an Annotation of an Application Insights component. /// </summary> /// <param name='operations'> /// The operations group for this extension method. /// </param> /// <param name='resourceGroupName'> /// The name of the resource group. The name is case insensitive. /// </param> /// <param name='resourceName'> /// The name of the Application Insights component resource. /// </param> /// <param name='annotationId'> /// The unique annotation ID. This is unique within a Application Insights /// component. /// </param> public static object Delete(this IAnnotationsOperations operations, string resourceGroupName, string resourceName, string annotationId) { return(operations.DeleteAsync(resourceGroupName, resourceName, annotationId).GetAwaiter().GetResult()); }
/// <summary> /// Delete an Annotation of an Application Insights component. /// </summary> /// <param name='operations'> /// The operations group for this extension method. /// </param> /// <param name='resourceGroupName'> /// The name of the resource group. The name is case insensitive. /// </param> /// <param name='resourceName'> /// The name of the Application Insights component resource. /// </param> /// <param name='annotationId'> /// The unique annotation ID. This is unique within a Application Insights /// component. /// </param> public static void Delete(this IAnnotationsOperations operations, string resourceGroupName, string resourceName, string annotationId) { operations.DeleteAsync(resourceGroupName, resourceName, annotationId).GetAwaiter().GetResult(); }