Microsoft.ServiceFabric (preview:2025-03-01)

2025/11/10 • 3 updated methods

ManagedClusters_Update (updated)
Description Update the tags of of a Service Fabric managed cluster resource with the specified name.
Reference Link ¶

⚶ Changes

{
  "#id": "ManagedClusters_Update",
  "$responses": {
    "@added_90dfec953f7f44f4a24285616b9d6eba": {
      "#status": "202",
      "$headers": [
        {
          "#name": "azure-asyncoperation",
          "Description": "A link to the status monitor",
          "Type": "string"
        },
        {
          "#name": "location",
          "Description": "The Location header contains the URL where the status of the long running operation can be checked.",
          "Type": "string"
        }
      ],
      "$schema": {
        "Description": "The managed cluster resource",
        "Type": "object",
        "$properties": [
          {
            "#name": "properties",
            "Description": "The managed cluster resource properties",
            "Required": false,
            "Type": "object",
            "$properties": [
              {
                "#name": "dnsName",
                "Description": "The cluster dns name.",
                "Required": true,
                "Type": "string"
              },
              {
                "#name": "fqdn",
                "Description": "The fully qualified domain name associated with the public load balancer of the cluster.",
                "Required": false,
                "Type": "string"
              },
              {
                "#name": "ipv4Address",
                "Description": "The IPv4 address associated with the public load balancer of the cluster.",
                "Required": false,
                "Type": "string"
              },
              {
                "#name": "clusterId",
                "Description": "A service generated unique identifier for the cluster resource.",
                "Required": false,
                "Type": "string"
              },
              {
                "#name": "clusterState",
                "Description": "The current state of the cluster.",
                "Enum": [
                  [
                    "WaitingForNodes",
                    "Indicates that the cluster resource is created and the resource provider is waiting for Service Fabric VM extension to boot up and report to it."
                  ],
                  [
                    "Deploying",
                    "Indicates that the Service Fabric runtime is being installed on the VMs. Cluster resource will be in this state until the cluster boots up and system services are up."
                  ],
                  [
                    "BaselineUpgrade",
                    "Indicates that the cluster is upgrading to establishes the cluster version. This upgrade is automatically initiated when the cluster boots up for the first time."
                  ],
                  [
                    "Upgrading",
                    "Indicates that the cluster is being upgraded with the user provided configuration."
                  ],
                  [
                    "UpgradeFailed",
                    "Indicates that the last upgrade for the cluster has failed."
                  ],
                  [
                    "Ready",
                    "Indicates that the cluster is in a stable state."
                  ]
                ],
                "Required": false,
                "Type": "string"
              },
              {
                "#name": "clusterCertificateThumbprints",
                "Description": "List of thumbprints of the cluster certificates.",
                "Required": false,
                "Type": "array",
                "$items": {
                  "Type": "string"
                }
              },
              {
                "#name": "clientConnectionPort",
                "Description": "The port used for client connections to the cluster.",
                "Format": "int32",
                "Required": false,
                "Type": "integer"
              },
              {
                "#name": "httpGatewayConnectionPort",
                "Description": "The port used for HTTP connections to the cluster.",
                "Format": "int32",
                "Required": false,
                "Type": "integer"
              },
              {
                "#name": "adminUserName",
                "Description": "VM admin user name.",
                "Required": true,
                "Type": "string"
              },
              {
                "#name": "adminPassword",
                "Description": "VM admin user password.",
                "Format": "password",
                "Required": false,
                "Type": "string"
              },
              {
                "#name": "loadBalancingRules",
                "Description": "Load balancing rules that are applied to the public load balancer of the cluster.",
                "Required": false,
                "Type": "array",
                "$items": {
                  "Description": "Describes a load balancing rule.",
                  "Type": "object",
                  "$properties": [
                    {
                      "#name": "frontendPort",
                      "Description": "The port for the external endpoint. Port numbers for each rule must be unique within the Load Balancer. Acceptable values are between 1 and 65534.",
                      "Format": "int32",
                      "Required": true,
                      "Type": "integer"
                    },
                    {
                      "#name": "backendPort",
                      "Description": "The port used for internal connections on the endpoint. Acceptable values are between 1 and 65535.",
                      "Format": "int32",
                      "Required": true,
                      "Type": "integer"
                    },
                    {
                      "#name": "protocol",
                      "Description": "The reference to the transport protocol used by the load balancing rule.",
                      "Enum": [
                        [
                          "tcp",
                          "Transport protocol is TCP."
                        ],
                        [
                          "udp",
                          "Transport protocol is UDP."
                        ]
                      ],
                      "Required": true,
                      "Type": "string"
                    },
                    {
                      "#name": "probePort",
                      "Description": "The prob port used by the load balancing rule. Acceptable values are between 1 and 65535.",
                      "Format": "int32",
                      "Required": false,
                      "Type": "integer"
                    },
                    {
                      "#name": "probeProtocol",
                      "Description": "the reference to the load balancer probe used by the load balancing rule.",
                      "Enum": [
                        [
                          "tcp",
                          "Probe protocol is TCP."
                        ],
                        [
                          "http",
                          "Probe protocol is HTTP."
                        ],
                        [
                          "https",
                          "Probe protocol is HTTPS."
                        ]
                      ],
                      "Required": true,
                      "Type": "string"
                    },
                    {
                      "#name": "probeRequestPath",
                      "Description": "The probe request path. Only supported for HTTP/HTTPS probes.",
                      "Required": false,
                      "Type": "string"
                    },
                    {
                      "#name": "loadDistribution",
                      "Description": "The load distribution policy for this rule.",
                      "Required": false,
                      "Type": "string"
                    }
                  ]
                }
              },
              {
                "#name": "allowRdpAccess",
                "Description": "Setting this to true enables RDP access to the VM. The default NSG rule opens RDP port to Internet which can be overridden with custom Network Security Rules. The default value for this setting is false.",
                "Required": false,
                "Type": "boolean"
              },
              {
                "#name": "networkSecurityRules",
                "Description": "Custom Network Security Rules that are applied to the Virtual Network of the cluster.",
                "Required": false,
                "Type": "array",
                "$items": {
                  "Description": "Describes a network security rule.",
                  "Type": "object",
                  "$properties": [
                    {
                      "#name": "name",
                      "Description": "Network security rule name.",
                      "Required": true,
                      "Type": "string"
                    },
                    {
                      "#name": "description",
                      "Description": "Network security rule description.",
                      "Required": false,
                      "Type": "string"
                    },
                    {
                      "#name": "protocol",
                      "Description": "Network protocol this rule applies to.",
                      "Enum": [
                        [
                          "http",
                          "Protocol applies to HTTP."
                        ],
                        [
                          "https",
                          "Protocol applies to HTTPS."
                        ],
                        [
                          "tcp",
                          "Protocol applies to TCP."
                        ],
                        [
                          "udp",
                          "Protocol applies to UDP."
                        ],
                        [
                          "icmp",
                          "Protocol applies to ICMP."
                        ],
                        [
                          "ah",
                          "Protocol applies to AH."
                        ],
                        [
                          "esp",
                          "Protocol applies to ESP."
                        ]
                      ],
                      "Required": true,
                      "Type": "string"
                    },
                    {
                      "#name": "sourceAddressPrefixes",
                      "Description": "The CIDR or source IP ranges.",
                      "Required": false,
                      "Type": "array",
                      "$items": {
                        "Type": "string"
                      }
                    },
                    {
                      "#name": "destinationAddressPrefixes",
                      "Description": "The destination address prefixes. CIDR or destination IP ranges.",
                      "Required": false,
                      "Type": "array",
                      "$items": {
                        "Type": "string"
                      }
                    },
                    {
                      "#name": "sourcePortRanges",
                      "Description": "The source port ranges.",
                      "Required": false,
                      "Type": "array",
                      "$items": {
                        "Type": "string"
                      }
                    },
                    {
                      "#name": "destinationPortRanges",
                      "Description": "The destination port ranges.",
                      "Required": false,
                      "Type": "array",
                      "$items": {
                        "Type": "string"
                      }
                    },
                    {
                      "#name": "sourceAddressPrefix",
                      "Description": "The CIDR or source IP range. Asterisk '*' can also be used to match all source IPs. Default tags such as 'VirtualNetwork', 'AzureLoadBalancer' and 'Internet' can also be used. If this is an ingress rule, specifies where network traffic originates from.",
                      "Required": false,
                      "Type": "string"
                    },
                    {
                      "#name": "destinationAddressPrefix",
                      "Description": "The destination address prefix. CIDR or destination IP range. Asterisk '*' can also be used to match all source IPs. Default tags such as 'VirtualNetwork', 'AzureLoadBalancer' and 'Internet' can also be used.",
                      "Required": false,
                      "Type": "string"
                    },
                    {
                      "#name": "sourcePortRange",
                      "Description": "The source port or range. Integer or range between 0 and 65535. Asterisk '*' can also be used to match all ports.",
                      "Required": false,
                      "Type": "string"
                    },
                    {
                      "#name": "destinationPortRange",
                      "Description": "he destination port or range. Integer or range between 0 and 65535. Asterisk '*' can also be used to match all ports.",
                      "Required": false,
                      "Type": "string"
                    },
                    {
                      "#name": "access",
                      "Description": "The network traffic is allowed or denied.",
                      "Enum": [
                        [
                          "allow",
                          "The network traffic is allowed."
                        ],
                        [
                          "deny",
                          "The network traffic is denied."
                        ]
                      ],
                      "Required": true,
                      "Type": "string"
                    },
                    {
                      "#name": "priority",
                      "Description": "The priority of the rule. The value can be in the range 1000 to 3000. Values outside this range are reserved for Service Fabric ManagerCluster Resource Provider. The priority number must be unique for each rule in the collection. The lower the priority number, the higher the priority of the rule.",
                      "Format": "int32",
                      "Required": true,
                      "Type": "integer"
                    },
                    {
                      "#name": "direction",
                      "Description": "Network security rule direction.",
                      "Enum": [
                        [
                          "inbound",
                          "Inbound direction."
                        ],
                        [
                          "outbound",
                          "Outbound direction."
                        ]
                      ],
                      "Required": true,
                      "Type": "string"
                    }
                  ]
                }
              },
              {
                "#name": "clients",
                "Description": "Client certificates that are allowed to manage the cluster.",
                "Required": false,
                "Type": "array",
                "$items": {
                  "Description": "Client certificate definition.",
                  "Type": "object",
                  "$properties": [
                    {
                      "#name": "isAdmin",
                      "Description": "Indicates if the client certificate has admin access to the cluster. Non admin clients can perform only read only operations on the cluster.",
                      "Required": true,
                      "Type": "boolean"
                    },
                    {
                      "#name": "thumbprint",
                      "Description": "Certificate thumbprint.",
                      "Required": false,
                      "Type": "string"
                    },
                    {
                      "#name": "commonName",
                      "Description": "Certificate common name.",
                      "Required": false,
                      "Type": "string"
                    },
                    {
                      "#name": "issuerThumbprint",
                      "Description": "Issuer thumbprint for the certificate. Only used together with CommonName.",
                      "Required": false,
                      "Type": "string"
                    }
                  ]
                }
              },
              {
                "#name": "azureActiveDirectory",
                "Description": "The AAD authentication settings of the cluster.",
                "Required": false,
                "Type": "object",
                "$properties": [
                  {
                    "#name": "tenantId",
                    "Description": "Azure active directory tenant id.",
                    "Required": false,
                    "Type": "string"
                  },
                  {
                    "#name": "clusterApplication",
                    "Description": "Azure active directory cluster application id.",
                    "Required": false,
                    "Type": "string"
                  },
                  {
                    "#name": "clientApplication",
                    "Description": "Azure active directory client application id.",
                    "Required": false,
                    "Type": "string"
                  }
                ]
              },
              {
                "#name": "fabricSettings",
                "Description": "The list of custom fabric settings to configure the cluster.",
                "Required": false,
                "Type": "array",
                "$items": {
                  "Description": "Describes a section in the fabric settings of the cluster.",
                  "Type": "object",
                  "$properties": [
                    {
                      "#name": "name",
                      "Description": "The section name of the fabric settings.",
                      "Required": true,
                      "Type": "string"
                    },
                    {
                      "#name": "parameters",
                      "Description": "The collection of parameters in the section.",
                      "Required": true,
                      "Type": "array",
                      "$items": {
                        "Description": "Describes a parameter in fabric settings of the cluster.",
                        "Type": "object",
                        "$properties": [
                          {
                            "#name": "name",
                            "Description": "The parameter name of fabric setting.",
                            "Required": true,
                            "Type": "string"
                          },
                          {
                            "#name": "value",
                            "Description": "The parameter value of fabric setting.",
                            "Required": true,
                            "Type": "string"
                          }
                        ]
                      }
                    }
                  ]
                }
              },
              {
                "#name": "provisioningState",
                "Description": "The provisioning state of the managed cluster resource.",
                "Enum": [
                  [
                    "None",
                    "The resource does not have a provisioning state."
                  ],
                  [
                    "Creating",
                    "The resource is being created."
                  ],
                  [
                    "Created",
                    "The resource is created."
                  ],
                  [
                    "Updating",
                    "The resource is being updated."
                  ],
                  [
                    "Succeeded",
                    "The resource provisioning has succeeded."
                  ],
                  [
                    "Failed",
                    "The resource provisioning has failed."
                  ],
                  [
                    "Canceled",
                    "The resource provisioning has been canceled."
                  ],
                  [
                    "Deleting",
                    "The resource is being deleted."
                  ],
                  [
                    "Deleted",
                    "The resource has been deleted."
                  ],
                  [
                    "Other",
                    "The resource provisioning state is a state other than the previously specified states."
                  ]
                ],
                "Required": false,
                "Type": "string"
              },
              {
                "#name": "clusterCodeVersion",
                "Description": "The Service Fabric runtime version of the cluster. This property is required when **clusterUpgradeMode** is set to 'Manual'. To get list of available Service Fabric versions for new clusters use [ClusterVersion API](./ClusterVersion.md). To get the list of available version for existing clusters use **availableClusterVersions**.",
                "Required": false,
                "Type": "string"
              },
              {
                "#name": "clusterUpgradeMode",
                "Description": "The upgrade mode of the cluster when new Service Fabric runtime version is available.",
                "Enum": [
                  [
                    "Automatic",
                    "The cluster will be automatically upgraded to the latest Service Fabric runtime version, **clusterUpgradeCadence** will determine when the upgrade starts after the new version becomes available."
                  ],
                  [
                    "Manual",
                    "The cluster will not be automatically upgraded to the latest Service Fabric runtime version. The cluster is upgraded by setting the **clusterCodeVersion** property in the cluster resource."
                  ]
                ],
                "Required": false,
                "Type": "string"
              },
              {
                "#name": "clusterUpgradeCadence",
                "Description": "Indicates when new cluster runtime version upgrades will be applied after they are released. By default is Wave0. Only applies when **clusterUpgradeMode** is set to 'Automatic'.",
                "Enum": [
                  [
                    "Wave0",
                    "Cluster upgrade starts immediately after a new version is rolled out. Recommended for Test/Dev clusters."
                  ],
                  [
                    "Wave1",
                    "Cluster upgrade starts 7 days after a new version is rolled out. Recommended for Pre-prod clusters."
                  ],
                  [
                    "Wave2",
                    "Cluster upgrade starts 14 days after a new version is rolled out. Recommended for Production clusters."
                  ]
                ],
                "Required": false,
                "Type": "string"
              },
              {
                "#name": "addonFeatures",
                "Description": "List of add-on features to enable on the cluster.",
                "Required": false,
                "Type": "array",
                "$items": {
                  "Description": "Available cluster add-on features",
                  "Enum": [
                    [
                      "DnsService",
                      "Dns service"
                    ],
                    [
                      "BackupRestoreService",
                      "Backup and restore service"
                    ],
                    [
                      "ResourceMonitorService",
                      "Resource monitor service"
                    ]
                  ],
                  "Type": "string"
                }
              },
              {
                "#name": "enableAutoOSUpgrade",
                "Description": "Enables automatic OS upgrade for node types created using OS images with version 'latest'. The default value for this setting is false.",
                "Required": false,
                "Type": "boolean"
              },
              {
                "#name": "zonalResiliency",
                "Description": "Indicates if the cluster has zone resiliency.",
                "Required": false,
                "Type": "boolean"
              },
              {
                "#name": "applicationTypeVersionsCleanupPolicy",
                "Description": "The policy used to clean up unused versions.",
                "Required": false,
                "Type": "object",
                "$properties": [
                  {
                    "#name": "maxUnusedVersionsToKeep",
                    "Description": "Number of unused versions per application type to keep.",
                    "Format": "int32",
                    "Required": true,
                    "Type": "integer"
                  }
                ]
              },
              {
                "#name": "enableIpv6",
                "Description": "Setting this to true creates IPv6 address space for the default VNet used by the cluster. This setting cannot be changed once the cluster is created. The default value for this setting is false.",
                "Required": false,
                "Type": "boolean"
              },
              {
                "#name": "subnetId",
                "Description": "If specified, the node types for the cluster are created in this subnet instead of the default VNet. The **networkSecurityRules** specified for the cluster are also applied to this subnet. This setting cannot be changed once the cluster is created.",
                "Required": false,
                "Type": "string"
              },
              {
                "#name": "ipTags",
                "Description": "The list of IP tags associated with the default public IP address of the cluster.",
                "Required": false,
                "Type": "array",
                "$items": {
                  "Description": "The IP tag associated with the public IP address.",
                  "Type": "object",
                  "$properties": [
                    {
                      "#name": "ipTagType",
                      "Description": "IP tag type. Example: FirstPartyUsage.",
                      "Required": true,
                      "Type": "string"
                    },
                    {
                      "#name": "tag",
                      "Description": "IP tag associated with the public IP. Example: SQL, Storage etc.",
                      "Required": true,
                      "Type": "string"
                    }
                  ]
                }
              },
              {
                "#name": "ipv6Address",
                "Description": "IPv6 address for the cluster if IPv6 is enabled.",
                "Required": false,
                "Type": "string"
              },
              {
                "#name": "enableServicePublicIP",
                "Description": "Setting this to true will link the IPv4 address as the ServicePublicIP of the IPv6 address. It can only be set to True if IPv6 is enabled on the cluster.",
                "Required": false,
                "Type": "boolean"
              },
              {
                "#name": "auxiliarySubnets",
                "Description": "Auxiliary subnets for the cluster.",
                "Required": false,
                "Type": "array",
                "$items": {
                  "Description": "Describes a Subnet.",
                  "Type": "object",
                  "$properties": [
                    {
                      "#name": "name",
                      "Description": "Subnet name.",
                      "Required": true,
                      "Type": "string"
                    },
                    {
                      "#name": "enableIpv6",
                      "Description": "Indicates wether to enable Ipv6 or not. If not provided, it will take the same configuration as the cluster.",
                      "Required": false,
                      "Type": "boolean"
                    },
                    {
                      "#name": "privateEndpointNetworkPolicies",
                      "Description": "Enable or Disable apply network policies on private end point in the subnet.",
                      "Enum": [
                        [
                          "enabled",
                          "Enable apply network policies on private end point in the subnet."
                        ],
                        [
                          "disabled",
                          "Disable apply network policies on private end point in the subnet."
                        ]
                      ],
                      "Required": false,
                      "Type": "string"
                    },
                    {
                      "#name": "privateLinkServiceNetworkPolicies",
                      "Description": "Enable or Disable apply network policies on private link service in the subnet.",
                      "Enum": [
                        [
                          "enabled",
                          "Enable apply network policies on private link service in the subnet."
                        ],
                        [
                          "disabled",
                          "Disable apply network policies on private link service in the subnet."
                        ]
                      ],
                      "Required": false,
                      "Type": "string"
                    },
                    {
                      "#name": "networkSecurityGroupId",
                      "Description": "Full resource id for the network security group.",
                      "Required": false,
                      "Type": "string"
                    }
                  ]
                }
              },
              {
                "#name": "serviceEndpoints",
                "Description": "Service endpoints for subnets in the cluster.",
                "Required": false,
                "Type": "array",
                "$items": {
                  "Description": "The service endpoint properties.",
                  "Type": "object",
                  "$properties": [
                    {
                      "#name": "service",
                      "Description": "The type of the endpoint service.",
                      "Required": true,
                      "Type": "string"
                    },
                    {
                      "#name": "locations",
                      "Description": "A list of locations.",
                      "Required": false,
                      "Type": "array",
                      "$items": {
                        "Type": "string"
                      }
                    }
                  ]
                }
              },
              {
                "#name": "zonalUpdateMode",
                "Description": "Indicates the update mode for Cross Az clusters.",
                "Enum": [
                  [
                    "Standard",
                    "The cluster will use 5 upgrade domains for Cross Az Node types."
                  ],
                  [
                    "Fast",
                    "The cluster will use a maximum of 3 upgrade domains per zone instead of 5 for Cross Az Node types for faster deployments."
                  ]
                ],
                "Required": false,
                "Type": "string"
              },
              {
                "#name": "useCustomVnet",
                "Description": "For new clusters, this parameter indicates that it uses Bring your own VNet, but the subnet is specified at node type level; and for such clusters, the subnetId property is required for node types.",
                "Required": false,
                "Type": "boolean"
              },
              {
                "#name": "publicIPPrefixId",
                "Description": "Specify the resource id of a public IPv4 prefix that the load balancer will allocate a public IPv4 address from. This setting cannot be changed once the cluster is created.",
                "Format": "arm-id",
                "Required": false,
                "Type": "string"
              },
              {
                "#name": "publicIPv6PrefixId",
                "Description": "Specify the resource id of a public IPv6 prefix that the load balancer will allocate a public IPv6 address from. This setting cannot be changed once the cluster is created.",
                "Format": "arm-id",
                "Required": false,
                "Type": "string"
              },
              {
                "#name": "ddosProtectionPlanId",
                "Description": "Specify the resource id of a DDoS network protection plan that will be associated with the virtual network of the cluster.",
                "Format": "arm-id",
                "Required": false,
                "Type": "string"
              },
              {
                "#name": "upgradeDescription",
                "Description": "The policy to use when upgrading the cluster.",
                "Required": false,
                "Type": "object",
                "$properties": [
                  {
                    "#name": "forceRestart",
                    "Description": "If true, then processes are forcefully restarted during upgrade even when the code version has not changed (the upgrade only changes configuration or data).",
                    "Required": false,
                    "Type": "boolean"
                  },
                  {
                    "#name": "healthPolicy",
                    "Description": "The cluster health policy defines a health policy used to evaluate the health of the cluster during a cluster upgrade.",
                    "Required": false,
                    "Type": "object",
                    "$properties": [
                      {
                        "#name": "maxPercentUnhealthyNodes",
                        "Description": "The maximum allowed percentage of unhealthy nodes before reporting an error. For example, to allow 10% of nodes to be unhealthy, this value would be 10.\n\nThe percentage represents the maximum tolerated percentage of nodes that can be unhealthy before the cluster is considered in error.\nIf the percentage is respected but there is at least one unhealthy node, the health is evaluated as Warning.\nThe percentage is calculated by dividing the number of unhealthy nodes over the total number of nodes in the cluster.\nThe computation rounds up to tolerate one failure on small numbers of nodes. Default percentage is zero.\n\nIn large clusters, some nodes will always be down or out for repairs, so this percentage should be configured to tolerate that.",
                        "Format": "int32",
                        "Required": true,
                        "Type": "integer"
                      },
                      {
                        "#name": "maxPercentUnhealthyApplications",
                        "Description": "The maximum allowed percentage of unhealthy applications before reporting an error. For example, to allow 10% of applications to be unhealthy, this value would be 10.\n\nThe percentage represents the maximum tolerated percentage of applications that can be unhealthy before the cluster is considered in error.\nIf the percentage is respected but there is at least one unhealthy application, the health is evaluated as Warning.\nThis is calculated by dividing the number of unhealthy applications over the total number of application instances in the cluster, excluding applications of application types that are included in the ApplicationTypeHealthPolicyMap.\nThe computation rounds up to tolerate one failure on small numbers of applications. Default percentage is zero.",
                        "Format": "int32",
                        "Required": true,
                        "Type": "integer"
                      }
                    ]
                  },
                  {
                    "#name": "deltaHealthPolicy",
                    "Description": "The cluster delta health policy defines a health policy used to evaluate the health of the cluster during a cluster upgrade.",
                    "Required": false,
                    "Type": "object",
                    "$properties": [
                      {
                        "#name": "maxPercentDeltaUnhealthyNodes",
                        "Description": "The maximum allowed percentage of nodes health degradation allowed during cluster upgrades.\nThe delta is measured between the state of the nodes at the beginning of upgrade and the state of the nodes at the time of the health evaluation.\nThe check is performed after every upgrade domain upgrade completion to make sure the global state of the cluster is within tolerated limits.",
                        "Format": "int32",
                        "Required": true,
                        "Type": "integer"
                      },
                      {
                        "#name": "maxPercentUpgradeDomainDeltaUnhealthyNodes",
                        "Description": "The maximum allowed percentage of upgrade domain nodes health degradation allowed during cluster upgrades.\nThe delta is measured between the state of the upgrade domain nodes at the beginning of upgrade and the state of the upgrade domain nodes at the time of the health evaluation.\nThe check is performed after every upgrade domain upgrade completion for all completed upgrade domains to make sure the state of the upgrade domains is within tolerated limits.",
                        "Format": "int32",
                        "Required": false,
                        "Type": "integer"
                      },
                      {
                        "#name": "maxPercentDeltaUnhealthyApplications",
                        "Description": "The maximum allowed percentage of applications health degradation allowed during cluster upgrades.\nThe delta is measured between the state of the applications at the beginning of upgrade and the state of the applications at the time of the health evaluation.\nThe check is performed after every upgrade domain upgrade completion to make sure the global state of the cluster is within tolerated limits. System services are not included in this.\nNOTE: This value will overwrite the value specified in properties.UpgradeDescription.HealthPolicy.MaxPercentUnhealthyApplications",
                        "Format": "int32",
                        "Required": false,
                        "Type": "integer"
                      }
                    ]
                  },
                  {
                    "#name": "monitoringPolicy",
                    "Description": "The cluster monitoring policy describes the parameters for monitoring an upgrade in Monitored mode.",
                    "Required": false,
                    "Type": "object",
                    "$properties": [
                      {
                        "#name": "healthCheckWaitDuration",
                        "Description": "The length of time to wait after completing an upgrade domain before performing health checks. The duration can be in either hh:mm:ss or in d.hh:mm:ss.ms format.",
                        "Format": "duration-constant",
                        "Required": true,
                        "Type": "string"
                      },
                      {
                        "#name": "healthCheckStableDuration",
                        "Description": "The amount of time that the application or cluster must remain healthy before the upgrade proceeds to the next upgrade domain. The duration can be in either hh:mm:ss or in d.hh:mm:ss.ms format.",
                        "Format": "duration-constant",
                        "Required": true,
                        "Type": "string"
                      },
                      {
                        "#name": "healthCheckRetryTimeout",
                        "Description": "The amount of time to retry health evaluation when the application or cluster is unhealthy before the upgrade rolls back. The timeout can be in either hh:mm:ss or in d.hh:mm:ss.ms format.",
                        "Format": "duration-constant",
                        "Required": true,
                        "Type": "string"
                      },
                      {
                        "#name": "upgradeTimeout",
                        "Description": "The amount of time the overall upgrade has to complete before the upgrade rolls back. The timeout can be in either hh:mm:ss or in d.hh:mm:ss.ms format.",
                        "Format": "duration-constant",
                        "Required": true,
                        "Type": "string"
                      },
                      {
                        "#name": "upgradeDomainTimeout",
                        "Description": "The amount of time each upgrade domain has to complete before the upgrade rolls back. The timeout can be in either hh:mm:ss or in d.hh:mm:ss.ms format.",
                        "Format": "duration-constant",
                        "Required": true,
                        "Type": "string"
                      }
                    ]
                  },
                  {
                    "#name": "upgradeReplicaSetCheckTimeout",
                    "Description": "The maximum amount of time to block processing of an upgrade domain and prevent loss of availability when there are unexpected issues.\nWhen this timeout expires, processing of the upgrade domain will proceed regardless of availability loss issues.\nThe timeout is reset at the start of each upgrade domain. The timeout can be in either hh:mm:ss or in d.hh:mm:ss.ms format.\nThis value must be between 00:00:00 and 49710.06:28:15 (unsigned 32 bit integer for seconds)",
                    "Required": false,
                    "Type": "string"
                  }
                ]
              },
              {
                "#name": "httpGatewayTokenAuthConnectionPort",
                "Description": "The port used for token-auth based HTTPS connections to the cluster. Cannot be set to the same port as HttpGatewayEndpoint.",
                "Format": "int32",
                "Required": false,
                "Type": "integer"
              },
              {
                "#name": "enableHttpGatewayExclusiveAuthMode",
                "Description": "If true, token-based authentication is not allowed on the HttpGatewayEndpoint. This is required to support TLS versions 1.3 and above. If token-based authentication is used, HttpGatewayTokenAuthConnectionPort must be defined.",
                "Required": false,
                "Type": "boolean"
              },
              {
                "#name": "autoGeneratedDomainNameLabelScope",
                "Description": "This property is the entry point to using a public CA cert for your cluster cert. It specifies the level of reuse allowed for the custom FQDN created, matching the subject of the public CA cert.",
                "Enum": [
                  [
                    "TenantReuse",
                    "TenantReuse allows for the same hash to be created if the resource is created in the same Tenant with the same resource name."
                  ],
                  [
                    "SubscriptionReuse",
                    "SubscriptionReuse allows for the same hash to be created if the resource is created in the same Subscription with the same resource name."
                  ],
                  [
                    "ResourceGroupReuse",
                    "ResourceGroupReuse allows for the same hash to be created if the resource is created in the same Resource Group with the same resource name."
                  ],
                  [
                    "NoReuse",
                    "NoReuse will create a new hash regardless of the Subscription, Resource Group, Tenant and Resource name."
                  ]
                ],
                "Required": false,
                "Type": "string"
              },
              {
                "#name": "allocatedOutboundPorts",
                "Description": "The number of outbound ports allocated for SNAT for each node in the backend pool of the default load balancer. The default value is 0 which provides dynamic port allocation based on pool size.",
                "Format": "int32",
                "Required": false,
                "Type": "integer"
              },
              {
                "#name": "VMImage",
                "Description": "The VM image the node types are configured with. This property controls the Service Fabric component packages to be used for the cluster. Allowed values are: 'Windows'. The default value is 'Windows'.",
                "Required": false,
                "Type": "string"
              }
            ]
          },
          {
            "#name": "etag",
            "Description": "If eTag is provided in the response body, it may also be provided as a header per the normal etag convention.  Entity tags are used for comparing two or more entities from the same requested resource. HTTP/1.1 uses entity tags in the etag (section 14.19), If-Match (section 14.24), If-None-Match (section 14.26), and If-Range (section 14.27) header fields.\",",
            "Required": false,
            "Type": "string"
          },
          {
            "#name": "sku",
            "Description": "The sku of the managed cluster",
            "Required": true,
            "Type": "object",
            "$properties": [
              {
                "#name": "name",
                "Description": "Sku Name.",
                "Enum": [
                  [
                    "Basic",
                    "Basic requires a minimum of 3 nodes and allows only 1 node type."
                  ],
                  [
                    "Standard",
                    "Requires a minimum of 5 nodes and allows 1 or more node type."
                  ]
                ],
                "Required": true,
                "Type": "string"
              }
            ]
          }
        ]
      }
    }
  }
}

