ServiceResourceDescriptionResponse

data class ServiceResourceDescriptionResponse(val autoScalingPolicies: List<AutoScalingPolicyResponse>? = null, val codePackages: List<ContainerCodePackagePropertiesResponse>, val description: String? = null, val diagnostics: DiagnosticsRefResponse? = null, val healthState: String, val id: String, val name: String? = null, val networkRefs: List<NetworkRefResponse>? = null, val osType: String, val provisioningState: String, val replicaCount: Int? = null, val status: String, val statusDetails: String, val type: String, val unhealthyEvaluation: String)

This type describes a service resource.

Constructors

Link copied to clipboard
constructor(autoScalingPolicies: List<AutoScalingPolicyResponse>? = null, codePackages: List<ContainerCodePackagePropertiesResponse>, description: String? = null, diagnostics: DiagnosticsRefResponse? = null, healthState: String, id: String, name: String? = null, networkRefs: List<NetworkRefResponse>? = null, osType: String, provisioningState: String, replicaCount: Int? = null, status: String, statusDetails: String, type: String, unhealthyEvaluation: String)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

Auto scaling policies

Link copied to clipboard

Describes the set of code packages that forms the service. A code package describes the container and the properties for running it. All the code packages are started together on the same host and share the same context (network, process etc.).

Link copied to clipboard
val description: String? = null

User readable description of the service.

Link copied to clipboard

Reference to sinks in DiagnosticsDescription.

Link copied to clipboard

Describes the health state of an application resource.

Link copied to clipboard
val id: String

Fully qualified identifier for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}

Link copied to clipboard
val name: String? = null

The name of the resource

Link copied to clipboard

The names of the private networks that this service needs to be part of.

Link copied to clipboard

The operation system required by the code in service.

Link copied to clipboard

State of the resource.

Link copied to clipboard
val replicaCount: Int? = null

The number of replicas of the service to create. Defaults to 1 if not specified.

Link copied to clipboard

Status of the service.

Link copied to clipboard

Gives additional information about the current status of the service.

Link copied to clipboard

The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts.

Link copied to clipboard

When the service's health state is not 'Ok', this additional details from service fabric Health Manager for the user to know why the service is marked unhealthy.