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 Encoded task run request.
/**
* An immutable client-side representation of an Azure registry Encoded task run request.
*/
@Fluent()
@Beta(Beta.SinceVersion.V1_17_0)
public interface RegistryEncodedTaskRunRequest {
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 Encoded task run request.
/**
* Container interface for all the definitions related to a registry Encoded task run request.
*/
interface Definition extends
DefinitionStages.Blank,
DefinitionStages.EncodedTaskContent,
DefinitionStages.EncodedTaskRunRequestStepAttachable {
}
Grouping of registry encoded task run request definition stages.
/**
* Grouping of registry encoded task run request definition stages.
*/
interface DefinitionStages {
The first stage of an encoded task run request definition.
/**
* The first stage of an encoded task run request definition.
*/
interface Blank {
The function that begins the definition of the encoded task step in the task run request.
Returns: the next stage of the container encoded task run request definition.
/**
* The function that begins the definition of the encoded task step in the task run request.
*
* @return the next stage of the container encoded task run request definition.
*/
EncodedTaskContent defineEncodedTaskStep();
}
The stage of the container encoded task run request definition that specifies the base64 encoded task content.
/**
* The stage of the container encoded task run request definition that specifies the base64 encoded task content.
*/
interface EncodedTaskContent {
The function that specifies the base64 encoded task content.
Params: - encodedTaskContent – the base64 encoded task content.
Returns: the next stage of the container encoded task run request definition.
/**
* The function that specifies the base64 encoded task content.
*
* @param encodedTaskContent the base64 encoded task content.
* @return the next stage of the container encoded task run request definition.
*/
EncodedTaskRunRequestStepAttachable withBase64EncodedTaskContent(String encodedTaskContent);
}
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 EncodedTaskRunRequestStepAttachable extends Attachable<RegistryTaskRun.DefinitionStages.RunRequestExecutableWithSourceLocation> {
The function that specifies the base64 encoded values content.
Params: - encodedValueContent – the base64 encoded values content.
Returns: the next stage of the container encoded task run request definition.
/**
* The function that specifies the base64 encoded values content.
*
* @param encodedValueContent the base64 encoded values content.
* @return the next stage of the container encoded task run request definition.
*/
EncodedTaskRunRequestStepAttachable withBase64EncodedValueContent(String encodedValueContent);
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 encoded 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 encoded task run request definition.
*/
EncodedTaskRunRequestStepAttachable 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 encoded 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 encoded task run request definition.
*/
EncodedTaskRunRequestStepAttachable withOverridingValue(String name, OverridingValue overridingValue);
}
}
}