Esempio n. 1
0
 /// <summary>
 /// Deletes a package.
 /// </summary>
 /// <remarks>
 /// Client Credentials Flow required permissions: Execution or Execution.Write.
 ///
 /// Required permissions: (Packages.Delete - Deletes a package in a Tenant
 /// Feed) and (FolderPackages.Delete - Deletes a package in a Folder Feed).
 /// </remarks>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='key'>
 /// </param>
 /// <param name='feedId'>
 /// </param>
 public static void DeleteById(this IProcesses operations, string key, System.Guid?feedId = default(System.Guid?))
 {
     operations.DeleteByIdAsync(key, feedId).GetAwaiter().GetResult();
 }
 /// <summary>
 /// Deletes a package.
 /// </summary>
 /// <remarks>
 /// Required permissions: Packages.Delete.
 /// </remarks>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='id'>
 /// key: Id
 /// </param>
 /// <param name='ifMatch'>
 /// If-Match header
 /// </param>
 public static void DeleteById(this IProcesses operations, string id, string ifMatch = default(string))
 {
     operations.DeleteByIdAsync(id, ifMatch).GetAwaiter().GetResult();
 }
 /// <summary>
 /// Deletes a package.
 /// </summary>
 /// <remarks>
 /// Client Credentials Flow required permissions: Execution or Execution.Write.
 ///
 /// Requires authentication.
 /// </remarks>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='id'>
 /// key: Id
 /// </param>
 /// <param name='feedId'>
 /// </param>
 /// <param name='ifMatch'>
 /// If-Match header
 /// </param>
 public static void DeleteById(this IProcesses operations, string id, System.Guid?feedId = default(System.Guid?), System.Guid?ifMatch = default(System.Guid?))
 {
     operations.DeleteByIdAsync(id, feedId, ifMatch).GetAwaiter().GetResult();
 }