Skip To Content
ArcGIS Developers
Dashboard

Default Properties

Description

This resource returns the default property template, which defines the default scaling and resource allocations, for a specific microservice. The default property configuration is applied to microservices that match the type, provider, and mode of the corresponding template. The default properties of a microservice can be updated using the edit operation.

Request parameters

ParameterDetails
f

The response format. The default format is html.

Values: html | json | pjson

Response properties

PropertyDetails
mode

The microservice mode. A mode type of NA is returned when the microservice is system related (Admin API, Portal Sharing, ingress controller, etc.). Only microservices related to an ArcGIS service type will return either Dedicated or Shared for this property.

Values: Shared | Dedicated | Undefined | Primary | Standby | Coordinator

provider

The microservice provider. Only microservices related to an ArcGIS service type will have a provider type. A provider type of NA is returned for non-service related microservices (Admin API, Portal Sharing, ingress controller, etc.)

Values: SDS | ArcObjects11 | Undefined | Postgres | Tiles | Ignite | MinIO | Elasticsearch | RabbitMQ

id

The template ID.

Example

"id": "9375dd81-30d1-41c0-a802-cabb425159a9",
type

The microservice type. For example, if the microservice is a shared feature server containing feature services, the value returned will be FeatureServer. For non-service related microservices, the type will be listed as System.

Values: FeatureServer | GPServer | GPSyncServer | MapServer | TileServer | System | InMemoryStore | ObjectStore | SpatiotemporalIndexStore | QueueServer | RelationalStore

spec

The JSON object representation of the template's specifications, including replicas and container resources. These values can be updated using the edit operation.

Example

"spec": {
  "replicas": {
    "min": 1,
    "max": 1
  },
  "containers": [
    {
      "name": "main-container",
      "resources": {
        "memoryMin": "500Mi",
        "memoryMax": "4Gi",
        "cpuMin": "0.125",
        "cpuMax": "2"
      },
      "containerImageKey": "MAP_SERVER"
    },
    {
      "name": "filebeat",
      "resources": {
        "memoryMin": "32Mi",
        "memoryMax": "50Mi",
        "cpuMin": "0.05",
        "cpuMax": "0.25"
      },
      "containerImageKey": "FILEBEAT"
    }
  ]
},
replicas

The number of replicas for the microservice. Currently, both min and max values will need to be the same, as there is no auto-scaling. The default value for both min and max are 1.

Example

"replicas": {
  "min": 2,
  "max": 2
},
resources

The minimum and maximum resource allocations for the microservice, including the minimum memory (memoryMin) and minimum CPU (cpuMin) resources required for the microservice to start. The default values for memoryMin, cpuMin, memoryMax, and cpuMax are outlined in the example below.

Example

"resources": {
  "memoryMin": "500Mi",
  "cpuMin": "0.125",
  "memoryMax": "8Gi",
  "cpuMax": "4"
}
revision

The date, in milliseconds from epoch format, of the latest revision to the template.

Example

"revision": 1598217421474

Example usage

The following is a sample request URL used to access an individual microservice property template resource:

https://reverseproxy.domain.com/arcgis/admin/system/deployments/properties/11abdae1-e44a-422c-911a-e8282dadf74a?f=pjson

JSON Response example

{
  "mode": "Dedicated",
  "provider": "ArcObjects11",
  "id": "pfnpl9gr7gi44g1ufg3h9",
  "type": "MapServer",
  "spec": {
    "replicas": {
      "min": 1,
      "max": 1
    },
    "containers": [
      {
        "name": "main-container",
        "resources": {
          "memoryMin": "500Mi",
          "memoryMax": "2Gi",
          "cpuMin": "0.125",
          "cpuMax": "2"
        },
        "containerImageKey": "MAP_SERVER"
      },
      {
        "name": "filebeat",
        "resources": {
          "memoryMin": "32Mi",
          "memoryMax": "50Mi",
          "cpuMin": "0.05",
          "cpuMax": "0.25"
        },
        "containerImageKey": "FILEBEAT"
      }
    ]
  },
  "revision": 1618223886572
}