Freigeben über


ArmServiceFabricManagedClustersModelFactory.ServiceFabricManagedServiceData Methode

Definition

Initialisiert eine neue instance von ServiceFabricManagedServiceData.

public static Azure.ResourceManager.ServiceFabricManagedClusters.ServiceFabricManagedServiceData ServiceFabricManagedServiceData (Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType resourceType = default, Azure.ResourceManager.Models.SystemData systemData = default, System.Collections.Generic.IDictionary<string,string> tags = default, Azure.Core.AzureLocation location = default, Azure.ResourceManager.ServiceFabricManagedClusters.Models.ManagedServiceProperties properties = default);
static member ServiceFabricManagedServiceData : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * System.Collections.Generic.IDictionary<string, string> * Azure.Core.AzureLocation * Azure.ResourceManager.ServiceFabricManagedClusters.Models.ManagedServiceProperties -> Azure.ResourceManager.ServiceFabricManagedClusters.ServiceFabricManagedServiceData
Public Shared Function ServiceFabricManagedServiceData (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional resourceType As ResourceType = Nothing, Optional systemData As SystemData = Nothing, Optional tags As IDictionary(Of String, String) = Nothing, Optional location As AzureLocation = Nothing, Optional properties As ManagedServiceProperties = Nothing) As ServiceFabricManagedServiceData

Parameter

id
ResourceIdentifier

Die ID.

name
String

Der Name.

resourceType
ResourceType

Der resourceType.

systemData
SystemData

SystemData.

tags
IDictionary<String,String>

Die Tags.

location
AzureLocation

Der Speicherort.

properties
ManagedServiceProperties

Die Eigenschaften der Dienstressource. Beachten Sie, dass ManagedServiceProperties(String, IEnumerable<ManagedServiceCorrelation>, IEnumerable<ManagedServiceLoadMetric>, IEnumerable<ManagedServicePlacementPolicy>, Nullable<ServiceFabricManagedServiceMoveCost>, IEnumerable<ManagedServiceScalingPolicy>, String, String, String, ManagedServicePartitionScheme, Nullable<ManagedServicePackageActivationMode>, String) die Basisklasse ist. Je nach Szenario muss hier möglicherweise eine abgeleitete Klasse der Basisklasse zugewiesen werden, oder diese Eigenschaft muss in eine der möglichen abgeleiteten Klassen umgewandelt werden. Zu den verfügbaren abgeleiteten Klassen gehören StatefulServiceProperties(String, IEnumerable<ManagedServiceCorrelation>, IEnumerable<ManagedServiceLoadMetric>, IEnumerable<ManagedServicePlacementPolicy>, Nullable<ServiceFabricManagedServiceMoveCost>, IEnumerable<ManagedServiceScalingPolicy>, String, String, ManagedServicePartitionScheme, Nullable<ManagedServicePackageActivationMode>, String, Nullable<Boolean>, Nullable<Int32>, Nullable<Int32>, Nullable<TimeSpan>, Nullable<TimeSpan>, Nullable<TimeSpan>, Nullable<TimeSpan>) und StatelessServiceProperties(String, IEnumerable<ManagedServiceCorrelation>, IEnumerable<ManagedServiceLoadMetric>, IEnumerable<ManagedServicePlacementPolicy>, Nullable<ServiceFabricManagedServiceMoveCost>, IEnumerable<ManagedServiceScalingPolicy>, String, String, ManagedServicePartitionScheme, Nullable<ManagedServicePackageActivationMode>, String, Int32, Nullable<Int32>, Nullable<Int32>).

Gibt zurück

Eine neue ServiceFabricManagedServiceData instance zum Simulieren.

Gilt für: