ElasticExtensions Class

Definition

A class to add extension methods to Azure.ResourceManager.Elastic.

public static class ElasticExtensions
type ElasticExtensions = class
Public Module ElasticExtensions
Inheritance
ElasticExtensions

Methods

Name Description
GetApiKey(SubscriptionResource, ElasticUserEmailId, CancellationToken)

Fetch the User API Key from the internal database, if it was generated and stored during the creation of the Elasticsearch Organization. <item> Mocking. To mock this method, please mock GetApiKey(ElasticUserEmailId, CancellationToken) instead. </item>

GetApiKeyAsync(SubscriptionResource, ElasticUserEmailId, CancellationToken)

Fetch the User API Key from the internal database, if it was generated and stored during the creation of the Elasticsearch Organization. <item> Mocking. To mock this method, please mock GetApiKeyAsync(ElasticUserEmailId, CancellationToken) instead. </item>

GetApiKeyOrganization(SubscriptionResource, ElasticModelUserEmailId, CancellationToken)

Fetch User API Key from internal database, if it was generated and stored while creating the Elasticsearch Organization.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.Elastic/getOrganizationApiKey
  • Operation Id: Organizations_GetApiKey
  • Default Api Version: 2024-06-15-preview
<item>MockingTo mock this method, please mock GetApiKeyOrganization(ElasticModelUserEmailId, CancellationToken) instead.</item>
GetApiKeyOrganizationAsync(SubscriptionResource, ElasticModelUserEmailId, CancellationToken)

Fetch User API Key from internal database, if it was generated and stored while creating the Elasticsearch Organization.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.Elastic/getOrganizationApiKey
  • Operation Id: Organizations_GetApiKey
  • Default Api Version: 2024-06-15-preview
<item>MockingTo mock this method, please mock GetApiKeyOrganization(ElasticModelUserEmailId, CancellationToken) instead.</item>
GetElasticMonitor(ResourceGroupResource, String, CancellationToken)

Get detailed properties of a specific Elastic monitor resource, helping you manage observability and performance. <item> Mocking. To mock this method, please mock GetElasticMonitor(String, CancellationToken) instead. </item>

GetElasticMonitorAsync(ResourceGroupResource, String, CancellationToken)

Get detailed properties of a specific Elastic monitor resource, helping you manage observability and performance. <item> Mocking. To mock this method, please mock GetElasticMonitorAsync(String, CancellationToken) instead. </item>

GetElasticMonitoredSubscriptionResource(ArmClient, ResourceIdentifier)

Gets an object representing a ElasticMonitoredSubscriptionResource along with the instance operations that can be performed on it but with no data. <item> Mocking. To mock this method, please mock GetElasticMonitoredSubscriptionResource(ResourceIdentifier) instead. </item>

GetElasticMonitorResource(ArmClient, ResourceIdentifier)

Gets an object representing a ElasticMonitorResource along with the instance operations that can be performed on it but with no data. <item> Mocking. To mock this method, please mock GetElasticMonitorResource(ResourceIdentifier) instead. </item>

GetElasticMonitorResource(ResourceGroupResource, String, CancellationToken)

Get the properties of a specific monitor resource.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Elastic/monitors/{monitorName}
  • Operation Id: Monitors_Get
  • Default Api Version: 2024-06-15-preview
  • Resource: ElasticMonitorResource
<item>MockingTo mock this method, please mock GetElasticMonitorResource(String, CancellationToken) instead.</item>
GetElasticMonitorResourceAsync(ResourceGroupResource, String, CancellationToken)

Get the properties of a specific monitor resource.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Elastic/monitors/{monitorName}
  • Operation Id: Monitors_Get
  • Default Api Version: 2024-06-15-preview
  • Resource: ElasticMonitorResource
<item>MockingTo mock this method, please mock GetElasticMonitorResourceAsync(String, CancellationToken) instead.</item>
GetElasticMonitorResources(ResourceGroupResource)

Gets a collection of ElasticMonitorResources in the ResourceGroupResource. <item>MockingTo mock this method, please mock GetElasticMonitorResources() instead.</item>

GetElasticMonitorResources(SubscriptionResource, CancellationToken)

List all monitors under the specified subscription.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.Elastic/monitors
  • Operation Id: Monitors_List
  • Default Api Version: 2024-06-15-preview
  • Resource: ElasticMonitorResource
<item>MockingTo mock this method, please mock GetElasticMonitorResources(CancellationToken) instead.</item>
GetElasticMonitorResourcesAsync(SubscriptionResource, CancellationToken)

List all monitors under the specified subscription.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.Elastic/monitors
  • Operation Id: Monitors_List
  • Default Api Version: 2024-06-15-preview
  • Resource: ElasticMonitorResource
<item>MockingTo mock this method, please mock GetElasticMonitorResources(CancellationToken) instead.</item>
GetElasticMonitors(ResourceGroupResource)

