Skip to content

Commit

Permalink
Update from master
Browse files Browse the repository at this point in the history
  • Loading branch information
SDK Automation committed Aug 11, 2020
1 parent 5a28785 commit 9bd2fc0
Show file tree
Hide file tree
Showing 4 changed files with 69 additions and 14 deletions.
22 changes: 21 additions & 1 deletion sdk/containerregistry/arm-containerregistry/src/models/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,10 @@ export interface ProxyResource extends BaseResource {
* An object that represents an export pipeline for a container registry.
*/
export interface ExportPipeline extends ProxyResource {
/**
* The location of the export pipeline.
*/
location?: string;
/**
* The identity of the export pipeline.
*/
Expand Down Expand Up @@ -227,6 +231,10 @@ export interface PipelineTriggerProperties {
* An object that represents an import pipeline for a container registry.
*/
export interface ImportPipeline extends ProxyResource {
/**
* The location of the import pipeline.
*/
location?: string;
/**
* The identity of the import pipeline.
*/
Expand Down Expand Up @@ -1746,13 +1754,17 @@ export interface RunGetLogResult {
* The link to logs for a run on a azure container registry.
*/
logLink?: string;
/**
* The link to logs in registry for a run on a azure container registry.
*/
logArtifactLink?: string;
}

/**
* The task run that has the ARM resource and properties.
* The task run will have the information of request and result of a run.
*/
export interface TaskRun extends Resource {
export interface TaskRun extends ProxyResource {
/**
* Identity for the resource.
*/
Expand All @@ -1776,6 +1788,10 @@ export interface TaskRun extends Resource {
* How the run should be forced to rerun even if the run request configuration has not changed
*/
forceUpdateTag?: string;
/**
* The location of the resource
*/
location?: string;
}

/**
Expand All @@ -1794,6 +1810,10 @@ export interface TaskRunUpdateParameters {
* How the run should be forced to rerun even if the run request configuration has not changed
*/
forceUpdateTag?: string;
/**
* The location of the resource
*/
location?: string;
/**
* The ARM resource tags.
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -147,6 +147,12 @@ export const ExportPipeline: msRest.CompositeMapper = {
className: "ExportPipeline",
modelProperties: {
...ProxyResource.type.modelProperties,
location: {
serializedName: "location",
type: {
name: "String"
}
},
identity: {
serializedName: "identity",
type: {
Expand Down Expand Up @@ -362,6 +368,12 @@ export const ImportPipeline: msRest.CompositeMapper = {
className: "ImportPipeline",
modelProperties: {
...ProxyResource.type.modelProperties,
location: {
serializedName: "location",
type: {
name: "String"
}
},
identity: {
serializedName: "identity",
type: {
Expand Down Expand Up @@ -2861,6 +2873,12 @@ export const RunGetLogResult: msRest.CompositeMapper = {
type: {
name: "String"
}
},
logArtifactLink: {
serializedName: "logArtifactLink",
type: {
name: "String"
}
}
}
}
Expand All @@ -2872,7 +2890,7 @@ export const TaskRun: msRest.CompositeMapper = {
name: "Composite",
className: "TaskRun",
modelProperties: {
...Resource.type.modelProperties,
...ProxyResource.type.modelProperties,
identity: {
serializedName: "identity",
type: {
Expand Down Expand Up @@ -2907,6 +2925,12 @@ export const TaskRun: msRest.CompositeMapper = {
type: {
name: "String"
}
},
location: {
serializedName: "location",
type: {
name: "String"
}
}
}
}
Expand Down Expand Up @@ -2938,6 +2962,12 @@ export const TaskRunUpdateParameters: msRest.CompositeMapper = {
name: "String"
}
},
location: {
serializedName: "location",
type: {
name: "String"
}
},
tags: {
serializedName: "tags",
type: {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -247,6 +247,11 @@ export const taskRunName: msRest.OperationURLParameter = {
mapper: {
required: true,
serializedName: "taskRunName",
constraints: {
MaxLength: 50,
MinLength: 5,
Pattern: /^[a-zA-Z0-9-]*$/
},
type: {
name: "String"
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,22 +31,22 @@ export class TaskRuns {
* Gets the detailed information for a given task run.
* @param resourceGroupName The name of the resource group to which the container registry belongs.
* @param registryName The name of the container registry.
* @param taskRunName The run request name.
* @param taskRunName The name of the task run.
* @param [options] The optional parameters
* @returns Promise<Models.TaskRunsGetResponse>
*/
get(resourceGroupName: string, registryName: string, taskRunName: string, options?: msRest.RequestOptionsBase): Promise<Models.TaskRunsGetResponse>;
/**
* @param resourceGroupName The name of the resource group to which the container registry belongs.
* @param registryName The name of the container registry.
* @param taskRunName The run request name.
* @param taskRunName The name of the task run.
* @param callback The callback
*/
get(resourceGroupName: string, registryName: string, taskRunName: string, callback: msRest.ServiceCallback<Models.TaskRun>): void;
/**
* @param resourceGroupName The name of the resource group to which the container registry belongs.
* @param registryName The name of the container registry.
* @param taskRunName The run request name.
* @param taskRunName The name of the task run.
* @param options The optional parameters
* @param callback The callback
*/
Expand All @@ -67,7 +67,7 @@ export class TaskRuns {
* Creates a task run for a container registry with the specified parameters.
* @param resourceGroupName The name of the resource group to which the container registry belongs.
* @param registryName The name of the container registry.
* @param taskRunName The name of task run.
* @param taskRunName The name of the task run.
* @param taskRun The parameters of a run that needs to scheduled.
* @param [options] The optional parameters
* @returns Promise<Models.TaskRunsCreateResponse>
Expand All @@ -81,7 +81,7 @@ export class TaskRuns {
* Deletes a specified task run resource.
* @param resourceGroupName The name of the resource group to which the container registry belongs.
* @param registryName The name of the container registry.
* @param taskRunName The task run name.
* @param taskRunName The name of the task run.
* @param [options] The optional parameters
* @returns Promise<msRest.RestResponse>
*/
Expand All @@ -94,7 +94,7 @@ export class TaskRuns {
* Updates a task run with the specified parameters.
* @param resourceGroupName The name of the resource group to which the container registry belongs.
* @param registryName The name of the container registry.
* @param taskRunName The task run name.
* @param taskRunName The name of the task run.
* @param updateParameters The parameters for updating a task run.
* @param [options] The optional parameters
* @returns Promise<Models.TaskRunsUpdateResponse>
Expand All @@ -108,22 +108,22 @@ export class TaskRuns {
* Gets the detailed information for a given task run that includes all secrets.
* @param resourceGroupName The name of the resource group to which the container registry belongs.
* @param registryName The name of the container registry.
* @param taskRunName The run request name.
* @param taskRunName The name of the task run.
* @param [options] The optional parameters
* @returns Promise<Models.TaskRunsGetDetailsResponse>
*/
getDetails(resourceGroupName: string, registryName: string, taskRunName: string, options?: msRest.RequestOptionsBase): Promise<Models.TaskRunsGetDetailsResponse>;
/**
* @param resourceGroupName The name of the resource group to which the container registry belongs.
* @param registryName The name of the container registry.
* @param taskRunName The run request name.
* @param taskRunName The name of the task run.
* @param callback The callback
*/
getDetails(resourceGroupName: string, registryName: string, taskRunName: string, callback: msRest.ServiceCallback<Models.TaskRun>): void;
/**
* @param resourceGroupName The name of the resource group to which the container registry belongs.
* @param registryName The name of the container registry.
* @param taskRunName The run request name.
* @param taskRunName The name of the task run.
* @param options The optional parameters
* @param callback The callback
*/
Expand Down Expand Up @@ -176,7 +176,7 @@ export class TaskRuns {
* Creates a task run for a container registry with the specified parameters.
* @param resourceGroupName The name of the resource group to which the container registry belongs.
* @param registryName The name of the container registry.
* @param taskRunName The name of task run.
* @param taskRunName The name of the task run.
* @param taskRun The parameters of a run that needs to scheduled.
* @param [options] The optional parameters
* @returns Promise<msRestAzure.LROPoller>
Expand All @@ -198,7 +198,7 @@ export class TaskRuns {
* Deletes a specified task run resource.
* @param resourceGroupName The name of the resource group to which the container registry belongs.
* @param registryName The name of the container registry.
* @param taskRunName The task run name.
* @param taskRunName The name of the task run.
* @param [options] The optional parameters
* @returns Promise<msRestAzure.LROPoller>
*/
Expand All @@ -218,7 +218,7 @@ export class TaskRuns {
* Updates a task run with the specified parameters.
* @param resourceGroupName The name of the resource group to which the container registry belongs.
* @param registryName The name of the container registry.
* @param taskRunName The task run name.
* @param taskRunName The name of the task run.
* @param updateParameters The parameters for updating a task run.
* @param [options] The optional parameters
* @returns Promise<msRestAzure.LROPoller>
Expand Down

0 comments on commit 9bd2fc0

Please sign in to comment.