Share via


ArmServiceFabricModelFactory.ServiceFabricApplicationPatch Method

Definition

Initializes a new instance of ServiceFabricApplicationPatch.

public static Azure.ResourceManager.ServiceFabric.Models.ServiceFabricApplicationPatch ServiceFabricApplicationPatch (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, string typeVersion = default, System.Collections.Generic.IDictionary<string,string> parameters = default, Azure.ResourceManager.ServiceFabric.Models.ApplicationUpgradePolicy upgradePolicy = default, long? minimumNodes = default, long? maximumNodes = default, bool? removeApplicationCapacity = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.ServiceFabric.Models.ApplicationMetricDescription> metrics = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.ServiceFabric.Models.ApplicationUserAssignedIdentity> managedIdentities = default, Azure.ETag? etag = default);
static member ServiceFabricApplicationPatch : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * System.Collections.Generic.IDictionary<string, string> * Azure.Core.AzureLocation * string * System.Collections.Generic.IDictionary<string, string> * Azure.ResourceManager.ServiceFabric.Models.ApplicationUpgradePolicy * Nullable<int64> * Nullable<int64> * Nullable<bool> * seq<Azure.ResourceManager.ServiceFabric.Models.ApplicationMetricDescription> * seq<Azure.ResourceManager.ServiceFabric.Models.ApplicationUserAssignedIdentity> * Nullable<Azure.ETag> -> Azure.ResourceManager.ServiceFabric.Models.ServiceFabricApplicationPatch
Public Shared Function ServiceFabricApplicationPatch (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 typeVersion As String = Nothing, Optional parameters As IDictionary(Of String, String) = Nothing, Optional upgradePolicy As ApplicationUpgradePolicy = Nothing, Optional minimumNodes As Nullable(Of Long) = Nothing, Optional maximumNodes As Nullable(Of Long) = Nothing, Optional removeApplicationCapacity As Nullable(Of Boolean) = Nothing, Optional metrics As IEnumerable(Of ApplicationMetricDescription) = Nothing, Optional managedIdentities As IEnumerable(Of ApplicationUserAssignedIdentity) = Nothing, Optional etag As Nullable(Of ETag) = Nothing) As ServiceFabricApplicationPatch

Parameters

id
ResourceIdentifier

The id.

name
String

The name.

resourceType
ResourceType

The resourceType.

systemData
SystemData

The systemData.

tags
IDictionary<String,String>

The tags.

location
AzureLocation

The location.

typeVersion
String

The version of the application type as defined in the application manifest.

parameters
IDictionary<String,String>

List of application parameters with overridden values from their default values specified in the application manifest.

upgradePolicy
ApplicationUpgradePolicy

Describes the policy for a monitored application upgrade.

minimumNodes
Nullable<Int64>

The minimum number of nodes where Service Fabric will reserve capacity for this application. Note that this does not mean that the services of this application will be placed on all of those nodes. If this property is set to zero, no capacity will be reserved. The value of this property cannot be more than the value of the MaximumNodes property.

maximumNodes
Nullable<Int64>

The maximum number of nodes where Service Fabric will reserve capacity for this application. Note that this does not mean that the services of this application will be placed on all of those nodes. By default, the value of this property is zero and it means that the services can be placed on any node.

removeApplicationCapacity
Nullable<Boolean>

Remove the current application capacity settings.

metrics
IEnumerable<ApplicationMetricDescription>

List of application capacity metric description.

managedIdentities
IEnumerable<ApplicationUserAssignedIdentity>

List of user assigned identities for the application, each mapped to a friendly name.

etag
Nullable<ETag>

Azure resource etag.

Returns

A new ServiceFabricApplicationPatch instance for mocking.

Applies to