共用方式為


ArmSqlModelFactory.GeoBackupPolicyData Method

Definition

Initializes a new instance of GeoBackupPolicyData.

public static Azure.ResourceManager.Sql.GeoBackupPolicyData GeoBackupPolicyData (Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType resourceType = default, Azure.ResourceManager.Models.SystemData systemData = default, string kind = default, Azure.Core.AzureLocation? location = default, Azure.ResourceManager.Sql.Models.GeoBackupPolicyState state = Azure.ResourceManager.Sql.Models.GeoBackupPolicyState.Disabled, string storageType = default);
static member GeoBackupPolicyData : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * string * Nullable<Azure.Core.AzureLocation> * Azure.ResourceManager.Sql.Models.GeoBackupPolicyState * string -> Azure.ResourceManager.Sql.GeoBackupPolicyData
Public Shared Function GeoBackupPolicyData (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional resourceType As ResourceType = Nothing, Optional systemData As SystemData = Nothing, Optional kind As String = Nothing, Optional location As Nullable(Of AzureLocation) = Nothing, Optional state As GeoBackupPolicyState = Azure.ResourceManager.Sql.Models.GeoBackupPolicyState.Disabled, Optional storageType As String = Nothing) As GeoBackupPolicyData

Parameters

id
ResourceIdentifier

The id.

name
String

The name.

resourceType
ResourceType

The resourceType.

systemData
SystemData

The systemData.

kind
String

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

location
Nullable<AzureLocation>

Backup policy location.

state
GeoBackupPolicyState

The state of the geo backup policy.

storageType
String

The storage type of the geo backup policy.

Returns

A new GeoBackupPolicyData instance for mocking.

Applies to