共用方式為


ContainerRegistryTaskStepProperties Class

Definition

Base properties for any task step. Please note ContainerRegistryTaskStepProperties is the base class. According to the scenario, a derived class of the base class might need to be assigned here, or this property needs to be casted to one of the possible derived classes. The available derived classes include ContainerRegistryDockerBuildStep, ContainerRegistryEncodedTaskStep and ContainerRegistryFileTaskStep.

[System.ClientModel.Primitives.PersistableModelProxy(typeof(Azure.ResourceManager.ContainerRegistry.Models.UnknownTaskStepProperties))]
public abstract class ContainerRegistryTaskStepProperties : System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.ContainerRegistry.Models.ContainerRegistryTaskStepProperties>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.ContainerRegistry.Models.ContainerRegistryTaskStepProperties>
[<System.ClientModel.Primitives.PersistableModelProxy(typeof(Azure.ResourceManager.ContainerRegistry.Models.UnknownTaskStepProperties))>]
type ContainerRegistryTaskStepProperties = class
    interface IJsonModel<ContainerRegistryTaskStepProperties>
    interface IPersistableModel<ContainerRegistryTaskStepProperties>
Public MustInherit Class ContainerRegistryTaskStepProperties
Implements IJsonModel(Of ContainerRegistryTaskStepProperties), IPersistableModel(Of ContainerRegistryTaskStepProperties)
Inheritance
ContainerRegistryTaskStepProperties
Derived
Attributes
Implements

Constructors

ContainerRegistryTaskStepProperties()

Initializes a new instance of ContainerRegistryTaskStepProperties.

Properties

BaseImageDependencies

List of base image dependencies for a step.

ContextAccessToken

The token (git PAT or SAS token of storage account blob) associated with the context for a step.

ContextPath

The URL(absolute or relative) of the source context for the task step.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<ContainerRegistryTaskStepProperties>.Create(Utf8JsonReader, ModelReaderWriterOptions)

Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model.

IJsonModel<ContainerRegistryTaskStepProperties>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<ContainerRegistryTaskStepProperties>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<ContainerRegistryTaskStepProperties>.GetFormatFromOptions(ModelReaderWriterOptions)

Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service.

IPersistableModel<ContainerRegistryTaskStepProperties>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to