ElasticsearchResource Class
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
A resource that represents a Elasticsearch
public class ElasticsearchResource : Aspire.Hosting.ApplicationModel.ContainerResource, Aspire.Hosting.ApplicationModel.IResourceWithConnectionString
type ElasticsearchResource = class
inherit ContainerResource
interface IResourceWithConnectionString
interface IResource
interface IManifestExpressionProvider
interface IValueProvider
interface IValueWithReferences
Public Class ElasticsearchResource
Inherits ContainerResource
Implements IResourceWithConnectionString
- Inheritance
- Implements
Annotations |
Gets the annotations associated with the resource. (Inherited from Resource) |
Connection |
Gets the connection string expression for the Elasticsearch |
Entrypoint |
The container Entrypoint. (Inherited from ContainerResource) |
Internal |
Gets the internal endpoint for the Elasticsearch. This endpoint used for communications between nodes in a cluster |
Name |
Gets the name of the resource. (Inherited from Resource) |
Password |
Gets the parameter that contains the Elasticsearch superuser password. |
Primary |
Gets the primary endpoint for the Elasticsearch. This endpoint is used for all API calls over HTTP. |
Get |
Gets an endpoint reference for the specified endpoint name. |
Get |
Gets the endpoints for the specified resource. |
Get |
Get the environment variables from the given resource. |
Get |
Gets the number of replicas for the specified resource. Defaults to |
Try |
Attempts to retrieve all annotations of the specified type from the given resource including from parents. |
Try |
Attempts to retrieve all annotations of the specified type from the given resource. |
Try |
Attempts to get the container image name from the given resource. |
Try |
Attempts to get the container mounts for the specified resource. |
Try |
Attempts to retrieve the endpoints for the given resource. |
Try |
Attempts to get the environment variables from the given resource. |
Try |
Attempts to get the last annotation of the specified type from the resource. |
Is |
Determines whether the specified resource is a container resource. |