⚼ Request

PATCH:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceFabric/managedClusters/{clusterName}
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
clusterName: string ,
parameters:
{
tags: object ,
}
,
}

⚐ Response (200)

{
properties:
{
dnsName: string ,
fqdn: string ,
ipv4Address: string ,
clusterId: string ,
clusterState: enum ,
clusterCertificateThumbprints:
[
string ,
]
,
clientConnectionPort: integer ,
httpGatewayConnectionPort: integer ,
adminUserName: string ,
adminPassword: string ,
loadBalancingRules:
[
{
frontendPort: integer ,
backendPort: integer ,
protocol: enum ,
probePort: integer ,
probeProtocol: enum ,
probeRequestPath: string ,
loadDistribution: string ,
}
,
]
,
allowRdpAccess: boolean ,
networkSecurityRules:
[
{
name: string ,
description: string ,
protocol: enum ,
sourceAddressPrefixes:
[
string ,
]
,
destinationAddressPrefixes:
[
string ,
]
,
sourcePortRanges:
[
string ,
]
,
destinationPortRanges:
[
string ,
]
,
sourceAddressPrefix: string ,
destinationAddressPrefix: string ,
sourcePortRange: string ,
destinationPortRange: string ,
access: enum ,
priority: integer ,
direction: enum ,
}
,
]
,
clients:
[
{
isAdmin: boolean ,
thumbprint: string ,
commonName: string ,
issuerThumbprint: string ,
}
,
]
,
azureActiveDirectory:
{
tenantId: string ,
clusterApplication: string ,
clientApplication: string ,
}
,
fabricSettings:
[
{
name: string ,
parameters:
[
{
name: string ,
value: string ,
}
,
]
,
}
,
]
,
provisioningState: enum ,
clusterCodeVersion: string ,
clusterUpgradeMode: enum ,
clusterUpgradeCadence: enum ,
addonFeatures:
[
string ,
]
,
enableAutoOSUpgrade: boolean ,
zonalResiliency: boolean ,
applicationTypeVersionsCleanupPolicy:
{
maxUnusedVersionsToKeep: integer ,
}
,
enableIpv6: boolean ,
subnetId: string ,
ipTags:
[
{
ipTagType: string ,
tag: string ,
}
,
]
,
ipv6Address: string ,
enableServicePublicIP: boolean ,
auxiliarySubnets:
[
{
name: string ,
enableIpv6: boolean ,
privateEndpointNetworkPolicies: enum ,
privateLinkServiceNetworkPolicies: enum ,
networkSecurityGroupId: string ,
}
,
]
,
serviceEndpoints:
[
{
service: string ,
locations:
[
string ,
]
,
}
,
]
,
zonalUpdateMode: enum ,
useCustomVnet: boolean ,
publicIPPrefixId: string ,
publicIPv6PrefixId: string ,
ddosProtectionPlanId: string ,
upgradeDescription:
{
forceRestart: boolean ,
healthPolicy:
{
maxPercentUnhealthyNodes: integer ,
maxPercentUnhealthyApplications: integer ,
}
,
deltaHealthPolicy:
{
maxPercentDeltaUnhealthyNodes: integer ,
maxPercentUpgradeDomainDeltaUnhealthyNodes: integer ,
maxPercentDeltaUnhealthyApplications: integer ,
}
,
monitoringPolicy:
{
healthCheckWaitDuration: string ,
healthCheckStableDuration: string ,
healthCheckRetryTimeout: string ,
upgradeTimeout: string ,
upgradeDomainTimeout: string ,
}
,
upgradeReplicaSetCheckTimeout: string ,
}
,
httpGatewayTokenAuthConnectionPort: integer ,
enableHttpGatewayExclusiveAuthMode: boolean ,
autoGeneratedDomainNameLabelScope: enum ,
allocatedOutboundPorts: integer ,
VMImage: string ,
}
,
etag: string ,
sku:
{
name: enum ,
}
,
}

