Share via


ContainerRegistryTaskStepUpdateContent Class

Definition

Base properties for updating any task step. Please note ContainerRegistryTaskStepUpdateContent 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 ContainerRegistryDockerBuildStepUpdateContent, ContainerRegistryEncodedTaskStepUpdateContent and ContainerRegistryFileTaskStepUpdateContent.

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

Constructors

ContainerRegistryTaskStepUpdateContent()

Initializes a new instance of ContainerRegistryTaskStepUpdateContent.

Properties

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<ContainerRegistryTaskStepUpdateContent>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<ContainerRegistryTaskStepUpdateContent>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<ContainerRegistryTaskStepUpdateContent>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<ContainerRegistryTaskStepUpdateContent>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<ContainerRegistryTaskStepUpdateContent>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to