ArmServiceFabricModelFactory.ServiceFabricApplicationData Method

Definition

public static Azure.ResourceManager.ServiceFabric.ServiceFabricApplicationData ServiceFabricApplicationData(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, string provisioningState = default, string typeName = default, Azure.ETag? eTag = default, Azure.ResourceManager.Models.ManagedServiceIdentity identity = default);
static member ServiceFabricApplicationData : 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> * string * string * Nullable<Azure.ETag> * Azure.ResourceManager.Models.ManagedServiceIdentity -> Azure.ResourceManager.ServiceFabric.ServiceFabricApplicationData
Public Shared Function ServiceFabricApplicationData (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 provisioningState As String = Nothing, Optional typeName As String = Nothing, Optional eTag As Nullable(Of ETag) = Nothing, Optional identity As ManagedServiceIdentity = Nothing) As ServiceFabricApplicationData

Parameters

id
ResourceIdentifier

Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}.

name
String

The name of the resource.

resourceType
ResourceType

The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts".

systemData
SystemData

Azure Resource Manager metadata containing createdBy and modifiedBy information.

tags
IDictionary<String,String>

Resource tags.

location
AzureLocation

The geo-location where the resource lives.

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.

provisioningState
String

The current deployment or provisioning state, which only appears in the response.

typeName
String

The application type name as defined in the application manifest.

eTag
Nullable<ETag>

Azure resource etag.

identity
ManagedServiceIdentity

The managed service identities assigned to this resource.

Returns

A new ServiceFabricApplicationData instance for mocking.

Applies to