/// <summary> /// Add or Modify a Run. /// </summary> /// <remarks> /// Add a new Run or Modify an existing Run. /// </remarks> /// <param name='operations'> /// The operations group for this extension method. /// </param> /// <param name='subscriptionId'> /// The Azure Subscription ID. /// </param> /// <param name='resourceGroupName'> /// The Name of the resource group in which the workspace is located. /// </param> /// <param name='workspaceName'> /// The name of the workspace. /// </param> /// <param name='experimentName'> /// The experiment name. /// </param> /// <param name='runId'> /// The identifier of the Run. /// </param> /// <param name='createRunDto'> /// The requested Run parameter Additions/modifications. /// </param> /// <param name='cancellationToken'> /// The cancellation token. /// </param> public static async Task <Run> PatchAsync(this IRunsOperations operations, System.Guid subscriptionId, string resourceGroupName, string workspaceName, string experimentName, string runId, CreateRun createRunDto = default(CreateRun), CancellationToken cancellationToken = default(CancellationToken)) { using (var _result = await operations.PatchWithHttpMessagesAsync(subscriptionId, resourceGroupName, workspaceName, experimentName, runId, createRunDto, null, cancellationToken).ConfigureAwait(false)) { return(_result.Body); } }
/// <summary> /// Delete list of Tags in a Run. /// </summary> /// <remarks> /// Delete list of Tags from a specific Run Id. /// </remarks> /// <param name='operations'> /// The operations group for this extension method. /// </param> /// <param name='subscriptionId'> /// The Azure Subscription ID. /// </param> /// <param name='resourceGroupName'> /// The Name of the resource group in which the workspace is located. /// </param> /// <param name='workspaceName'> /// The name of the workspace. /// </param> /// <param name='experimentName'> /// The experiment name. /// </param> /// <param name='runId'> /// The identifier of the Run. /// </param> /// <param name='tags'> /// The requested tags list to be deleted. /// </param> /// <param name='cancellationToken'> /// The cancellation token. /// </param> public static async Task <Run> DeleteTagsAsync(this IRunsOperations operations, System.Guid subscriptionId, string resourceGroupName, string workspaceName, string experimentName, string runId, IList <string> tags = default(IList <string>), CancellationToken cancellationToken = default(CancellationToken)) { using (var _result = await operations.DeleteTagsWithHttpMessagesAsync(subscriptionId, resourceGroupName, workspaceName, experimentName, runId, tags, null, cancellationToken).ConfigureAwait(false)) { return(_result.Body); } }
/// <summary> /// Gets the detailed information for a given run. /// </summary> /// <param name='operations'> /// The operations group for this extension method. /// </param> /// <param name='resourceGroupName'> /// The name of the resource group to which the container registry belongs. /// </param> /// <param name='registryName'> /// The name of the container registry. /// </param> /// <param name='runId'> /// The run ID. /// </param> /// <param name='cancellationToken'> /// The cancellation token. /// </param> public static async System.Threading.Tasks.Task <Run> GetAsync(this IRunsOperations operations, string resourceGroupName, string registryName, string runId, CancellationToken cancellationToken = default(CancellationToken)) { using (var _result = await operations.GetWithHttpMessagesAsync(resourceGroupName, registryName, runId, null, cancellationToken).ConfigureAwait(false)) { return(_result.Body); } }
/// <summary> /// Get all Runs for a specific Experiment. /// </summary> /// <remarks> /// Get all Runs for a specific Experiment with the specified query filters. /// </remarks> /// <param name='operations'> /// The operations group for this extension method. /// </param> /// <param name='subscriptionId'> /// The Azure Subscription ID. /// </param> /// <param name='resourceGroupName'> /// The Name of the resource group in which the workspace is located. /// </param> /// <param name='workspaceName'> /// The name of the workspace. /// </param> /// <param name='experimentName'> /// The experiment name. /// </param> /// <param name='queryParams'> /// Query parameters for data sorting and filtering. /// </param> /// <param name='cancellationToken'> /// The cancellation token. /// </param> public static async Task <IPage <Run> > GetByQueryAsync(this IRunsOperations operations, System.Guid subscriptionId, string resourceGroupName, string workspaceName, string experimentName, QueryParams queryParams = default(QueryParams), CancellationToken cancellationToken = default(CancellationToken)) { using (var _result = await operations.GetByQueryWithHttpMessagesAsync(subscriptionId, resourceGroupName, workspaceName, experimentName, queryParams, null, cancellationToken).ConfigureAwait(false)) { return(_result.Body); } }
/// <summary> /// Start a run on a local machine. /// </summary> /// <remarks> /// Starts an experiment run using the provided definition.json file to define /// the run. /// The source code and configuration is defined in a zip archive in /// project.zip. /// </remarks> /// <param name='operations'> /// The operations group for this extension method. /// </param> /// <param name='subscriptionId'> /// The Azure Subscription ID. /// </param> /// <param name='resourceGroupName'> /// The Name of the resource group in which the workspace is located. /// </param> /// <param name='workspaceName'> /// The name of the workspace. /// </param> /// <param name='experimentName'> /// The experiment name. /// </param> /// <param name='definition'> /// A JSON run definition structure. /// </param> /// <param name='runId'> /// A run id. If not supplied a run id will be created automatically. /// </param> /// <param name='cancellationToken'> /// The cancellation token. /// </param> public static async Task <Stream> StartLocalRunAsync(this IRunsOperations operations, System.Guid subscriptionId, string resourceGroupName, string workspaceName, string experimentName, RunDefinition definition, string runId = default(string), CancellationToken cancellationToken = default(CancellationToken)) { var _result = await operations.StartLocalRunWithHttpMessagesAsync(subscriptionId, resourceGroupName, workspaceName, experimentName, definition, runId, null, cancellationToken).ConfigureAwait(false); _result.Request.Dispose(); return(_result.Body); }
/// <summary> /// Gets all the runs for a registry. /// </summary> /// <param name='operations'> /// The operations group for this extension method. /// </param> /// <param name='resourceGroupName'> /// The name of the resource group to which the container registry belongs. /// </param> /// <param name='registryName'> /// The name of the container registry. /// </param> /// <param name='odataQuery'> /// OData parameters to apply to the operation. /// </param> /// <param name='cancellationToken'> /// The cancellation token. /// </param> public static async System.Threading.Tasks.Task <IPage <Run> > ListAsync(this IRunsOperations operations, string resourceGroupName, string registryName, ODataQuery <RunFilter> odataQuery = default(ODataQuery <RunFilter>), CancellationToken cancellationToken = default(CancellationToken)) { using (var _result = await operations.ListWithHttpMessagesAsync(resourceGroupName, registryName, odataQuery, null, cancellationToken).ConfigureAwait(false)) { return(_result.Body); } }
/// <summary> /// Cancel a run. /// </summary> /// <remarks> /// Cancels a run within an experiment. /// </remarks> /// <param name='operations'> /// The operations group for this extension method. /// </param> /// <param name='subscriptionId'> /// The Azure Subscription ID. /// </param> /// <param name='resourceGroupName'> /// The Name of the resource group in which the workspace is located. /// </param> /// <param name='workspaceName'> /// The name of the workspace. /// </param> /// <param name='experimentName'> /// The experiment name. /// </param> /// <param name='runId'> /// The id of the run to cancel. /// </param> /// <param name='cancellationToken'> /// The cancellation token. /// </param> public static async Task <StartRunResult> CancelRunWithUriAsync(this IRunsOperations operations, System.Guid subscriptionId, string resourceGroupName, string workspaceName, string experimentName, string runId, CancellationToken cancellationToken = default(CancellationToken)) { using (var _result = await operations.CancelRunWithUriWithHttpMessagesAsync(subscriptionId, resourceGroupName, workspaceName, experimentName, runId, null, cancellationToken).ConfigureAwait(false)) { return(_result.Body); } }
/// <summary> /// Add or Modify a batch of Runs. /// </summary> /// <remarks> /// Add or Modify a batch of Runs for a given experiment. /// </remarks> /// <param name='operations'> /// The operations group for this extension method. /// </param> /// <param name='subscriptionId'> /// The Azure Subscription ID. /// </param> /// <param name='resourceGroupName'> /// The Name of the resource group in which the workspace is located. /// </param> /// <param name='workspaceName'> /// The name of the workspace. /// </param> /// <param name='experimentName'> /// The experiment name. /// </param> /// <param name='requestDto'> /// The list of requested Run Additions/modifications in an Experiment. /// </param> /// <param name='cancellationToken'> /// The cancellation token. /// </param> public static async Task <BatchAddOrModifyRunResult> BatchAddOrModifyAsync(this IRunsOperations operations, System.Guid subscriptionId, string resourceGroupName, string workspaceName, string experimentName, BatchAddOrModifyRunRequest requestDto = default(BatchAddOrModifyRunRequest), CancellationToken cancellationToken = default(CancellationToken)) { using (var _result = await operations.BatchAddOrModifyWithHttpMessagesAsync(subscriptionId, resourceGroupName, workspaceName, experimentName, requestDto, null, cancellationToken).ConfigureAwait(false)) { return(_result.Body); } }
/// <summary> /// Get details of all child runs. /// </summary> /// <remarks> /// Get details of all child runs for the specified Run Id with the specified /// filters. /// </remarks> /// <param name='operations'> /// The operations group for this extension method. /// </param> /// <param name='subscriptionId'> /// The Azure Subscription ID. /// </param> /// <param name='resourceGroupName'> /// The Name of the resource group in which the workspace is located. /// </param> /// <param name='workspaceName'> /// The name of the workspace. /// </param> /// <param name='experimentName'> /// The experiment name. /// </param> /// <param name='runId'> /// The identifier of the Run. /// </param> /// <param name='filter'> /// Allows for filtering the collection of resources. /// The expression specified is evaluated for each resource in the collection, /// and only items where the expression evaluates to true are included in the /// response. /// </param> /// <param name='continuationtoken'> /// The continuation token to use for getting the next set of resources. /// </param> /// <param name='orderby'> /// The list of resource properties to use for sorting the requested resources. /// </param> /// <param name='sortorder'> /// The sort order of the returned resources. Not used, specify asc or desc /// after each property name in the OrderBy parameter. Possible values include: /// 'Asc', 'Desc' /// </param> /// <param name='top'> /// The maximum number of items in the resource collection to be included in /// the result. /// If not specified, all items are returned. /// </param> /// <param name='count'> /// Whether to include a count of the matching resources along with the /// resources returned in the response. /// </param> /// <param name='cancellationToken'> /// The cancellation token. /// </param> public static async Task <IPage <Run> > GetChildAsync(this IRunsOperations operations, System.Guid subscriptionId, string resourceGroupName, string workspaceName, string experimentName, string runId, string filter = default(string), string continuationtoken = default(string), IList <string> orderby = default(IList <string>), string sortorder = default(string), int?top = default(int?), bool?count = default(bool?), CancellationToken cancellationToken = default(CancellationToken)) { using (var _result = await operations.GetChildWithHttpMessagesAsync(subscriptionId, resourceGroupName, workspaceName, experimentName, runId, filter, continuationtoken, orderby, sortorder, top, count, null, cancellationToken).ConfigureAwait(false)) { return(_result.Body); } }
/// <summary> /// Patch the run properties. /// </summary> /// <param name='operations'> /// The operations group for this extension method. /// </param> /// <param name='resourceGroupName'> /// The name of the resource group to which the container registry belongs. /// </param> /// <param name='registryName'> /// The name of the container registry. /// </param> /// <param name='runId'> /// The run ID. /// </param> /// <param name='isArchiveEnabled'> /// The value that indicates whether archiving is enabled or not. /// </param> /// <param name='cancellationToken'> /// The cancellation token. /// </param> public static async System.Threading.Tasks.Task <Run> BeginUpdateAsync(this IRunsOperations operations, string resourceGroupName, string registryName, string runId, bool?isArchiveEnabled = default(bool?), CancellationToken cancellationToken = default(CancellationToken)) { using (var _result = await operations.BeginUpdateWithHttpMessagesAsync(resourceGroupName, registryName, runId, isArchiveEnabled, null, cancellationToken).ConfigureAwait(false)) { return(_result.Body); } }
/// <summary> /// Gets all the runs for a registry. /// </summary> /// <param name='operations'> /// The operations group for this extension method. /// </param> /// <param name='nextPageLink'> /// The NextLink from the previous successful call to List operation. /// </param> /// <param name='cancellationToken'> /// The cancellation token. /// </param> public static async System.Threading.Tasks.Task <IPage <Run> > ListNextAsync(this IRunsOperations operations, string nextPageLink, CancellationToken cancellationToken = default(CancellationToken)) { using (var _result = await operations.ListNextWithHttpMessagesAsync(nextPageLink, null, cancellationToken).ConfigureAwait(false)) { return(_result.Body); } }
/// <summary> /// Patch the run properties. /// </summary> /// <param name='operations'> /// The operations group for this extension method. /// </param> /// <param name='resourceGroupName'> /// The name of the resource group to which the container registry belongs. /// </param> /// <param name='registryName'> /// The name of the container registry. /// </param> /// <param name='runId'> /// The run ID. /// </param> /// <param name='isArchiveEnabled'> /// The value that indicates whether archiving is enabled or not. /// </param> public static Run BeginUpdate(this IRunsOperations operations, string resourceGroupName, string registryName, string runId, bool?isArchiveEnabled = default(bool?)) { return(operations.BeginUpdateAsync(resourceGroupName, registryName, runId, isArchiveEnabled).GetAwaiter().GetResult()); }
/// <summary> /// Cancel an existing run. /// </summary> /// <param name='operations'> /// The operations group for this extension method. /// </param> /// <param name='resourceGroupName'> /// The name of the resource group to which the container registry belongs. /// </param> /// <param name='registryName'> /// The name of the container registry. /// </param> /// <param name='runId'> /// The run ID. /// </param> /// <param name='cancellationToken'> /// The cancellation token. /// </param> public static async System.Threading.Tasks.Task BeginCancelAsync(this IRunsOperations operations, string resourceGroupName, string registryName, string runId, CancellationToken cancellationToken = default(CancellationToken)) { (await operations.BeginCancelWithHttpMessagesAsync(resourceGroupName, registryName, runId, null, cancellationToken).ConfigureAwait(false)).Dispose(); }
/// <summary> /// Add or Modify a Run. /// </summary> /// <remarks> /// Add a new Run or Modify an existing Run. /// </remarks> /// <param name='operations'> /// The operations group for this extension method. /// </param> /// <param name='subscriptionId'> /// The Azure Subscription ID. /// </param> /// <param name='resourceGroupName'> /// The Name of the resource group in which the workspace is located. /// </param> /// <param name='workspaceName'> /// The name of the workspace. /// </param> /// <param name='experimentName'> /// The experiment name. /// </param> /// <param name='runId'> /// The identifier of the Run. /// </param> /// <param name='createRunDto'> /// The requested Run parameter Additions/modifications. /// </param> public static Run Patch(this IRunsOperations operations, System.Guid subscriptionId, string resourceGroupName, string workspaceName, string experimentName, string runId, CreateRun createRunDto = default(CreateRun)) { return(operations.PatchAsync(subscriptionId, resourceGroupName, workspaceName, experimentName, runId, createRunDto).GetAwaiter().GetResult()); }
/// <summary> /// Get Run details. /// </summary> /// <remarks> /// Get Run details of a specific Run Id. /// </remarks> /// <param name='operations'> /// The operations group for this extension method. /// </param> /// <param name='subscriptionId'> /// The Azure Subscription ID. /// </param> /// <param name='resourceGroupName'> /// The Name of the resource group in which the workspace is located. /// </param> /// <param name='workspaceName'> /// The name of the workspace. /// </param> /// <param name='experimentName'> /// The experiment name. /// </param> /// <param name='runId'> /// The identifier of the Run. /// </param> public static Run Get(this IRunsOperations operations, System.Guid subscriptionId, string resourceGroupName, string workspaceName, string experimentName, string runId) { return(operations.GetAsync(subscriptionId, resourceGroupName, workspaceName, experimentName, runId).GetAwaiter().GetResult()); }
/// <summary> /// Start a run on a local machine. /// </summary> /// <remarks> /// Starts an experiment run using the provided definition.json file to define /// the run. /// The source code and configuration is defined in a zip archive in /// project.zip. /// </remarks> /// <param name='operations'> /// The operations group for this extension method. /// </param> /// <param name='subscriptionId'> /// The Azure Subscription ID. /// </param> /// <param name='resourceGroupName'> /// The Name of the resource group in which the workspace is located. /// </param> /// <param name='workspaceName'> /// The name of the workspace. /// </param> /// <param name='experimentName'> /// The experiment name. /// </param> /// <param name='definition'> /// A JSON run definition structure. /// </param> /// <param name='runId'> /// A run id. If not supplied a run id will be created automatically. /// </param> public static Stream StartLocalRun(this IRunsOperations operations, System.Guid subscriptionId, string resourceGroupName, string workspaceName, string experimentName, RunDefinition definition, string runId = default(string)) { return(operations.StartLocalRunAsync(subscriptionId, resourceGroupName, workspaceName, experimentName, definition, runId).GetAwaiter().GetResult()); }
/// <summary> /// Add or Modify a batch of Runs. /// </summary> /// <remarks> /// Add or Modify a batch of Runs for a given experiment. /// </remarks> /// <param name='operations'> /// The operations group for this extension method. /// </param> /// <param name='subscriptionId'> /// The Azure Subscription ID. /// </param> /// <param name='resourceGroupName'> /// The Name of the resource group in which the workspace is located. /// </param> /// <param name='workspaceName'> /// The name of the workspace. /// </param> /// <param name='experimentName'> /// The experiment name. /// </param> /// <param name='requestDto'> /// The list of requested Run Additions/modifications in an Experiment. /// </param> public static BatchAddOrModifyRunResult BatchAddOrModify(this IRunsOperations operations, System.Guid subscriptionId, string resourceGroupName, string workspaceName, string experimentName, BatchAddOrModifyRunRequest requestDto = default(BatchAddOrModifyRunRequest)) { return(operations.BatchAddOrModifyAsync(subscriptionId, resourceGroupName, workspaceName, experimentName, requestDto).GetAwaiter().GetResult()); }
/// <summary> /// Cancel an existing run. /// </summary> /// <param name='operations'> /// The operations group for this extension method. /// </param> /// <param name='resourceGroupName'> /// The name of the resource group to which the container registry belongs. /// </param> /// <param name='registryName'> /// The name of the container registry. /// </param> /// <param name='runId'> /// The run ID. /// </param> public static void BeginCancel(this IRunsOperations operations, string resourceGroupName, string registryName, string runId) { operations.BeginCancelAsync(resourceGroupName, registryName, runId).GetAwaiter().GetResult(); }
/// <summary> /// Get details of all child runs. /// </summary> /// <remarks> /// Get details of all child runs for the specified Run Id with the specified /// filters. /// </remarks> /// <param name='operations'> /// The operations group for this extension method. /// </param> /// <param name='subscriptionId'> /// The Azure Subscription ID. /// </param> /// <param name='resourceGroupName'> /// The Name of the resource group in which the workspace is located. /// </param> /// <param name='workspaceName'> /// The name of the workspace. /// </param> /// <param name='experimentName'> /// The experiment name. /// </param> /// <param name='runId'> /// The identifier of the Run. /// </param> /// <param name='filter'> /// Allows for filtering the collection of resources. /// The expression specified is evaluated for each resource in the collection, /// and only items where the expression evaluates to true are included in the /// response. /// </param> /// <param name='continuationtoken'> /// The continuation token to use for getting the next set of resources. /// </param> /// <param name='orderby'> /// The list of resource properties to use for sorting the requested resources. /// </param> /// <param name='sortorder'> /// The sort order of the returned resources. Not used, specify asc or desc /// after each property name in the OrderBy parameter. Possible values include: /// 'Asc', 'Desc' /// </param> /// <param name='top'> /// The maximum number of items in the resource collection to be included in /// the result. /// If not specified, all items are returned. /// </param> /// <param name='count'> /// Whether to include a count of the matching resources along with the /// resources returned in the response. /// </param> public static IPage <Run> GetChild(this IRunsOperations operations, System.Guid subscriptionId, string resourceGroupName, string workspaceName, string experimentName, string runId, string filter = default(string), string continuationtoken = default(string), IList <string> orderby = default(IList <string>), string sortorder = default(string), int?top = default(int?), bool?count = default(bool?)) { return(operations.GetChildAsync(subscriptionId, resourceGroupName, workspaceName, experimentName, runId, filter, continuationtoken, orderby, sortorder, top, count).GetAwaiter().GetResult()); }
/// <summary> /// Gets all the runs for a registry. /// </summary> /// <param name='operations'> /// The operations group for this extension method. /// </param> /// <param name='nextPageLink'> /// The NextLink from the previous successful call to List operation. /// </param> public static IPage <Run> ListNext(this IRunsOperations operations, string nextPageLink) { return(operations.ListNextAsync(nextPageLink).GetAwaiter().GetResult()); }
/// <summary> /// Delete list of Tags in a Run. /// </summary> /// <remarks> /// Delete list of Tags from a specific Run Id. /// </remarks> /// <param name='operations'> /// The operations group for this extension method. /// </param> /// <param name='subscriptionId'> /// The Azure Subscription ID. /// </param> /// <param name='resourceGroupName'> /// The Name of the resource group in which the workspace is located. /// </param> /// <param name='workspaceName'> /// The name of the workspace. /// </param> /// <param name='experimentName'> /// The experiment name. /// </param> /// <param name='runId'> /// The identifier of the Run. /// </param> /// <param name='tags'> /// The requested tags list to be deleted. /// </param> public static Run DeleteTags(this IRunsOperations operations, System.Guid subscriptionId, string resourceGroupName, string workspaceName, string experimentName, string runId, IList <string> tags = default(IList <string>)) { return(operations.DeleteTagsAsync(subscriptionId, resourceGroupName, workspaceName, experimentName, runId, tags).GetAwaiter().GetResult()); }
/// <summary> /// Gets all the runs for a registry. /// </summary> /// <param name='operations'> /// The operations group for this extension method. /// </param> /// <param name='resourceGroupName'> /// The name of the resource group to which the container registry belongs. /// </param> /// <param name='registryName'> /// The name of the container registry. /// </param> /// <param name='odataQuery'> /// OData parameters to apply to the operation. /// </param> public static IPage <Run> List(this IRunsOperations operations, string resourceGroupName, string registryName, ODataQuery <RunFilter> odataQuery = default(ODataQuery <RunFilter>)) { return(operations.ListAsync(resourceGroupName, registryName, odataQuery).GetAwaiter().GetResult()); }
/// <summary> /// Get all Runs for a specific Experiment. /// </summary> /// <remarks> /// Get all Runs for a specific Experiment with the specified query filters. /// </remarks> /// <param name='operations'> /// The operations group for this extension method. /// </param> /// <param name='subscriptionId'> /// The Azure Subscription ID. /// </param> /// <param name='resourceGroupName'> /// The Name of the resource group in which the workspace is located. /// </param> /// <param name='workspaceName'> /// The name of the workspace. /// </param> /// <param name='experimentName'> /// The experiment name. /// </param> /// <param name='queryParams'> /// Query parameters for data sorting and filtering. /// </param> public static IPage <Run> GetByQuery(this IRunsOperations operations, System.Guid subscriptionId, string resourceGroupName, string workspaceName, string experimentName, QueryParams queryParams = default(QueryParams)) { return(operations.GetByQueryAsync(subscriptionId, resourceGroupName, workspaceName, experimentName, queryParams).GetAwaiter().GetResult()); }
/// <summary> /// Gets the detailed information for a given run. /// </summary> /// <param name='operations'> /// The operations group for this extension method. /// </param> /// <param name='resourceGroupName'> /// The name of the resource group to which the container registry belongs. /// </param> /// <param name='registryName'> /// The name of the container registry. /// </param> /// <param name='runId'> /// The run ID. /// </param> public static Run Get(this IRunsOperations operations, string resourceGroupName, string registryName, string runId) { return(operations.GetAsync(resourceGroupName, registryName, runId).GetAwaiter().GetResult()); }
/// <summary> /// Start a run on a remote compute target. /// </summary> /// <remarks> /// Starts an experiment run using the provided definition.json file to define /// the run. /// The source code and configuration is defined in a zip archive in /// project.zip. /// </remarks> /// <param name='operations'> /// The operations group for this extension method. /// </param> /// <param name='subscriptionId'> /// The Azure Subscription ID. /// </param> /// <param name='resourceGroupName'> /// The Name of the resource group in which the workspace is located. /// </param> /// <param name='workspaceName'> /// The name of the workspace. /// </param> /// <param name='experimentName'> /// The experiment name. /// </param> /// <param name='runDefinitionFile'> /// The JSON file containing the RunDefinition /// </param> /// <param name='projectZipFile'> /// The zip archive of the project folder containing the source code to use for /// the run. /// </param> /// <param name='runId'> /// A run id. If not supplied a run id will be created automatically. /// </param> public static StartRunResult StartRun(this IRunsOperations operations, System.Guid subscriptionId, string resourceGroupName, string workspaceName, string experimentName, Stream runDefinitionFile, Stream projectZipFile, string runId = default(string)) { return(operations.StartRunAsync(subscriptionId, resourceGroupName, workspaceName, experimentName, runDefinitionFile, projectZipFile, runId).GetAwaiter().GetResult()); }