Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the MIT License. See License.txt in the project root for license information.
/** * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See License.txt in the project root for * license information. */
package com.microsoft.azure.management.containerregistry; import com.microsoft.azure.management.apigeneration.Beta; import com.microsoft.azure.management.apigeneration.Fluent; import com.microsoft.azure.management.resources.fluentcore.model.Attachable; import java.util.Map;
An immutable client-side representation of an Azure registry file task run request.
/** * An immutable client-side representation of an Azure registry file task run request. */
@Fluent() @Beta(Beta.SinceVersion.V1_17_0) public interface RegistryFileTaskRunRequest {
Returns:the length of the timeout.
/** * @return the length of the timeout. */
int timeout();
Returns:the properties of the platform.
/** * @return the properties of the platform. */
PlatformProperties platform();
Returns:the number of CPUs.
/** * @return the number of CPUs. */
int cpuCount();
Returns:the location of the source control.
/** * @return the location of the source control. */
String sourceLocation();
Returns:whether archive is enabled.
/** * @return whether archive is enabled. */
boolean isArchiveEnabled();
Container interface for all the definitions related to a registry file task run request.
/** * Container interface for all the definitions related to a registry file task run request. */
interface Definition extends DefinitionStages.Blank, DefinitionStages.FileTaskPath, DefinitionStages.FileTaskRunRequestStepAttachable { }
Grouping of registry file task run request definition stages.
/** * Grouping of registry file task run request definition stages. */
interface DefinitionStages {
The first stage of a file task run request definition.
/** * The first stage of a file task run request definition. */
interface Blank {
The function that begins the definition of the file task step in the task run request.
Returns:the next stage of the container file task run request definition.
/** * The function that begins the definition of the file task step in the task run request. * * @return the next stage of the container file task run request definition. */
FileTaskPath defineFileTaskStep(); }
The stage of the container file task run request definition that specifies the path to the task file.
/** * The stage of the container file task run request definition that specifies the path to the task file. */
interface FileTaskPath {
The function that specifies the path to the task file.
Params:
  • taskPath – the path to the task file.
Returns:the next stage of the container file task run request definition.
/** * The function that specifies the path to the task file. * * @param taskPath the path to the task file. * @return the next stage of the container file task run request definition. */
FileTaskRunRequestStepAttachable withTaskPath(String taskPath); }
The stage of the definition which contains all the minimum required inputs for the resource to be attached, but also allows for any other optional settings to be specified.
/** * The stage of the definition which contains all the minimum required inputs for the resource to be attached, * but also allows for any other optional settings to be specified. */
interface FileTaskRunRequestStepAttachable extends Attachable<RegistryTaskRun.DefinitionStages.RunRequestExecutableWithSourceLocation> {
The function that specifies the path to the values file.
Params:
  • valuesPath – the path to the values file.
Returns:the next stage of the container file task run request definition.
/** * The function that specifies the path to the values file. * * @param valuesPath the path to the values file. * @return the next stage of the container file task run request definition. */
FileTaskRunRequestStepAttachable withValuesPath(String valuesPath);
The function that specifies the overriding values and what they will override.
Params:
  • overridingValues – map with key of the name of the value to be overridden and value OverridingValue specifying the content of the overriding value.
Returns:the next stage of the container file task run request definition.
/** * The function that specifies the overriding values and what they will override. * * @param overridingValues map with key of the name of the value to be overridden and value OverridingValue specifying the content of the overriding value. * @return the next stage of the container file task run request definition. */
FileTaskRunRequestStepAttachable withOverridingValues(Map<String, OverridingValue> overridingValues);
The function that specifies the overriding value and what it will override.
Params:
  • name – the name of the value to be overridden.
  • overridingValue – the content of the overriding value.
Returns:the next stage of the container file task run request definition.
/** * The function that specifies the overriding value and what it will override. * * @param name the name of the value to be overridden. * @param overridingValue the content of the overriding value. * @return the next stage of the container file task run request definition. */
FileTaskRunRequestStepAttachable withOverridingValue(String name, OverridingValue overridingValue); } } }