ApplicationResource Class

The application resource.

Variables are only populated by the server, and will be ignored when sending a request.

Inheritance
azure.mgmt.servicefabric.models._models_py3.ProxyResource
ApplicationResource

Constructor

ApplicationResource(*, location: Optional[str] = None, tags: Optional[Dict[str, str]] = None, identity: Optional[azure.mgmt.servicefabric.models._models_py3.ManagedIdentity] = None, type_version: Optional[str] = None, parameters: Optional[Dict[str, str]] = None, upgrade_policy: Optional[azure.mgmt.servicefabric.models._models_py3.ApplicationUpgradePolicy] = None, minimum_nodes: Optional[int] = None, maximum_nodes: Optional[int] = 0, remove_application_capacity: Optional[bool] = None, metrics: Optional[List[azure.mgmt.servicefabric.models._models_py3.ApplicationMetricDescription]] = None, managed_identities: Optional[List[azure.mgmt.servicefabric.models._models_py3.ApplicationUserAssignedIdentity]] = None, type_name: Optional[str] = None, **kwargs)

Parameters

location
str
Required

It will be deprecated in New API, resource location depends on the parent resource.

tags
dict[str, str]
Required

A set of tags. Azure resource tags.

identity
ManagedIdentity
Required

Describes the managed identities for an Azure resource.

type_version
str
Required

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

parameters
dict[str, str]
Required

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

upgrade_policy
ApplicationUpgradePolicy
Required

Describes the policy for a monitored application upgrade.

minimum_nodes
<xref:long>
Required

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.

maximum_nodes
<xref:long>
Required

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.

remove_application_capacity
bool
Required

Remove the current application capacity settings.

metrics
list[ApplicationMetricDescription]
Required

List of application capacity metric description.

managed_identities
list[ApplicationUserAssignedIdentity]
Required

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

type_name
str
Required

The application type name as defined in the application manifest.

Variables

id
str

Azure resource identifier.

name
str

Azure resource name.

type
str

Azure resource type.

etag
str

Azure resource etag.

system_data
SystemData

Metadata pertaining to creation and last modification of the resource.

provisioning_state
str

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