SearchServiceInner Class
- java.
lang. Object - com.
azure. core. management. ProxyResource - com.
azure. core. management. Resource - com.
azure. resourcemanager. search. fluent. models. SearchServiceInner
- com.
- com.
- com.
public final class SearchServiceInner
extends Resource
Describes a search service and its current state.
Constructor Summary
Constructor | Description |
---|---|
SearchServiceInner() |
Creates an instance of Search |
Method Summary
Modifier and Type | Method and Description |
---|---|
Data |
authOptions()
Get the auth |
Boolean |
disableLocalAuth()
Get the disable |
Encryption |
encryptionWithCmk()
Get the encryption |
static
Search |
fromJson(JsonReader jsonReader)
Reads an instance of Search |
Hosting |
hostingMode()
Get the hosting |
String |
id()
Get the id property: Fully qualified resource Id for the resource. |
Identity |
identity()
Get the identity property: The identity of the resource. |
String |
name()
Get the name property: The name of the resource. |
Network |
networkRuleSet()
Get the network |
Integer |
partitionCount()
Get the partition |
List<Private |
privateEndpointConnections()
Get the private |
Provisioning |
provisioningState()
Get the provisioning |
Public |
publicNetworkAccess()
Get the public |
Integer |
replicaCount()
Get the replica |
Search |
semanticSearch()
Get the semantic |
List<Shared |
sharedPrivateLinkResources()
Get the shared |
Sku |
sku()
Get the sku property: The SKU of the search service, which determines billing rate and capacity limits. |
Search |
status()
Get the status property: The status of the search service. |
String |
statusDetails()
Get the status |
Json |
toJson(JsonWriter jsonWriter) |
String |
type()
Get the type property: The type of the resource. |
void |
validate()
Validates the instance. |
Search |
withAuthOptions(DataPlaneAuthOptions authOptions)
Set the auth |
Search |
withDisableLocalAuth(Boolean disableLocalAuth)
Set the disable |
Search |
withEncryptionWithCmk(EncryptionWithCmk encryptionWithCmk)
Set the encryption |
Search |
withHostingMode(HostingMode hostingMode)
Set the hosting |
Search |
withIdentity(Identity identity)
Set the identity property: The identity of the resource. |
Search |
withLocation(String location) |
Search |
withNetworkRuleSet(NetworkRuleSet networkRuleSet)
Set the network |
Search |
withPartitionCount(Integer partitionCount)
Set the partition |
Search |
withPublicNetworkAccess(PublicNetworkAccess publicNetworkAccess)
Set the public |
Search |
withReplicaCount(Integer replicaCount)
Set the replica |
Search |
withSemanticSearch(SearchSemanticSearch semanticSearch)
Set the semantic |
Search |
withSku(Sku sku)
Set the sku property: The SKU of the search service, which determines billing rate and capacity limits. |
Search |
withTags(Map<String,String> tags) |
Methods inherited from ProxyResource
Methods inherited from Resource
Methods inherited from java.lang.Object
Constructor Details
SearchServiceInner
public SearchServiceInner()
Creates an instance of SearchServiceInner class.
Method Details
authOptions
public DataPlaneAuthOptions authOptions()
Get the authOptions property: 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.
Returns:
disableLocalAuth
public Boolean disableLocalAuth()
Get the disableLocalAuth property: 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.
Returns:
encryptionWithCmk
public EncryptionWithCmk encryptionWithCmk()
Get the encryptionWithCmk property: Specifies any policy regarding encryption of resources (such as indexes) using customer manager keys within a search service.
Returns:
fromJson
public static SearchServiceInner fromJson(JsonReader jsonReader)
Reads an instance of SearchServiceInner from the JsonReader.
Parameters:
Returns:
Throws:
hostingMode
public HostingMode hostingMode()
Get the hostingMode property: 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'.
Returns:
id
public String id()
Get the id property: Fully qualified resource Id for the resource.
Overrides:
SearchServiceInner.id()Returns:
identity
public Identity identity()
Get the identity property: The identity of the resource.
Returns:
name
public String name()
Get the name property: The name of the resource.
Overrides:
SearchServiceInner.name()Returns:
networkRuleSet
public NetworkRuleSet networkRuleSet()
Get the networkRuleSet property: Network-specific rules that determine how the search service may be reached.
Returns:
partitionCount
public Integer partitionCount()
Get the partitionCount property: 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.
Returns:
privateEndpointConnections
public List
Get the privateEndpointConnections property: The list of private endpoint connections to the search service.
Returns:
provisioningState
public ProvisioningState provisioningState()
Get the provisioningState property: 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.
Returns:
publicNetworkAccess
public PublicNetworkAccess publicNetworkAccess()
Get the publicNetworkAccess property: 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.
Returns:
replicaCount
public Integer replicaCount()
Get the replicaCount property: 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.
Returns:
semanticSearch
public SearchSemanticSearch semanticSearch()
Get the semanticSearch property: Sets options that control the availability of semantic search. This configuration is only possible for certain search SKUs in certain locations.
Returns:
sharedPrivateLinkResources
public List
Get the sharedPrivateLinkResources property: The list of shared private link resources managed by the search service.
Returns:
sku
public Sku sku()
Get the sku property: The SKU of the search service, which determines billing rate and capacity limits. This property is required when creating a new search service.
Returns:
status
public SearchServiceStatus status()
Get the status property: 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.
Returns:
statusDetails
public String statusDetails()
Get the statusDetails property: The details of the search service status.
Returns:
toJson
public JsonWriter toJson(JsonWriter jsonWriter)
Overrides:
SearchServiceInner.toJson(JsonWriter jsonWriter)Parameters:
Throws:
type
public String type()
Get the type property: The type of the resource.
Overrides:
SearchServiceInner.type()Returns:
validate
public void validate()
Validates the instance.
withAuthOptions
public SearchServiceInner withAuthOptions(DataPlaneAuthOptions authOptions)
Set the authOptions property: 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.
Parameters:
Returns:
withDisableLocalAuth
public SearchServiceInner withDisableLocalAuth(Boolean disableLocalAuth)
Set the disableLocalAuth property: 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.
Parameters:
Returns:
withEncryptionWithCmk
public SearchServiceInner withEncryptionWithCmk(EncryptionWithCmk encryptionWithCmk)
Set the encryptionWithCmk property: Specifies any policy regarding encryption of resources (such as indexes) using customer manager keys within a search service.
Parameters:
Returns:
withHostingMode
public SearchServiceInner withHostingMode(HostingMode hostingMode)
Set the hostingMode property: 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'.
Parameters:
Returns:
withIdentity
public SearchServiceInner withIdentity(Identity identity)
Set the identity property: The identity of the resource.
Parameters:
Returns:
withLocation
public SearchServiceInner withLocation(String location)
Overrides:
SearchServiceInner.withLocation(String location)Parameters:
withNetworkRuleSet
public SearchServiceInner withNetworkRuleSet(NetworkRuleSet networkRuleSet)
Set the networkRuleSet property: Network-specific rules that determine how the search service may be reached.
Parameters:
Returns:
withPartitionCount
public SearchServiceInner withPartitionCount(Integer partitionCount)
Set the partitionCount property: 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.
Parameters:
Returns:
withPublicNetworkAccess
public SearchServiceInner withPublicNetworkAccess(PublicNetworkAccess publicNetworkAccess)
Set the publicNetworkAccess property: 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.
Parameters:
Returns:
withReplicaCount
public SearchServiceInner withReplicaCount(Integer replicaCount)
Set the replicaCount property: 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.
Parameters:
Returns:
withSemanticSearch
public SearchServiceInner withSemanticSearch(SearchSemanticSearch semanticSearch)
Set the semanticSearch property: Sets options that control the availability of semantic search. This configuration is only possible for certain search SKUs in certain locations.
Parameters:
Returns:
withSku
public SearchServiceInner withSku(Sku sku)
Set the sku property: The SKU of the search service, which determines billing rate and capacity limits. This property is required when creating a new search service.
Parameters:
Returns:
withTags
public SearchServiceInner withTags(Map
Overrides:
SearchServiceInner.withTags(Map<String,String> tags)Parameters:
Applies to
Azure SDK for Java