GetServiceResult

data class GetServiceResult(val authOptions: DataPlaneAuthOptionsResponse? = null, val azureApiVersion: String, val disableLocalAuth: Boolean? = null, val encryptionWithCmk: EncryptionWithCmkResponse? = null, val hostingMode: String? = null, val id: String, val identity: IdentityResponse? = null, val location: String, val name: String, val networkRuleSet: NetworkRuleSetResponse? = null, val partitionCount: Int? = null, val privateEndpointConnections: List<PrivateEndpointConnectionResponse>, val provisioningState: String, val publicNetworkAccess: String? = null, val replicaCount: Int? = null, val semanticSearch: String? = null, val sharedPrivateLinkResources: List<SharedPrivateLinkResourceResponse>, val sku: SkuResponse? = null, val status: String, val statusDetails: String, val tags: Map<String, String>? = null, val type: String)

Describes a search service and its current state.

Constructors

Link copied to clipboard
constructor(authOptions: DataPlaneAuthOptionsResponse? = null, azureApiVersion: String, disableLocalAuth: Boolean? = null, encryptionWithCmk: EncryptionWithCmkResponse? = null, hostingMode: String? = null, id: String, identity: IdentityResponse? = null, location: String, name: String, networkRuleSet: NetworkRuleSetResponse? = null, partitionCount: Int? = null, privateEndpointConnections: List<PrivateEndpointConnectionResponse>, provisioningState: String, publicNetworkAccess: String? = null, replicaCount: Int? = null, semanticSearch: String? = null, sharedPrivateLinkResources: List<SharedPrivateLinkResourceResponse>, sku: SkuResponse? = null, status: String, statusDetails: String, tags: Map<String, String>? = null, type: String)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

Defines the options for how the data plane API of a search service authenticates requests. This cannot be set if 'disableLocalAuth' is set to true.

Link copied to clipboard

The Azure API version of the resource.

Link copied to clipboard

When set to true, calls to the search service will not be permitted to utilize API keys for authentication. This cannot be set to true if 'dataPlaneAuthOptions' are defined.

Link copied to clipboard

Specifies any policy regarding encryption of resources (such as indexes) using customer manager keys within a search service.

Link copied to clipboard
val hostingMode: String? = null

Applicable only for the standard3 SKU. You can set this property to enable up to 3 high density partitions that allow up to 1000 indexes, which is much higher than the maximum indexes allowed for any other SKU. For the standard3 SKU, the value is either 'default' or 'highDensity'. For all other SKUs, this value must be 'default'.

Link copied to clipboard
val id: String

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

Link copied to clipboard

The identity of the resource.

Link copied to clipboard

The geo-location where the resource lives

Link copied to clipboard

The name of the resource

Link copied to clipboard

Network-specific rules that determine how the search service may be reached.

Link copied to clipboard
val partitionCount: Int? = null

The number of partitions in the search service; if specified, it can be 1, 2, 3, 4, 6, or 12. Values greater than 1 are only valid for standard SKUs. For 'standard3' services with hostingMode set to 'highDensity', the allowed values are between 1 and 3.

Link copied to clipboard

The list of private endpoint connections to the search service.

Link copied to clipboard

The state of the last provisioning operation performed on the search service. Provisioning is an intermediate state that occurs while service capacity is being established. After capacity is set up, provisioningState changes to either 'succeeded' or 'failed'. Client applications can poll provisioning status (the recommended polling interval is from 30 seconds to one minute) by using the Get Search Service operation to see when an operation is completed. If you are using the free service, this value tends to come back as 'succeeded' directly in the call to Create search service. This is because the free service uses capacity that is already set up.

Link copied to clipboard

This value can be set to 'enabled' to avoid breaking changes on existing customer resources and templates. If set to 'disabled', traffic over public interface is not allowed, and private endpoint connections would be the exclusive access method.

Link copied to clipboard
val replicaCount: Int? = null

The number of replicas in the search service. If specified, it must be a value between 1 and 12 inclusive for standard SKUs or between 1 and 3 inclusive for basic SKU.

Link copied to clipboard
val semanticSearch: String? = null

Sets options that control the availability of semantic search. This configuration is only possible for certain search SKUs in certain locations.

Link copied to clipboard

The list of shared private link resources managed by the search service.

Link copied to clipboard
val sku: SkuResponse? = null

The SKU of the search service, which determines billing rate and capacity limits. This property is required when creating a new search service.

Link copied to clipboard

The status of the search service. Possible values include: 'running': The search service is running and no provisioning operations are underway. 'provisioning': The search service is being provisioned or scaled up or down. 'deleting': The search service is being deleted. 'degraded': The search service is degraded. This can occur when the underlying search units are not healthy. The search service is most likely operational, but performance might be slow and some requests might be dropped. 'disabled': The search service is disabled. In this state, the service will reject all API requests. 'error': The search service is in an error state. If your service is in the degraded, disabled, or error states, Microsoft is actively investigating the underlying issue. Dedicated services in these states are still chargeable based on the number of search units provisioned.

Link copied to clipboard

The details of the search service status.

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

Resource tags.

Link copied to clipboard

The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"