⚐ Response (202)

{
$headers:
{
azure-asyncoperation: string ,
location: string ,
}
,
$schema:
{
properties:
{
dnsName: string ,
fqdn: string ,
ipv4Address: string ,
clusterId: string ,
clusterState: enum ,
clusterCertificateThumbprints:
[
string ,
]
,
clientConnectionPort: integer ,
httpGatewayConnectionPort: integer ,
adminUserName: string ,
adminPassword: string ,
loadBalancingRules:
[
{
frontendPort: integer ,
backendPort: integer ,
protocol: enum ,
probePort: integer ,
probeProtocol: enum ,
probeRequestPath: string ,
loadDistribution: string ,
}
,
]
,
allowRdpAccess: boolean ,
networkSecurityRules:
[
{
name: string ,
description: string ,
protocol: enum ,
sourceAddressPrefixes:
[
string ,
]
,
destinationAddressPrefixes:
[
string ,
]
,
sourcePortRanges:
[
string ,
]
,
destinationPortRanges:
[
string ,
]
,
sourceAddressPrefix: string ,
destinationAddressPrefix: string ,
sourcePortRange: string ,
destinationPortRange: string ,
access: enum ,
priority: integer ,
direction: enum ,
}
,
]
,
clients:
[
{
isAdmin: boolean ,
thumbprint: string ,
commonName: string ,
issuerThumbprint: string ,
}
,
]
,
azureActiveDirectory:
{
tenantId: string ,
clusterApplication: string ,
clientApplication: string ,
}
,
fabricSettings:
[
{
name: string ,
parameters:
[
{
name: string ,
value: string ,
}
,
]
,
}
,
]
,
provisioningState: enum ,
clusterCodeVersion: string ,
clusterUpgradeMode: enum ,
clusterUpgradeCadence: enum ,
addonFeatures:
[
string ,
]
,
enableAutoOSUpgrade: boolean ,
zonalResiliency: boolean ,
applicationTypeVersionsCleanupPolicy:
{
maxUnusedVersionsToKeep: integer ,
}
,
enableIpv6: boolean ,
subnetId: string ,
ipTags:
[
{
ipTagType: string ,
tag: string ,
}
,
]
,
ipv6Address: string ,
enableServicePublicIP: boolean ,
auxiliarySubnets:
[
{
name: string ,
enableIpv6: boolean ,
privateEndpointNetworkPolicies: enum ,
privateLinkServiceNetworkPolicies: enum ,
networkSecurityGroupId: string ,
}
,
]
,
serviceEndpoints:
[
{
service: string ,
locations:
[
string ,
]
,
}
,
]
,
zonalUpdateMode: enum ,
useCustomVnet: boolean ,
publicIPPrefixId: string ,
publicIPv6PrefixId: string ,
ddosProtectionPlanId: string ,
upgradeDescription:
{
forceRestart: boolean ,
healthPolicy:
{
maxPercentUnhealthyNodes: integer ,
maxPercentUnhealthyApplications: integer ,
}
,
deltaHealthPolicy:
{
maxPercentDeltaUnhealthyNodes: integer ,
maxPercentUpgradeDomainDeltaUnhealthyNodes: integer ,
maxPercentDeltaUnhealthyApplications: integer ,
}
,
monitoringPolicy:
{
healthCheckWaitDuration: string ,
healthCheckStableDuration: string ,
healthCheckRetryTimeout: string ,
upgradeTimeout: string ,
upgradeDomainTimeout: string ,
}
,
upgradeReplicaSetCheckTimeout: string ,
}
,
httpGatewayTokenAuthConnectionPort: integer ,
enableHttpGatewayExclusiveAuthMode: boolean ,
autoGeneratedDomainNameLabelScope: enum ,
allocatedOutboundPorts: integer ,
VMImage: string ,
}
,
etag: string ,
sku:
{
name: enum ,
}
,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Applications_Update (updated)
Description Updates an application resource of a given managed cluster.
Reference Link ¶

⚶ Changes

{
  "#id": "Applications_Update",
  "Description": {
    "new": "Updates an application resource of a given managed cluster.",
    "old": "Updates the tags of an application resource of a given managed cluster."
  },
  "$responses": {
    "@added_a7cf42d664574d938527d519de7f15bd": {
      "#status": "202",
      "$headers": [
        {
          "#name": "azure-asyncoperation",
          "Description": "A link to the status monitor",
          "Type": "string"
        },
        {
          "#name": "location",
          "Description": "The Location header contains the URL where the status of the long running operation can be checked.",
          "Type": "string"
        }
      ],
      "$schema": {
        "Description": "The application resource.",
        "Type": "object",
        "$properties": [
          {
            "#name": "properties",
            "Description": "The application resource properties.",
            "Required": false,
            "Type": "object",
            "$properties": [
              {
                "#name": "managedIdentities",
                "Description": "List of user assigned identities for the application, each mapped to a friendly name.",
                "Required": false,
                "Type": "array",
                "$items": {
                  "Description": "User assigned identity for the application.",
                  "Type": "object",
                  "$properties": [
                    {
                      "#name": "name",
                      "Description": "The friendly name of user assigned identity.",
                      "Required": true,
                      "Type": "string"
                    },
                    {
                      "#name": "principalId",
                      "Description": "The principal id of user assigned identity.",
                      "Required": true,
                      "Type": "string"
                    }
                  ]
                }
              },
              {
                "#name": "provisioningState",
                "Description": "The current deployment or provisioning state, which only appears in the response",
                "Required": false,
                "Type": "string"
              },
              {
                "#name": "version",
                "Description": "The version of the application type as defined in the application manifest.\nThis name must be the full Arm Resource ID for the referenced application type version.",
                "Required": false,
                "Type": "string"
              },
              {
                "#name": "parameters",
                "Description": "List of application parameters with overridden values from their default values specified in the application manifest.",
                "Required": false,
                "Type": "object"
              },
              {
                "#name": "upgradePolicy",
                "Description": "Describes the policy for a monitored application upgrade.",
                "Required": false,
                "Type": "object",
                "$properties": [
                  {
                    "#name": "applicationHealthPolicy",
                    "Description": "Defines a health policy used to evaluate the health of an application or one of its children entities.",
                    "Required": false,
                    "Type": "object",
                    "$properties": [
                      {
                        "#name": "considerWarningAsError",
                        "Description": "Indicates whether warnings are treated with the same severity as errors.",
                        "Required": true,
                        "Type": "boolean"
                      },
                      {
                        "#name": "maxPercentUnhealthyDeployedApplications",
                        "Description": "The maximum allowed percentage of unhealthy deployed applications. Allowed values are Byte values from zero to 100.\nThe percentage represents the maximum tolerated percentage of deployed applications that can be unhealthy before the application is considered in error.\nThis is calculated by dividing the number of unhealthy deployed applications over the number of nodes where the application is currently deployed on in the cluster.\nThe computation rounds up to tolerate one failure on small numbers of nodes. Default percentage is zero.",
                        "Format": "int32",
                        "Required": true,
                        "Type": "integer"
                      },
                      {
                        "#name": "defaultServiceTypeHealthPolicy",
                        "Description": "The health policy used by default to evaluate the health of a service type.",
                        "Required": false,
                        "Type": "object",
                        "$properties": [
                          {
                            "#name": "maxPercentUnhealthyServices",
                            "Description": "The maximum allowed percentage of unhealthy services.\n\nThe percentage represents the maximum tolerated percentage of services that can be unhealthy before the application is considered in error.\nIf the percentage is respected but there is at least one unhealthy service, the health is evaluated as Warning.\nThis is calculated by dividing the number of unhealthy services of the specific service type over the total number of services of the specific service type.\nThe computation rounds up to tolerate one failure on small numbers of services.",
                            "Format": "int32",
                            "Required": true,
                            "Type": "integer"
                          },
                          {
                            "#name": "maxPercentUnhealthyPartitionsPerService",
                            "Description": "The maximum allowed percentage of unhealthy partitions per service.\n\nThe percentage represents the maximum tolerated percentage of partitions that can be unhealthy before the service is considered in error.\nIf the percentage is respected but there is at least one unhealthy partition, the health is evaluated as Warning.\nThe percentage is calculated by dividing the number of unhealthy partitions over the total number of partitions in the service.\nThe computation rounds up to tolerate one failure on small numbers of partitions.",
                            "Format": "int32",
                            "Required": true,
                            "Type": "integer"
                          },
                          {
                            "#name": "maxPercentUnhealthyReplicasPerPartition",
                            "Description": "The maximum allowed percentage of unhealthy replicas per partition.\n\nThe percentage represents the maximum tolerated percentage of replicas that can be unhealthy before the partition is considered in error.\nIf the percentage is respected but there is at least one unhealthy replica, the health is evaluated as Warning.\nThe percentage is calculated by dividing the number of unhealthy replicas over the total number of replicas in the partition.\nThe computation rounds up to tolerate one failure on small numbers of replicas.",
                            "Format": "int32",
                            "Required": true,
                            "Type": "integer"
                          }
                        ]
                      },
                      {
                        "#name": "serviceTypeHealthPolicyMap",
                        "Description": "The map with service type health policy per service type name. The map is empty by default.",
                        "Required": false,
                        "Type": "object"
                      }
                    ]
                  },
                  {
                    "#name": "forceRestart",
                    "Description": "If true, then processes are forcefully restarted during upgrade even when the code version has not changed (the upgrade only changes configuration or data).",
                    "Required": false,
                    "Type": "boolean"
                  },
                  {
                    "#name": "rollingUpgradeMonitoringPolicy",
                    "Description": "The policy used for monitoring the application upgrade",
                    "Required": false,
                    "Type": "object",
                    "$properties": [
                      {
                        "#name": "failureAction",
                        "Description": "The compensating action to perform when a Monitored upgrade encounters monitoring policy or health policy violations. Invalid indicates the failure action is invalid. Rollback specifies that the upgrade will start rolling back automatically. Manual indicates that the upgrade will switch to UnmonitoredManual upgrade mode.",
                        "Enum": [
                          [
                            "Rollback",
                            "Indicates that a rollback of the upgrade will be performed by Service Fabric if the upgrade fails."
                          ],
                          [
                            "Manual",
                            "Indicates that a manual repair will need to be performed by the administrator if the upgrade fails. Service Fabric will not proceed to the next upgrade domain automatically."
                          ]
                        ],
                        "Required": true,
                        "Type": "string"
                      },
                      {
                        "#name": "healthCheckWaitDuration",
                        "Description": "The amount of time to wait after completing an upgrade domain before applying health policies. It is interpreted as a string representing an ISO 8601 duration with following format \"hh:mm:ss.fff\".",
                        "Format": "duration-constant",
                        "Required": true,
                        "Type": "string"
                      },
                      {
                        "#name": "healthCheckStableDuration",
                        "Description": "The amount of time that the application or cluster must remain healthy before the upgrade proceeds to the next upgrade domain. It is interpreted as a string representing an ISO 8601 duration with following format \"hh:mm:ss.fff\".",
                        "Format": "duration-constant",
                        "Required": true,
                        "Type": "string"
                      },
                      {
                        "#name": "healthCheckRetryTimeout",
                        "Description": "The amount of time to retry health evaluation when the application or cluster is unhealthy before FailureAction is executed. It is interpreted as a string representing an ISO 8601 duration with following format \"hh:mm:ss.fff\".",
                        "Format": "duration-constant",
                        "Required": true,
                        "Type": "string"
                      },
                      {
                        "#name": "upgradeTimeout",
                        "Description": "The amount of time the overall upgrade has to complete before FailureAction is executed. Cannot be larger than 12 hours. It is interpreted as a string representing an ISO 8601 duration with following format \"hh:mm:ss.fff\".",
                        "Format": "duration-constant",
                        "Required": true,
                        "Type": "string"
                      },
                      {
                        "#name": "upgradeDomainTimeout",
                        "Description": "The amount of time each upgrade domain has to complete before FailureAction is executed. Cannot be larger than 12 hours. It is interpreted as a string representing an ISO 8601 duration with following format \"hh:mm:ss.fff\".",
                        "Format": "duration-constant",
                        "Required": true,
                        "Type": "string"
                      }
                    ]
                  },
                  {
                    "#name": "instanceCloseDelayDuration",
                    "Description": "Duration in seconds, to wait before a stateless instance is closed, to allow the active requests to drain gracefully. This would be effective when the instance is closing during the application/cluster upgrade, only for those instances which have a non-zero delay duration configured in the service description.",
                    "Format": "int64",
                    "Required": false,
                    "Type": "integer"
                  },
                  {
                    "#name": "upgradeMode",
                    "Description": "The mode used to monitor health during a rolling upgrade. The values are Monitored, and UnmonitoredAuto.",
                    "Enum": [
                      [
                        "Monitored",
                        "The upgrade will stop after completing each upgrade domain and automatically monitor health before proceeding."
                      ],
                      [
                        "UnmonitoredAuto",
                        "The upgrade will proceed automatically without performing any health monitoring."
                      ]
                    ],
                    "Required": false,
                    "Type": "string"
                  },
                  {
                    "#name": "upgradeReplicaSetCheckTimeout",
                    "Description": "The maximum amount of time to block processing of an upgrade domain and prevent loss of availability when there are unexpected issues. When this timeout expires, processing of the upgrade domain will proceed regardless of availability loss issues. The timeout is reset at the start of each upgrade domain. Valid values are between 0 and 42949672925 inclusive. (unsigned 32-bit integer). Unit is in seconds.",
                    "Format": "int64",
                    "Required": false,
                    "Type": "integer"
                  },
                  {
                    "#name": "recreateApplication",
                    "Description": "Determines whether the application should be recreated on update. If value=true, the rest of the upgrade policy parameters are not allowed.",
                    "Required": false,
                    "Type": "boolean"
                  }
                ]
              }
            ]
          },
          {
            "#name": "tags",
            "Description": "Resource tags.",
            "Required": false,
            "Type": "object"
          },
          {
            "#name": "identity",
            "Description": "Describes the managed identities for an Azure resource.",
            "Required": false,
            "Type": "object",
            "$properties": [
              {
                "#name": "principalId",
                "Description": "The principal id of the managed identity. This property will only be provided for a system assigned identity.",
                "Required": false,
                "Type": "string"
              },
              {
                "#name": "tenantId",
                "Description": "The tenant id of the managed identity. This property will only be provided for a system assigned identity.",
                "Required": false,
                "Type": "string"
              },
              {
                "#name": "type",
                "Description": "The type of managed identity for the resource.",
                "Enum": [
                  [
                    "None",
                    "Indicates that no identity is associated with the resource."
                  ],
                  [
                    "SystemAssigned",
                    "Indicates that system assigned identity is associated with the resource."
                  ],
                  [
                    "UserAssigned",
                    "Indicates that user assigned identity is associated with the resource."
                  ],
                  [
                    "SystemAssigned, UserAssigned",
                    "Indicates that both system assigned and user assigned identity are associated with the resource."
                  ]
                ],
                "Required": false,
                "Type": "string"
              },
              {
                "#name": "userAssignedIdentities",
                "Description": "The list of user identities associated with the resource. The user identity dictionary key references will be ARM resource ids in the form:\n'/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'.",
                "Required": false,
                "Type": "object"
              }
            ]
          },
          {
            "#name": "location",
            "Description": "The geo-location where the resource lives",
            "Required": false,
            "Type": "string"
          }
        ]
      }
    }
  }
}

⚼ Request

PATCH:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceFabric/managedClusters/{clusterName}/applications/{applicationName}
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
clusterName: string ,
applicationName: string ,
parameters:
{
tags: object ,
}
,
}

⚐ Response (200)

{
properties:
{
managedIdentities:
[
{
name: string ,
principalId: string ,
}
,
]
,
provisioningState: string ,
version: string ,
parameters: object ,
upgradePolicy:
{
applicationHealthPolicy:
{
considerWarningAsError: boolean ,
maxPercentUnhealthyDeployedApplications: integer ,
defaultServiceTypeHealthPolicy:
{
maxPercentUnhealthyServices: integer ,
maxPercentUnhealthyPartitionsPerService: integer ,
maxPercentUnhealthyReplicasPerPartition: integer ,
}
,
serviceTypeHealthPolicyMap: object ,
}
,
forceRestart: boolean ,
rollingUpgradeMonitoringPolicy:
{
failureAction: enum ,
healthCheckWaitDuration: string ,
healthCheckStableDuration: string ,
healthCheckRetryTimeout: string ,
upgradeTimeout: string ,
upgradeDomainTimeout: string ,
}
,
instanceCloseDelayDuration: integer ,
upgradeMode: enum ,
upgradeReplicaSetCheckTimeout: integer ,
recreateApplication: boolean ,
}
,
}
,
tags: object ,
identity:
{
principalId: string ,
tenantId: string ,
type: enum ,
userAssignedIdentities: object ,
}
,
location: string ,
}

⚐ Response (202)

{
$headers:
{
azure-asyncoperation: string ,
location: string ,
}
,
$schema:
{
properties:
{
managedIdentities:
[
{
name: string ,
principalId: string ,
}
,
]
,
provisioningState: string ,
version: string ,
parameters: object ,
upgradePolicy:
{
applicationHealthPolicy:
{
considerWarningAsError: boolean ,
maxPercentUnhealthyDeployedApplications: integer ,
defaultServiceTypeHealthPolicy:
{
maxPercentUnhealthyServices: integer ,
maxPercentUnhealthyPartitionsPerService: integer ,
maxPercentUnhealthyReplicasPerPartition: integer ,
}
,
serviceTypeHealthPolicyMap: object ,
}
,
forceRestart: boolean ,
rollingUpgradeMonitoringPolicy:
{
failureAction: enum ,
healthCheckWaitDuration: string ,
healthCheckStableDuration: string ,
healthCheckRetryTimeout: string ,
upgradeTimeout: string ,
upgradeDomainTimeout: string ,
}
,
instanceCloseDelayDuration: integer ,
upgradeMode: enum ,
upgradeReplicaSetCheckTimeout: integer ,
recreateApplication: boolean ,
}
,
}
,
tags: object ,
identity:
{
principalId: string ,
tenantId: string ,
type: enum ,
userAssignedIdentities: object ,
}
,
location: string ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
NodeTypes_Update (updated)
Description Update the configuration of a node type of a given managed cluster, only updating tags or capacity.
Reference Link ¶

⚶ Changes

{
  "#id": "NodeTypes_Update",
  "Description": {
    "new": "Update the configuration of a node type of a given managed cluster, only updating tags or capacity.",
    "old": "Update the configuration of a node type of a given managed cluster, only updating tags."
  }
}

⚼ Request

PATCH:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceFabric/managedClusters/{clusterName}/nodeTypes/{nodeTypeName}
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
clusterName: string ,
nodeTypeName: string ,
parameters:
{
tags: object ,
sku:
{
name: string ,
tier: string ,
capacity: integer ,
}
,
}
,
}

⚐ Response (200)

{
properties:
{
isPrimary: boolean ,
vmInstanceCount: integer ,
dataDiskSizeGB: integer ,
dataDiskType: enum ,
dataDiskLetter: string ,
placementProperties: object ,
capacities: object ,
applicationPorts:
{
startPort: integer ,
endPort: integer ,
}
,
ephemeralPorts:
{
startPort: integer ,
endPort: integer ,
}
,
vmSize: string ,
vmImagePublisher: string ,
vmImageOffer: string ,
vmImageSku: string ,
vmImageVersion: string ,
vmSecrets:
[
{
sourceVault:
{
id: string ,
}
,
vaultCertificates:
[
{
certificateUrl: string ,
certificateStore: string ,
}
,
]
,
}
,
]
,
vmExtensions:
[
{
name: string ,
properties:
{
publisher: string ,
type: string ,
typeHandlerVersion: string ,
autoUpgradeMinorVersion: boolean ,
settings: string ,
protectedSettings: string ,
forceUpdateTag: string ,
provisionAfterExtensions:
[
string ,
]
,
provisioningState: string ,
enableAutomaticUpgrade: boolean ,
setupOrder:
[
string ,
]
,
}
,
}
,
]
,
vmManagedIdentity:
{
userAssignedIdentities:
[
string ,
]
,
}
,
isStateless: boolean ,
multiplePlacementGroups: boolean ,
frontendConfigurations:
[
{
ipAddressType: enum ,
loadBalancerBackendAddressPoolId: string ,
loadBalancerInboundNatPoolId: string ,
applicationGatewayBackendAddressPoolId: string ,
}
,
]
,
networkSecurityRules:
[
{
name: string ,
description: string ,
protocol: enum ,
sourceAddressPrefixes:
[
string ,
]
,
destinationAddressPrefixes:
[
string ,
]
,
sourcePortRanges:
[
string ,
]
,
destinationPortRanges:
[
string ,
]
,
sourceAddressPrefix: string ,
destinationAddressPrefix: string ,
sourcePortRange: string ,
destinationPortRange: string ,
access: enum ,
priority: integer ,
direction: enum ,
}
,
]
,
additionalDataDisks:
[
{
lun: integer ,
diskSizeGB: integer ,
diskType: enum ,
diskLetter: string ,
}
,
]
,
enableEncryptionAtHost: boolean ,
provisioningState: enum ,
enableAcceleratedNetworking: boolean ,
useDefaultPublicLoadBalancer: boolean ,
useTempDataDisk: boolean ,
enableOverProvisioning: boolean ,
zones:
[
string ,
]
,
isSpotVM: boolean ,
hostGroupId: string ,
useEphemeralOSDisk: boolean ,
spotRestoreTimeout: string ,
evictionPolicy: enum ,
vmImageResourceId: string ,
subnetId: string ,
vmSetupActions:
[
string ,
]
,
securityType: enum ,
securityEncryptionType: enum ,
secureBootEnabled: boolean ,
enableNodePublicIP: boolean ,
enableNodePublicIPv6: boolean ,
vmSharedGalleryImageId: string ,
natGatewayId: string ,
natConfigurations:
[
{
backendPort: integer ,
frontendPortRangeStart: integer ,
frontendPortRangeEnd: integer ,
}
,
]
,
vmImagePlan:
{
name: string ,
product: string ,
promotionCode: string ,
publisher: string ,
}
,
serviceArtifactReferenceId: string ,
dscpConfigurationId: string ,
additionalNetworkInterfaceConfigurations:
[
{
name: string ,
enableAcceleratedNetworking: boolean ,
dscpConfiguration:
{
id: string ,
}
,
ipConfigurations:
[
{
name: string ,
applicationGatewayBackendAddressPools:
[
{
id: string ,
}
,
]
,
loadBalancerBackendAddressPools:
[
{
id: string ,
}
,
]
,
loadBalancerInboundNatPools:
[
{
id: string ,
}
,
]
,
subnet:
{
id: string ,
}
,
privateIPAddressVersion: enum ,
publicIPAddressConfiguration:
{
name: string ,
ipTags:
[
{
ipTagType: string ,
tag: string ,
}
,
]
,
publicIPAddressVersion: enum ,
}
,
}
,
]
,
}
,
]
,
computerNamePrefix: string ,
vmApplications:
[
{
configurationReference: string ,
enableAutomaticUpgrade: boolean ,
order: integer ,
packageReferenceId: string ,
vmGalleryTags: string ,
treatFailureAsDeploymentFailure: boolean ,
}
,
]
,
zoneBalance: boolean ,
}
,
tags: object ,
sku:
{
name: string ,
tier: string ,
capacity: integer ,
}
,
}

⚐ Response (202)

{
azure-asyncoperation: string ,
location: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}