ApplicationResourceInner Class
- java.
lang. Object - com.
azure. core. management. ProxyResource - com.
azure. resourcemanager. servicefabric. fluent. models. ApplicationResourceInner
- com.
- com.
public final class ApplicationResourceInner
extends ProxyResource
The application resource.
Constructor Summary
| Constructor | Description |
|---|---|
| ApplicationResourceInner() |
Creates an instance of Application |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| String |
etag()
Get the etag property: Azure resource etag. |
|
static
Application |
fromJson(JsonReader jsonReader)
Reads an instance of Application |
| String |
id()
Get the id property: Fully qualified resource Id for the resource. |
|
Managed |
identity()
Get the identity property: Describes the managed identities for an Azure resource. |
| String |
location()
Get the location property: It will be deprecated in New API, resource location depends on the parent resource. |
|
List<Application |
managedIdentities()
Get the managed |
| Long |
maximumNodes()
Get the maximum |
|
List<Application |
metrics()
Get the metrics property: List of application capacity metric description. |
| Long |
minimumNodes()
Get the minimum |
| String |
name()
Get the name property: The name of the resource. |
| Map<String,String> |
parameters()
Get the parameters property: List of application parameters with overridden values from their default values specified in the application manifest. |
| String |
provisioningState()
Get the provisioning |
| Boolean |
removeApplicationCapacity()
Get the remove |
|
System |
systemData()
Get the system |
| Map<String,String> |
tags()
Get the tags property: Azure resource tags. |
|
Json |
toJson(JsonWriter jsonWriter) |
| String |
type()
Get the type property: The type of the resource. |
| String |
typeName()
Get the type |
| String |
typeVersion()
Get the type |
|
Application |
upgradePolicy()
Get the upgrade |
| void |
validate()
Validates the instance. |
|
Application |
withIdentity(ManagedIdentity identity)
Set the identity property: Describes the managed identities for an Azure resource. |
|
Application |
withLocation(String location)
Set the location property: It will be deprecated in New API, resource location depends on the parent resource. |
|
Application |
withManagedIdentities(List<ApplicationUserAssignedIdentity> managedIdentities)
Set the managed |
|
Application |
withMaximumNodes(Long maximumNodes)
Set the maximum |
|
Application |
withMetrics(List<ApplicationMetricDescription> metrics)
Set the metrics property: List of application capacity metric description. |
|
Application |
withMinimumNodes(Long minimumNodes)
Set the minimum |
|
Application |
withParameters(Map<String,String> parameters)
Set the parameters property: List of application parameters with overridden values from their default values specified in the application manifest. |
|
Application |
withRemoveApplicationCapacity(Boolean removeApplicationCapacity)
Set the remove |
|
Application |
withTags(Map<String,String> tags)
Set the tags property: Azure resource tags. |
|
Application |
withTypeName(String typeName)
Set the type |
|
Application |
withTypeVersion(String typeVersion)
Set the type |
|
Application |
withUpgradePolicy(ApplicationUpgradePolicy upgradePolicy)
Set the upgrade |
Methods inherited from ProxyResource
Methods inherited from java.lang.Object
Constructor Details
ApplicationResourceInner
public ApplicationResourceInner()
Creates an instance of ApplicationResourceInner class.
Method Details
etag
public String etag()
Get the etag property: Azure resource etag.
Returns:
fromJson
public static ApplicationResourceInner fromJson(JsonReader jsonReader)
Reads an instance of ApplicationResourceInner from the JsonReader.
Parameters:
Returns:
Throws:
id
public String id()
Get the id property: Fully qualified resource Id for the resource.
Overrides:
ApplicationResourceInner.id()Returns:
identity
public ManagedIdentity identity()
Get the identity property: Describes the managed identities for an Azure resource.
Returns:
location
public String location()
Get the location property: It will be deprecated in New API, resource location depends on the parent resource.
Returns:
managedIdentities
public List<ApplicationUserAssignedIdentity> managedIdentities()
Get the managedIdentities property: List of user assigned identities for the application, each mapped to a friendly name.
Returns:
maximumNodes
public Long maximumNodes()
Get 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.
Returns:
metrics
public List<ApplicationMetricDescription> metrics()
Get the metrics property: List of application capacity metric description.
Returns:
minimumNodes
public Long minimumNodes()
Get the minimumNodes property: 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.
Returns:
name
public String name()
Get the name property: The name of the resource.
Overrides:
ApplicationResourceInner.name()Returns:
parameters
public Map<String,String> parameters()
Get the parameters property: List of application parameters with overridden values from their default values specified in the application manifest.
Returns:
provisioningState
public String provisioningState()
Get the provisioningState property: The current deployment or provisioning state, which only appears in the response.
Returns:
removeApplicationCapacity
public Boolean removeApplicationCapacity()
Get the removeApplicationCapacity property: Remove the current application capacity settings.
Returns:
systemData
public SystemData systemData()
Get the systemData property: Metadata pertaining to creation and last modification of the resource.
Returns:
tags
public Map<String,String> tags()
Get the tags property: Azure resource tags.
Returns:
toJson
public JsonWriter toJson(JsonWriter jsonWriter)
Overrides:
ApplicationResourceInner.toJson(JsonWriter jsonWriter)Parameters:
Throws:
type
public String type()
Get the type property: The type of the resource.
Overrides:
ApplicationResourceInner.type()Returns:
typeName
public String typeName()
Get the typeName property: The application type name as defined in the application manifest.
Returns:
typeVersion
public String typeVersion()
Get the typeVersion property: The version of the application type as defined in the application manifest.
Returns:
upgradePolicy
public ApplicationUpgradePolicy upgradePolicy()
Get the upgradePolicy property: Describes the policy for a monitored application upgrade.
Returns:
validate
public void validate()
Validates the instance.
withIdentity
public ApplicationResourceInner withIdentity(ManagedIdentity identity)
Set the identity property: Describes the managed identities for an Azure resource.
Parameters:
Returns:
withLocation
public ApplicationResourceInner withLocation(String location)
Set the location property: It will be deprecated in New API, resource location depends on the parent resource.
Parameters:
Returns:
withManagedIdentities
public ApplicationResourceInner withManagedIdentities(List<ApplicationUserAssignedIdentity> managedIdentities)
Set the managedIdentities property: List of user assigned identities for the application, each mapped to a friendly name.
Parameters:
Returns:
withMaximumNodes
public ApplicationResourceInner withMaximumNodes(Long maximumNodes)
Set 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.
Parameters:
Returns:
withMetrics
public ApplicationResourceInner withMetrics(List<ApplicationMetricDescription> metrics)
Set the metrics property: List of application capacity metric description.
Parameters:
Returns:
withMinimumNodes
public ApplicationResourceInner withMinimumNodes(Long minimumNodes)
Set the minimumNodes property: 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.
Parameters:
Returns:
withParameters
public ApplicationResourceInner withParameters(Map<String,String> parameters)
Set the parameters property: List of application parameters with overridden values from their default values specified in the application manifest.
Parameters:
Returns:
withRemoveApplicationCapacity
public ApplicationResourceInner withRemoveApplicationCapacity(Boolean removeApplicationCapacity)
Set the removeApplicationCapacity property: Remove the current application capacity settings.
Parameters:
Returns:
withTags
public ApplicationResourceInner withTags(Map<String,String> tags)
Set the tags property: Azure resource tags.
Parameters:
Returns:
withTypeName
public ApplicationResourceInner withTypeName(String typeName)
Set the typeName property: The application type name as defined in the application manifest.
Parameters:
Returns:
withTypeVersion
public ApplicationResourceInner withTypeVersion(String typeVersion)
Set the typeVersion property: The version of the application type as defined in the application manifest.
Parameters:
Returns:
withUpgradePolicy
public ApplicationResourceInner withUpgradePolicy(ApplicationUpgradePolicy upgradePolicy)
Set the upgradePolicy property: Describes the policy for a monitored application upgrade.
Parameters:
Returns: