TargetRegion 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.
Describes the target region information.
public class TargetRegion : System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.Compute.Models.TargetRegion>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.Compute.Models.TargetRegion>
type TargetRegion = class
interface IJsonModel<TargetRegion>
interface IPersistableModel<TargetRegion>
Public Class TargetRegion
Implements IJsonModel(Of TargetRegion), IPersistableModel(Of TargetRegion)
- Inheritance
-
TargetRegion
- Implements
Constructors
TargetRegion(String) |
Initializes a new instance of TargetRegion. |
Properties
Encryption |
Optional. Allows users to provide customer managed keys for encrypting the OS and data disks in the gallery artifact. |
IsExcludedFromLatest |
Contains the flag setting to hide an image when users specify version='latest'. |
Name |
The name of the region. |
RegionalReplicaCount |
The number of replicas of the Image Version to be created per region. This property is updatable. |
StorageAccountType |
Specifies the storage account type to be used to store the image. This property is not updatable. |
Methods
JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions) |
Explicit Interface Implementations
IJsonModel<TargetRegion>.Create(Utf8JsonReader, ModelReaderWriterOptions) |
Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model. |
IJsonModel<TargetRegion>.Write(Utf8JsonWriter, ModelReaderWriterOptions) |
Writes the model to the provided Utf8JsonWriter. |
IPersistableModel<TargetRegion>.Create(BinaryData, ModelReaderWriterOptions) |
Converts the provided BinaryData into a model. |
IPersistableModel<TargetRegion>.GetFormatFromOptions(ModelReaderWriterOptions) |
Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service. |
IPersistableModel<TargetRegion>.Write(ModelReaderWriterOptions) |
Writes the model into a BinaryData. |