共用方式為


ArmSqlModelFactory.ServiceObjectiveData Method

Definition

Initializes a new instance of ServiceObjectiveData.

public static Azure.ResourceManager.Sql.ServiceObjectiveData ServiceObjectiveData (Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType resourceType = default, Azure.ResourceManager.Models.SystemData systemData = default, string serviceObjectiveName = default, bool? isDefault = default, bool? isSystem = default, string description = default, bool? isEnabled = default);
static member ServiceObjectiveData : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * string * Nullable<bool> * Nullable<bool> * string * Nullable<bool> -> Azure.ResourceManager.Sql.ServiceObjectiveData
Public Shared Function ServiceObjectiveData (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional resourceType As ResourceType = Nothing, Optional systemData As SystemData = Nothing, Optional serviceObjectiveName As String = Nothing, Optional isDefault As Nullable(Of Boolean) = Nothing, Optional isSystem As Nullable(Of Boolean) = Nothing, Optional description As String = Nothing, Optional isEnabled As Nullable(Of Boolean) = Nothing) As ServiceObjectiveData

Parameters

id
ResourceIdentifier

The id.

name
String

The name.

resourceType
ResourceType

The resourceType.

systemData
SystemData

The systemData.

serviceObjectiveName
String

The name for the service objective.

isDefault
Nullable<Boolean>

Gets whether the service level objective is the default service objective.

isSystem
Nullable<Boolean>

Gets whether the service level objective is a system service objective.

description
String

The description for the service level objective.

isEnabled
Nullable<Boolean>

Gets whether the service level objective is enabled.

Returns

A new ServiceObjectiveData instance for mocking.

Applies to