/// <summary> /// Get process parameters /// </summary> /// <remarks> /// Required permissions: Packages.View. /// </remarks> /// <param name='operations'> /// The operations group for this extension method. /// </param> /// <param name='key'> /// </param> /// <param name='cancellationToken'> /// The cancellation token. /// </param> public static async Task <ArgumentMetadata> GetArgumentsByKeyAsync(this IProcesses operations, string key, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { using (var _result = await operations.GetArgumentsByKeyWithHttpMessagesAsync(key, null, cancellationToken).ConfigureAwait(false)) { return(_result.Body); } }
/// <summary> /// Get process parameters /// </summary> /// <remarks> /// Client Credentials Flow required permissions: Execution or Execution.Read. /// /// Required permissions: Packages.View. /// </remarks> /// <param name='operations'> /// The operations group for this extension method. /// </param> /// <param name='key'> /// </param> /// <param name='expand'> /// Indicates the related entities to be represented inline. The maximum depth /// is 2. /// </param> /// <param name='select'> /// Limits the properties returned in the result. /// </param> /// <param name='cancellationToken'> /// The cancellation token. /// </param> public static async Task <ArgumentMetadata> GetArgumentsByKeyAsync(this IProcesses operations, string key, string expand = default(string), string select = default(string), CancellationToken cancellationToken = default(CancellationToken)) { using (var _result = await operations.GetArgumentsByKeyWithHttpMessagesAsync(key, expand, select, null, cancellationToken).ConfigureAwait(false)) { return(_result.Body); } }