Share via


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

GetApiKey(SubscriptionResource, ElasticUserEmailId, 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-03-01
GetApiKeyAsync(SubscriptionResource, ElasticUserEmailId, 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-03-01
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
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
GetElasticMonitor(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-03-01
  • Resource: ElasticMonitorResource
GetElasticMonitorAsync(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-03-01
  • Resource: ElasticMonitorResource
GetElasticMonitorResource(ArmClient, ResourceIdentifier)

Gets an object representing an ElasticMonitorResource along with the instance operations that can be performed on it but with no data. You can use CreateResourceIdentifier(String, String, String) to create an ElasticMonitorResourceResourceIdentifier from its components. MockingTo mock this method, please mock GetElasticMonitorResource(ResourceIdentifier) instead.

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
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
GetElasticMonitorResources(ResourceGroupResource)

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

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
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
GetElasticMonitors(ResourceGroupResource)

Gets a collection of ElasticMonitorResources in the ResourceGroupResource. MockingTo mock this method, please mock GetElasticMonitors() instead.

GetElasticMonitors(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-03-01
  • Resource: ElasticMonitorResource
GetElasticMonitorsAsync(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-03-01
  • Resource: ElasticMonitorResource
GetElasticOpenAIIntegrationResource(ArmClient, ResourceIdentifier)

Gets an object representing an ElasticOpenAIIntegrationResource 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 ElasticOpenAIIntegrationResourceResourceIdentifier from its components. MockingTo mock this method, please mock GetElasticOpenAIIntegrationResource(ResourceIdentifier) instead.

GetElasticTagRuleResource(ArmClient, ResourceIdentifier)

Gets an object representing an ElasticTagRuleResource 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 ElasticTagRuleResourceResourceIdentifier from its components. MockingTo mock this method, please mock GetElasticTagRuleResource(ResourceIdentifier) instead.

GetElasticToAzureSubscriptionMapping(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-03-01
GetElasticToAzureSubscriptionMappingAsync(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-03-01
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
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
GetElasticVersions(SubscriptionResource, String, CancellationToken)

Get a list of available versions for a region.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.Elastic/elasticVersions
  • Operation Id: ElasticVersions_List
  • Default Api Version: 2024-03-01
GetElasticVersionsAsync(SubscriptionResource, String, CancellationToken)

Get a list of available versions for a region.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.Elastic/elasticVersions
  • Operation Id: ElasticVersions_List
  • Default Api Version: 2024-03-01
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. MockingTo mock this method, please mock GetMonitoredSubscriptionPropertyResource(ResourceIdentifier) instead.

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. MockingTo mock this method, please mock GetMonitoringTagRuleResource(ResourceIdentifier) instead.

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. MockingTo mock this method, please mock GetOpenAIIntegrationRPModelResource(ResourceIdentifier) instead.

Applies to