Skip to content
This repository has been archived by the owner on May 5, 2023. It is now read-only.

Commit

Permalink
Merge pull request #3738 from Azure/restapi_auto_containerregistry/re…
Browse files Browse the repository at this point in the history
…source-manager

[AutoPR] containerregistry/resource-manager
  • Loading branch information
Dan Schulte authored Oct 1, 2018
2 parents fbfc576 + 6d972e2 commit abea13b
Show file tree
Hide file tree
Showing 28 changed files with 277 additions and 213 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@ class BaseImageTrigger {
* Create a BaseImageTrigger.
* @member {string} baseImageTriggerType The type of the auto trigger for
* base image dependency updates. Possible values include: 'All', 'Runtime'
* @member {string} [status] The current status of build trigger. Possible
* values include: 'Disabled', 'Enabled'
* @member {string} [status] The current status of trigger. Possible values
* include: 'Disabled', 'Enabled'
* @member {string} name The name of the trigger.
*/
constructor() {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@ class BaseImageTriggerUpdateParameters {
* Create a BaseImageTriggerUpdateParameters.
* @member {string} [baseImageTriggerType] The type of the auto trigger for
* base image dependency updates. Possible values include: 'All', 'Runtime'
* @member {string} [status] The current status of build trigger. Possible
* values include: 'Disabled', 'Enabled'
* @member {string} [status] The current status of trigger. Possible values
* include: 'Disabled', 'Enabled'
* @member {string} name The name of the trigger.
*/
constructor() {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,24 +31,23 @@ class DockerBuildRequest extends models['RunRequest'] {
* source location.
* @member {array} [argumentsProperty] The collection of override arguments
* to be used when executing the run.
* @member {string} sourceLocation The URL(absolute or relative) of the
* source that needs to be built. For Docker build, it can be an URL to a tar
* or github repoistory as supported by Docker.
* If it is relative URL, the relative path should be obtained from calling
* getSourceUploadUrl API.
* @member {number} [timeout] Build timeout in seconds. Default value: 3600 .
* @member {object} platform The platform properties against which the build
* will happen.
* @member {number} [timeout] Run timeout in seconds. Default value: 3600 .
* @member {object} platform The platform properties against which the run
* has to happen.
* @member {string} [platform.os] The operating system type required for the
* run. Possible values include: 'Windows', 'Linux'
* @member {string} [platform.architecture] The OS architecture. Possible
* values include: 'amd64', 'x86', 'arm'
* @member {string} [platform.variant] Variant of the CPU. Possible values
* include: 'v6', 'v7', 'v8'
* @member {object} [agentConfiguration] The machine configuration of the
* build agent.
* @member {object} [agentConfiguration] The machine configuration of the run
* agent.
* @member {number} [agentConfiguration.cpu] The CPU configuration in terms
* of number of cores required for the run.
* @member {string} [sourceLocation] The URL(absolute or relative) of the
* source context. It can be an URL to a tar or git repoistory.
* If it is relative URL, the relative path should be obtained from calling
* listBuildSourceUploadUrl API.
*/
constructor() {
super();
Expand Down Expand Up @@ -141,13 +140,6 @@ class DockerBuildRequest extends models['RunRequest'] {
}
}
},
sourceLocation: {
required: true,
serializedName: 'sourceLocation',
type: {
name: 'String'
}
},
timeout: {
required: false,
serializedName: 'timeout',
Expand Down Expand Up @@ -175,6 +167,13 @@ class DockerBuildRequest extends models['RunRequest'] {
name: 'Composite',
className: 'AgentProperties'
}
},
sourceLocation: {
required: false,
serializedName: 'sourceLocation',
type: {
name: 'String'
}
}
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,10 +31,6 @@ class DockerBuildStep extends models['TaskStepProperties'] {
* source context.
* @member {array} [argumentsProperty] The collection of override arguments
* to be used when executing this build step.
* @member {string} [contextPath] The URL(absolute or relative) of the source
* context for the build task.
* If it is relative, the context will be relative to the source repository
* URL of the build task.
*/
constructor() {
super();
Expand Down Expand Up @@ -75,6 +71,13 @@ class DockerBuildStep extends models['TaskStepProperties'] {
}
}
},
contextPath: {
required: false,
serializedName: 'contextPath',
type: {
name: 'String'
}
},
type: {
required: true,
serializedName: 'type',
Expand Down Expand Up @@ -134,13 +137,6 @@ class DockerBuildStep extends models['TaskStepProperties'] {
}
}
}
},
contextPath: {
required: false,
serializedName: 'contextPath',
type: {
name: 'String'
}
}
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,10 +30,6 @@ class DockerBuildStepUpdateParameters extends models['TaskStepUpdateParameters']
* source context.
* @member {array} [argumentsProperty] The collection of override arguments
* to be used when executing this build step.
* @member {string} [contextPath] The URL(absolute or relative) of the source
* context for the build task.
* If it is relative, the context will be relative to the source repository
* URL of the build task.
*/
constructor() {
super();
Expand All @@ -58,6 +54,13 @@ class DockerBuildStepUpdateParameters extends models['TaskStepUpdateParameters']
uberParent: 'TaskStepUpdateParameters',
className: 'DockerBuildStepUpdateParameters',
modelProperties: {
contextPath: {
required: false,
serializedName: 'contextPath',
type: {
name: 'String'
}
},
type: {
required: true,
serializedName: 'type',
Expand Down Expand Up @@ -115,13 +118,6 @@ class DockerBuildStepUpdateParameters extends models['TaskStepUpdateParameters']
}
}
}
},
contextPath: {
required: false,
serializedName: 'contextPath',
type: {
name: 'String'
}
}
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,19 +26,23 @@ class EncodedTaskRunRequest extends models['RunRequest'] {
* parameters/values file content.
* @member {array} [values] The collection of overridable values that can be
* passed when running a task.
* @member {number} [timeout] Build timeout in seconds. Default value: 3600 .
* @member {object} platform The platform properties against which the build
* will happen.
* @member {number} [timeout] Run timeout in seconds. Default value: 3600 .
* @member {object} platform The platform properties against which the run
* has to happen.
* @member {string} [platform.os] The operating system type required for the
* run. Possible values include: 'Windows', 'Linux'
* @member {string} [platform.architecture] The OS architecture. Possible
* values include: 'amd64', 'x86', 'arm'
* @member {string} [platform.variant] Variant of the CPU. Possible values
* include: 'v6', 'v7', 'v8'
* @member {object} [agentConfiguration] The machine configuration of the
* build agent.
* @member {object} [agentConfiguration] The machine configuration of the run
* agent.
* @member {number} [agentConfiguration.cpu] The CPU configuration in terms
* of number of cores required for the run.
* @member {string} [sourceLocation] The URL(absolute or relative) of the
* source context. It can be an URL to a tar or git repoistory.
* If it is relative URL, the relative path should be obtained from calling
* listBuildSourceUploadUrl API.
*/
constructor() {
super();
Expand Down Expand Up @@ -135,6 +139,13 @@ class EncodedTaskRunRequest extends models['RunRequest'] {
name: 'Composite',
className: 'AgentProperties'
}
},
sourceLocation: {
required: false,
serializedName: 'sourceLocation',
type: {
name: 'String'
}
}
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,13 @@ class EncodedTaskStep extends models['TaskStepProperties'] {
}
}
},
contextPath: {
required: false,
serializedName: 'contextPath',
type: {
name: 'String'
}
},
type: {
required: true,
serializedName: 'type',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,13 @@ class EncodedTaskStepUpdateParameters extends models['TaskStepUpdateParameters']
uberParent: 'TaskStepUpdateParameters',
className: 'EncodedTaskStepUpdateParameters',
modelProperties: {
contextPath: {
required: false,
serializedName: 'contextPath',
type: {
name: 'String'
}
},
type: {
required: true,
serializedName: 'type',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,24 +26,23 @@ class FileTaskRunRequest extends models['RunRequest'] {
* to the source.
* @member {array} [values] The collection of overridable values that can be
* passed when running a task.
* @member {string} sourceLocation The URL(absolute or relative) of the
* source that needs to be built. For Docker build, it can be an URL to a tar
* or github repoistory as supported by Docker.
* If it is relative URL, the relative path should be obtained from calling
* getSourceUploadUrl API.
* @member {number} [timeout] Build timeout in seconds. Default value: 3600 .
* @member {object} platform The platform properties against which the build
* will happen.
* @member {number} [timeout] Run timeout in seconds. Default value: 3600 .
* @member {object} platform The platform properties against which the run
* has to happen.
* @member {string} [platform.os] The operating system type required for the
* run. Possible values include: 'Windows', 'Linux'
* @member {string} [platform.architecture] The OS architecture. Possible
* values include: 'amd64', 'x86', 'arm'
* @member {string} [platform.variant] Variant of the CPU. Possible values
* include: 'v6', 'v7', 'v8'
* @member {object} [agentConfiguration] The machine configuration of the
* build agent.
* @member {object} [agentConfiguration] The machine configuration of the run
* agent.
* @member {number} [agentConfiguration.cpu] The CPU configuration in terms
* of number of cores required for the run.
* @member {string} [sourceLocation] The URL(absolute or relative) of the
* source context. It can be an URL to a tar or git repoistory.
* If it is relative URL, the relative path should be obtained from calling
* listBuildSourceUploadUrl API.
*/
constructor() {
super();
Expand Down Expand Up @@ -113,13 +112,6 @@ class FileTaskRunRequest extends models['RunRequest'] {
}
}
},
sourceLocation: {
required: true,
serializedName: 'sourceLocation',
type: {
name: 'String'
}
},
timeout: {
required: false,
serializedName: 'timeout',
Expand Down Expand Up @@ -147,6 +139,13 @@ class FileTaskRunRequest extends models['RunRequest'] {
name: 'Composite',
className: 'AgentProperties'
}
},
sourceLocation: {
required: false,
serializedName: 'sourceLocation',
type: {
name: 'String'
}
}
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,6 @@ class FileTaskStep extends models['TaskStepProperties'] {
* relative to the source context.
* @member {array} [values] The collection of overridable values that can be
* passed when running a task.
* @member {string} [contextPath] The URL(absolute or relative) of the source
* context for the build task.
* If it is relative, the context will be relative to the source repository
* URL of the build task.
*/
constructor() {
super();
Expand Down Expand Up @@ -70,6 +66,13 @@ class FileTaskStep extends models['TaskStepProperties'] {
}
}
},
contextPath: {
required: false,
serializedName: 'contextPath',
type: {
name: 'String'
}
},
type: {
required: true,
serializedName: 'type',
Expand Down Expand Up @@ -106,13 +109,6 @@ class FileTaskStep extends models['TaskStepProperties'] {
}
}
}
},
contextPath: {
required: false,
serializedName: 'contextPath',
type: {
name: 'String'
}
}
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,6 @@ class FileTaskStepUpdateParameters extends models['TaskStepUpdateParameters'] {
* to the source context.
* @member {array} [values] The collection of overridable values that can be
* passed when running a task.
* @member {string} [contextPath] The URL(absolute or relative) of the source
* context for the build task.
* If it is relative, the context will be relative to the source repository
* URL of the build task.
*/
constructor() {
super();
Expand All @@ -54,6 +50,13 @@ class FileTaskStepUpdateParameters extends models['TaskStepUpdateParameters'] {
uberParent: 'TaskStepUpdateParameters',
className: 'FileTaskStepUpdateParameters',
modelProperties: {
contextPath: {
required: false,
serializedName: 'contextPath',
type: {
name: 'String'
}
},
type: {
required: true,
serializedName: 'type',
Expand Down Expand Up @@ -90,13 +93,6 @@ class FileTaskStepUpdateParameters extends models['TaskStepUpdateParameters'] {
}
}
}
},
contextPath: {
required: false,
serializedName: 'contextPath',
type: {
name: 'String'
}
}
}
}
Expand Down
Loading

0 comments on commit abea13b

Please sign in to comment.