ArmServiceFabricModelFactory.ServiceFabricApplicationData Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Initializes a new instance of ServiceFabricApplicationData.
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, Azure.ResourceManager.Models.ManagedServiceIdentity identity = 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);
static member ServiceFabricApplicationData : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * System.Collections.Generic.IDictionary<string, string> * Azure.Core.AzureLocation * Azure.ResourceManager.Models.ManagedServiceIdentity * 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.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 identity As ManagedServiceIdentity = 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) As ServiceFabricApplicationData
Parameters
The id.
- name
- String
The name.
- resourceType
- ResourceType
The resourceType.
- systemData
- SystemData
The systemData.
- tags
- IDictionary<String,String>
The tags.
- location
- AzureLocation
The location.
- identity
- ManagedServiceIdentity
Describes the managed identities for an Azure resource.
- 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.
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.
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.
- 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.
Returns
A new ServiceFabricApplicationData instance for mocking.
Applies to
Azure SDK for .NET