Udostępnij za pośrednictwem


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

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
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
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-06-15-preview
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-06-15-preview
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