GetServiceResult

data class GetServiceResult(val correlationScheme: List<ServiceCorrelationDescriptionResponse>? = null, val defaultMoveCost: String? = null, val etag: String, val id: String, val location: String? = null, val name: String, val partitionDescription: Any? = null, val placementConstraints: String? = null, val provisioningState: String, val serviceDnsName: String? = null, val serviceKind: String, val serviceLoadMetrics: List<ServiceLoadMetricDescriptionResponse>? = null, val servicePackageActivationMode: String? = null, val servicePlacementPolicies: List<ServicePlacementPolicyDescriptionResponse>? = null, val serviceTypeName: String? = null, val tags: Map<String, String>? = null, val type: String)

The service resource.

Constructors

Link copied to clipboard
constructor(correlationScheme: List<ServiceCorrelationDescriptionResponse>? = null, defaultMoveCost: String? = null, etag: String, id: String, location: String? = null, name: String, partitionDescription: Any? = null, placementConstraints: String? = null, provisioningState: String, serviceDnsName: String? = null, serviceKind: String, serviceLoadMetrics: List<ServiceLoadMetricDescriptionResponse>? = null, servicePackageActivationMode: String? = null, servicePlacementPolicies: List<ServicePlacementPolicyDescriptionResponse>? = null, serviceTypeName: String? = null, tags: Map<String, String>? = null, type: String)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

A list that describes the correlation of the service with other services.

Link copied to clipboard
val defaultMoveCost: String? = null

Specifies the move cost for the service.

Link copied to clipboard

Azure resource etag.

Link copied to clipboard
val id: String

Azure resource identifier.

Link copied to clipboard
val location: String? = null

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

Link copied to clipboard

Azure resource name.

Link copied to clipboard

Describes how the service is partitioned.

Link copied to clipboard

The placement constraints as a string. Placement constraints are boolean expressions on node properties and allow for restricting a service to particular nodes based on the service requirements. For example, to place a service on nodes where NodeType is blue specify the following: "NodeColor == blue)".

Link copied to clipboard

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

Link copied to clipboard
val serviceDnsName: String? = null

Dns name used for the service. If this is specified, then the service can be accessed via its DNS name instead of service name.

Link copied to clipboard

The kind of service (Stateless or Stateful).

Link copied to clipboard

The service load metrics is given as an array of ServiceLoadMetricDescription objects.

Link copied to clipboard

The activation Mode of the service package

Link copied to clipboard

A list that describes the correlation of the service with other services.

Link copied to clipboard
val serviceTypeName: String? = null

The name of the service type

Link copied to clipboard
val tags: Map<String, String>? = null

Azure resource tags.

Link copied to clipboard

Azure resource type.