SpringBootSiteSummaryCollection.GetIfExists(String, CancellationToken) Method

Definition

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OffAzureSpringBoot/springbootsites/{siteName}/summaries/{summaryName}
  • Operation Id: Summaries_Get
public virtual Azure.NullableResponse<Azure.ResourceManager.SpringAppDiscovery.SpringBootSiteSummaryResource> GetIfExists (string summaryName, System.Threading.CancellationToken cancellationToken = default);
abstract member GetIfExists : string * System.Threading.CancellationToken -> Azure.NullableResponse<Azure.ResourceManager.SpringAppDiscovery.SpringBootSiteSummaryResource>
override this.GetIfExists : string * System.Threading.CancellationToken -> Azure.NullableResponse<Azure.ResourceManager.SpringAppDiscovery.SpringBootSiteSummaryResource>
Public Overridable Function GetIfExists (summaryName As String, Optional cancellationToken As CancellationToken = Nothing) As NullableResponse(Of SpringBootSiteSummaryResource)

Parameters

summaryName
String

The name of summary.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

summaryName is an empty string, and was expected to be non-empty.

summaryName is null.

Applies to