public class SearchServiceInner
extends com.azure.core.management.Resource
| Constructor and Description |
|---|
SearchServiceInner() |
| Modifier and Type | Method and Description |
|---|---|
HostingMode |
hostingMode()
Get the hostingMode property: Applicable only for the standard3 SKU.
|
Identity |
identity()
Get the identity property: The identity of the resource.
|
NetworkRuleSet |
networkRuleSet()
Get the networkRuleSet property: Network specific rules that determine how the Azure Cognitive Search service may
be reached.
|
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.
|
List<PrivateEndpointConnectionInner> |
privateEndpointConnections()
Get the privateEndpointConnections property: The list of private endpoint connections to the Azure Cognitive
Search service.
|
ProvisioningState |
provisioningState()
Get the provisioningState property: The state of the last provisioning operation performed on the search service.
|
PublicNetworkAccess |
publicNetworkAccess()
Get the publicNetworkAccess property: This value can be set to 'enabled' to avoid breaking changes on existing
customer resources and templates.
|
Integer |
replicaCount()
Get the replicaCount property: The number of replicas in the search service.
|
List<SharedPrivateLinkResourceInner> |
sharedPrivateLinkResources()
Get the sharedPrivateLinkResources property: The list of shared private link resources managed by the Azure
Cognitive Search service.
|
Sku |
sku()
Get the sku property: The SKU of the Search Service, which determines price tier and capacity limits.
|
SearchServiceStatus |
status()
Get the status property: The status of the search service.
|
String |
statusDetails()
Get the statusDetails property: The details of the search service status.
|
void |
validate()
Validates the instance.
|
SearchServiceInner |
withHostingMode(HostingMode hostingMode)
Set the hostingMode property: Applicable only for the standard3 SKU.
|
SearchServiceInner |
withIdentity(Identity identity)
Set the identity property: The identity of the resource.
|
SearchServiceInner |
withLocation(String location) |
SearchServiceInner |
withNetworkRuleSet(NetworkRuleSet networkRuleSet)
Set the networkRuleSet property: Network specific rules that determine how the Azure Cognitive Search service may
be reached.
|
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.
|
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.
|
SearchServiceInner |
withReplicaCount(Integer replicaCount)
Set the replicaCount property: The number of replicas in the search service.
|
SearchServiceInner |
withSku(Sku sku)
Set the sku property: The SKU of the Search Service, which determines price tier and capacity limits.
|
SearchServiceInner |
withTags(Map<String,String> tags) |
public Sku sku()
public SearchServiceInner withSku(Sku sku)
sku - the sku value to set.public Identity identity()
public SearchServiceInner withIdentity(Identity identity)
identity - the identity value to set.public Integer replicaCount()
public SearchServiceInner withReplicaCount(Integer replicaCount)
replicaCount - the replicaCount value to set.public Integer partitionCount()
public SearchServiceInner withPartitionCount(Integer partitionCount)
partitionCount - the partitionCount value to set.public HostingMode hostingMode()
public SearchServiceInner withHostingMode(HostingMode hostingMode)
hostingMode - the hostingMode value to set.public PublicNetworkAccess publicNetworkAccess()
public SearchServiceInner withPublicNetworkAccess(PublicNetworkAccess publicNetworkAccess)
publicNetworkAccess - the publicNetworkAccess value to set.public SearchServiceStatus status()
public String statusDetails()
public ProvisioningState provisioningState()
public NetworkRuleSet networkRuleSet()
public SearchServiceInner withNetworkRuleSet(NetworkRuleSet networkRuleSet)
networkRuleSet - the networkRuleSet value to set.public List<PrivateEndpointConnectionInner> privateEndpointConnections()
public List<SharedPrivateLinkResourceInner> sharedPrivateLinkResources()
public SearchServiceInner withLocation(String location)
withLocation in class com.azure.core.management.Resourcepublic SearchServiceInner withTags(Map<String,String> tags)
withTags in class com.azure.core.management.Resourcepublic void validate()
IllegalArgumentException - thrown if the instance is not valid.Copyright © 2021 Microsoft Corporation. All rights reserved.