BatchApplicationPackageReference Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Link to an application package inside the batch account.
public class BatchApplicationPackageReference : System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.Batch.Models.BatchApplicationPackageReference>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.Batch.Models.BatchApplicationPackageReference>
public class BatchApplicationPackageReference
type BatchApplicationPackageReference = class
interface IJsonModel<BatchApplicationPackageReference>
interface IPersistableModel<BatchApplicationPackageReference>
type BatchApplicationPackageReference = class
Public Class BatchApplicationPackageReference
Implements IJsonModel(Of BatchApplicationPackageReference), IPersistableModel(Of BatchApplicationPackageReference)
Public Class BatchApplicationPackageReference
- Inheritance
-
BatchApplicationPackageReference
- Implements
Constructors
BatchApplicationPackageReference(ResourceIdentifier) |
Initializes a new instance of BatchApplicationPackageReference. |
Properties
Id |
The ID of the application package to install. This must be inside the same batch account as the pool. This can either be a reference to a specific version or the default version if one exists. |
Version |
If this is omitted, and no default version is specified for this application, the request fails with the error code InvalidApplicationPackageReferences. If you are calling the REST API directly, the HTTP status code is 409. |
Explicit Interface Implementations
IJsonModel<BatchApplicationPackageReference>.Create(Utf8JsonReader, ModelReaderWriterOptions) |
Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model. |
IJsonModel<BatchApplicationPackageReference>.Write(Utf8JsonWriter, ModelReaderWriterOptions) |
Writes the model to the provided Utf8JsonWriter. |
IPersistableModel<BatchApplicationPackageReference>.Create(BinaryData, ModelReaderWriterOptions) |
Converts the provided BinaryData into a model. |
IPersistableModel<BatchApplicationPackageReference>.GetFormatFromOptions(ModelReaderWriterOptions) |
Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service. |
IPersistableModel<BatchApplicationPackageReference>.Write(ModelReaderWriterOptions) |
Writes the model into a BinaryData. |
Applies to
Azure SDK for .NET