Show / Hide Table of Contents

    Class GeoBackupPolicy

    A database geo backup policy.

    Inheritance
    Object
    Resource
    ProxyResource
    GeoBackupPolicy
    Inherited Members
    Resource.Id
    Resource.Name
    Resource.Type
    Namespace: System.Dynamic.ExpandoObject
    Assembly: Microsoft.Azure.Management.Sql.dll
    Syntax
    [Microsoft.Rest.Serialization.JsonTransformation]
    public class GeoBackupPolicy : Microsoft.Azure.Management.Sql.Models.ProxyResource

    Constructors

    GeoBackupPolicy()

    Initializes a new instance of the GeoBackupPolicy class.

    Declaration
    public GeoBackupPolicy ();

    GeoBackupPolicy(GeoBackupPolicyState, String, String, String, String, String, String)

    Initializes a new instance of the GeoBackupPolicy class.

    Declaration
    public GeoBackupPolicy (Microsoft.Azure.Management.Sql.Models.GeoBackupPolicyState state, string id = null, string name = null, string type = null, string storageType = null, string kind = null, string location = null);
    Parameters
    GeoBackupPolicyState state

    The state of the geo backup policy. Possible values include: 'Disabled', 'Enabled'

    String id

    Resource ID.

    String name

    Resource name.

    String type

    Resource type.

    String storageType

    The storage type of the geo backup policy.

    String kind

    Kind of geo backup policy. This is metadata used for the Azure portal experience.

    String location

    Backup policy location.

    Properties

    Kind

    Gets kind of geo backup policy. This is metadata used for the Azure portal experience.

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

    Location

    Gets backup policy location.

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

    State

    Gets or sets the state of the geo backup policy. Possible values include: 'Disabled', 'Enabled'

    Declaration
    [Newtonsoft.Json.JsonProperty(PropertyName="properties.state")]
    public Microsoft.Azure.Management.Sql.Models.GeoBackupPolicyState State { get; set; }
    Property Value
    GeoBackupPolicyState

    StorageType

    Gets the storage type of the geo backup policy.

    Declaration
    [Newtonsoft.Json.JsonProperty(PropertyName="properties.storageType")]
    public string StorageType { get; }
    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