ApplicationResource Constructors
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.
Overloads
ApplicationResource() |
Initializes a new instance of the ApplicationResource class. |
ApplicationResource(String, String, String, String, IDictionary<String, String>, String, ManagedIdentity, String, IDictionary<String, String>, ApplicationUpgradePolicy, Nullable<Int64>, Nullable<Int64>, Nullable<Boolean>, IList<ApplicationMetricDescription>, IList<ApplicationUserAssignedIdentity>, String, String) |
Initializes a new instance of the ApplicationResource class. |
ApplicationResource()
Initializes a new instance of the ApplicationResource class.
public ApplicationResource ();
Public Sub New ()
Applies to
ApplicationResource(String, String, String, String, IDictionary<String, String>, String, ManagedIdentity, String, IDictionary<String, String>, ApplicationUpgradePolicy, Nullable<Int64>, Nullable<Int64>, Nullable<Boolean>, IList<ApplicationMetricDescription>, IList<ApplicationUserAssignedIdentity>, String, String)
Initializes a new instance of the ApplicationResource class.
public ApplicationResource (string id = default, string name = default, string type = default, string location = default, System.Collections.Generic.IDictionary<string,string> tags = default, string etag = default, Microsoft.Azure.Management.ServiceFabric.Models.ManagedIdentity identity = default, string typeVersion = default, System.Collections.Generic.IDictionary<string,string> parameters = default, Microsoft.Azure.Management.ServiceFabric.Models.ApplicationUpgradePolicy upgradePolicy = default, long? minimumNodes = default, long? maximumNodes = default, bool? removeApplicationCapacity = default, System.Collections.Generic.IList<Microsoft.Azure.Management.ServiceFabric.Models.ApplicationMetricDescription> metrics = default, System.Collections.Generic.IList<Microsoft.Azure.Management.ServiceFabric.Models.ApplicationUserAssignedIdentity> managedIdentities = default, string provisioningState = default, string typeName = default);
new Microsoft.Azure.Management.ServiceFabric.Models.ApplicationResource : string * string * string * string * System.Collections.Generic.IDictionary<string, string> * string * Microsoft.Azure.Management.ServiceFabric.Models.ManagedIdentity * string * System.Collections.Generic.IDictionary<string, string> * Microsoft.Azure.Management.ServiceFabric.Models.ApplicationUpgradePolicy * Nullable<int64> * Nullable<int64> * Nullable<bool> * System.Collections.Generic.IList<Microsoft.Azure.Management.ServiceFabric.Models.ApplicationMetricDescription> * System.Collections.Generic.IList<Microsoft.Azure.Management.ServiceFabric.Models.ApplicationUserAssignedIdentity> * string * string -> Microsoft.Azure.Management.ServiceFabric.Models.ApplicationResource
Public Sub New (Optional id As String = Nothing, Optional name As String = Nothing, Optional type As String = Nothing, Optional location As String = Nothing, Optional tags As IDictionary(Of String, String) = Nothing, Optional etag As String = Nothing, Optional identity As ManagedIdentity = 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 IList(Of ApplicationMetricDescription) = Nothing, Optional managedIdentities As IList(Of ApplicationUserAssignedIdentity) = Nothing, Optional provisioningState As String = Nothing, Optional typeName As String = Nothing)
Parameters
- id
- String
Azure resource identifier.
- name
- String
Azure resource name.
- type
- String
Azure resource type.
- location
- String
It will be deprecated in New API, resource location depends on the parent resource.
- tags
- IDictionary<String,String>
Azure resource tags.
- etag
- String
Azure resource etag.
- identity
- ManagedIdentity
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
- IList<ApplicationMetricDescription>
List of application capacity metric description.
- managedIdentities
- IList<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.
Applies to
Azure SDK for .NET