Show / Hide Table of Contents

    Class TargetRegion

    Describes the target region information.

    Inheritance
    Object
    TargetRegion
    Namespace: System.Dynamic.ExpandoObject
    Assembly: Microsoft.Azure.Management.Compute.dll
    Syntax
    public class TargetRegion

    Constructors

    TargetRegion()

    Initializes a new instance of the TargetRegion class.

    Declaration
    public TargetRegion ();

    TargetRegion(String, Nullable<Int32>, String)

    Initializes a new instance of the TargetRegion class.

    Declaration
    public TargetRegion (string name, Nullable<int> regionalReplicaCount = null, string storageAccountType = null);
    Parameters
    String name

    The name of the region.

    Nullable<Int32> regionalReplicaCount

    The number of replicas of the Image Version to be created per region. This property is updatable.

    String storageAccountType

    Specifies the storage account type to be used to store the image. This property is not updatable. Possible values include: 'Standard_LRS', 'Standard_ZRS'

    Properties

    Name

    Gets or sets the name of the region.

    Declaration
    [Newtonsoft.Json.JsonProperty(PropertyName="name")]
    public string Name { get; set; }
    Property Value
    String

    RegionalReplicaCount

    Gets or sets the number of replicas of the Image Version to be created per region. This property is updatable.

    Declaration
    [Newtonsoft.Json.JsonProperty(PropertyName="regionalReplicaCount")]
    public Nullable<int> RegionalReplicaCount { get; set; }
    Property Value
    Nullable<Int32>

    StorageAccountType

    Gets or sets specifies the storage account type to be used to store the image. This property is not updatable. Possible values include: 'Standard_LRS', 'Standard_ZRS'

    Declaration
    [Newtonsoft.Json.JsonProperty(PropertyName="storageAccountType")]
    public string StorageAccountType { get; set; }
    Property Value
    String

    Methods

    Validate()

    Validate the object.

    Declaration
    public virtual void Validate ();
    Exceptions
    ValidationException

    Thrown if validation fails

    Back to top Azure SDK for Net