Gets a collection of ElasticMonitors in the ResourceGroupResource<item> Mocking. To mock this method, please mock GetElasticMonitors() instead. </item>

GetElasticMonitors(SubscriptionResource, CancellationToken)

List all Elastic monitor resources within a specified subscription, helping you audit and manage your monitoring setup. <item> Mocking. To mock this method, please mock GetElasticMonitors(CancellationToken) instead. </item>

GetElasticMonitorsAsync(SubscriptionResource, CancellationToken)

List all Elastic monitor resources within a specified subscription, helping you audit and manage your monitoring setup. <item> Mocking. To mock this method, please mock GetElasticMonitorsAsync(CancellationToken) instead. </item>

GetElasticOpenAIIntegrationResource(ArmClient, ResourceIdentifier)

Gets an object representing a ElasticOpenAIIntegrationResource along with the instance operations that can be performed on it but with no data. <item> Mocking. To mock this method, please mock GetElasticOpenAIIntegrationResource(ResourceIdentifier) instead. </item>

GetElasticTagRuleResource(ArmClient, ResourceIdentifier)

Gets an object representing a ElasticTagRuleResource along with the instance operations that can be performed on it but with no data. <item> Mocking. To mock this method, please mock GetElasticTagRuleResource(ResourceIdentifier) instead. </item>

GetElasticToAzureSubscriptionMapping(SubscriptionResource, CancellationToken)

>; /** Retrieve mapping details between the Elastic Organization and Azure Subscription for the logged-in user. <item> Mocking. To mock this method, please mock GetElasticToAzureSubscriptionMapping(CancellationToken) instead. </item>

GetElasticToAzureSubscriptionMappingAsync(SubscriptionResource, CancellationToken)

>; /** Retrieve mapping details between the Elastic Organization and Azure Subscription for the logged-in user. <item> Mocking. To mock this method, please mock GetElasticToAzureSubscriptionMappingAsync(CancellationToken) instead. </item>

GetElasticToAzureSubscriptionMappingOrganization(SubscriptionResource, CancellationToken)

Get Elastic Organization To Azure Subscription Mapping details for the logged-in user.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.Elastic/getElasticOrganizationToAzureSubscriptionMapping
  • Operation Id: Organizations_GetElasticToAzureSubscriptionMapping
  • Default Api Version: 2024-06-15-preview
<item>MockingTo mock this method, please mock GetElasticToAzureSubscriptionMappingOrganization(CancellationToken) instead.</item>
GetElasticToAzureSubscriptionMappingOrganizationAsync(SubscriptionResource, CancellationToken)

Get Elastic Organization To Azure Subscription Mapping details for the logged-in user.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.Elastic/getElasticOrganizationToAzureSubscriptionMapping
  • Operation Id: Organizations_GetElasticToAzureSubscriptionMapping
  • Default Api Version: 2024-06-15-preview
<item>MockingTo mock this method, please mock GetElasticToAzureSubscriptionMappingOrganization(CancellationToken) instead.</item>
GetElasticVersions(SubscriptionResource, String, CancellationToken)

Retrieve a list of all available Elastic versions for a specified region, helping you choose the best version for your deployment. <item> Mocking. To mock this method, please mock GetElasticVersions(String, CancellationToken) instead. </item>

GetElasticVersionsAsync(SubscriptionResource, String, CancellationToken)

Retrieve a list of all available Elastic versions for a specified region, helping you choose the best version for your deployment. <item> Mocking. To mock this method, please mock GetElasticVersionsAsync(String, CancellationToken) instead. </item>

GetMonitoredSubscriptionPropertyResource(ArmClient, ResourceIdentifier)

Gets an object representing a MonitoredSubscriptionPropertyResource along with the instance operations that can be performed on it but with no data. You can use CreateResourceIdentifier(String, String, String, String) to create a MonitoredSubscriptionPropertyResourceResourceIdentifier from its components. <item>MockingTo mock this method, please mock GetMonitoredSubscriptionPropertyResource(ResourceIdentifier) instead.</item>

GetMonitoringTagRuleResource(ArmClient, ResourceIdentifier)

Gets an object representing a MonitoringTagRuleResource along with the instance operations that can be performed on it but with no data. You can use CreateResourceIdentifier(String, String, String, String) to create a MonitoringTagRuleResourceResourceIdentifier from its components. <item>MockingTo mock this method, please mock GetMonitoringTagRuleResource(ResourceIdentifier) instead.</item>

GetOpenAIIntegrationRPModelResource(ArmClient, ResourceIdentifier)

Gets an object representing an OpenAIIntegrationRPModelResource along with the instance operations that can be performed on it but with no data. You can use CreateResourceIdentifier(String, String, String, String) to create an OpenAIIntegrationRPModelResourceResourceIdentifier from its components. <item>MockingTo mock this method, please mock GetOpenAIIntegrationRPModelResource(ResourceIdentifier) instead.</item>

Applies to