Freigeben über


ArmAppPlatformModelFactory.AppPlatformServiceRegistryResourceRequirements Methode

Definition

Initialisiert eine neue instance von AppPlatformServiceRegistryResourceRequirements.

public static Azure.ResourceManager.AppPlatform.Models.AppPlatformServiceRegistryResourceRequirements AppPlatformServiceRegistryResourceRequirements (string cpu = default, string memory = default, int? instanceCount = default);
static member AppPlatformServiceRegistryResourceRequirements : string * string * Nullable<int> -> Azure.ResourceManager.AppPlatform.Models.AppPlatformServiceRegistryResourceRequirements
Public Shared Function AppPlatformServiceRegistryResourceRequirements (Optional cpu As String = Nothing, Optional memory As String = Nothing, Optional instanceCount As Nullable(Of Integer) = Nothing) As AppPlatformServiceRegistryResourceRequirements

Parameter

cpu
String

Cpu, die jedem instance der Dienstregistrierung zugeordnet ist.

memory
String

Arbeitsspeicher, der den einzelnen Dienstregistrierungs-instance zugeordnet ist.

instanceCount
Nullable<Int32>

Instanzanzahl der Dienstregistrierung.

Gibt zurück

Eine neue AppPlatformServiceRegistryResourceRequirements instance zum Mocking.

Gilt für: