HostingEnvironmentRecommendationCollection Class

Definition

A class representing a collection of HostingEnvironmentRecommendationResource and their operations. Each HostingEnvironmentRecommendationResource in the collection will belong to the same instance of AppServiceEnvironmentResource. To get a HostingEnvironmentRecommendationCollection instance call the GetHostingEnvironmentRecommendations method from an instance of AppServiceEnvironmentResource.

public class HostingEnvironmentRecommendationCollection : Azure.ResourceManager.ArmCollection
type HostingEnvironmentRecommendationCollection = class
    inherit ArmCollection
Public Class HostingEnvironmentRecommendationCollection
Inherits ArmCollection
Inheritance
HostingEnvironmentRecommendationCollection

Constructors

HostingEnvironmentRecommendationCollection()

Initializes a new instance of the HostingEnvironmentRecommendationCollection class for mocking.

Properties

Client

Gets the ArmClient this resource client was created from.

(Inherited from ArmCollection)
Diagnostics

Gets the diagnostic options for this resource client.

(Inherited from ArmCollection)
Endpoint

Gets the base uri for this resource client.

(Inherited from ArmCollection)
Id

Gets the resource identifier.

(Inherited from ArmCollection)
Pipeline

Gets the pipeline for this resource client.

(Inherited from ArmCollection)

Methods

Exists(String, Nullable<Boolean>, String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{hostingEnvironmentName}/recommendations/{name}
  • Operation Id: Recommendations_GetRuleDetailsByHostingEnvironment
  • Default Api Version: 2023-12-01
  • Resource: HostingEnvironmentRecommendationResource
ExistsAsync(String, Nullable<Boolean>, String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{hostingEnvironmentName}/recommendations/{name}
  • Operation Id: Recommendations_GetRuleDetailsByHostingEnvironment
  • Default Api Version: 2023-12-01
  • Resource: HostingEnvironmentRecommendationResource
Get(String, Nullable<Boolean>, String, CancellationToken)

Description for Get a recommendation rule for an app.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{hostingEnvironmentName}/recommendations/{name}
  • Operation Id: Recommendations_GetRuleDetailsByHostingEnvironment
  • Default Api Version: 2023-12-01
  • Resource: HostingEnvironmentRecommendationResource
GetAsync(String, Nullable<Boolean>, String, CancellationToken)

Description for Get a recommendation rule for an app.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{hostingEnvironmentName}/recommendations/{name}
  • Operation Id: Recommendations_GetRuleDetailsByHostingEnvironment
  • Default Api Version: 2023-12-01
  • Resource: HostingEnvironmentRecommendationResource
GetIfExists(String, Nullable<Boolean>, String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{hostingEnvironmentName}/recommendations/{name}
  • Operation Id: Recommendations_GetRuleDetailsByHostingEnvironment
  • Default Api Version: 2023-12-01
  • Resource: HostingEnvironmentRecommendationResource
GetIfExistsAsync(String, Nullable<Boolean>, String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{hostingEnvironmentName}/recommendations/{name}
  • Operation Id: Recommendations_GetRuleDetailsByHostingEnvironment
  • Default Api Version: 2023-12-01
  • Resource: HostingEnvironmentRecommendationResource
TryGetApiVersion(ResourceType, String)

Gets the api version override if it has been set for the current client options.

(Inherited from ArmCollection)

Applies to