ChildAvailabilityStatuses interface

Interface representing a ChildAvailabilityStatuses.

Methods

getByResource(string, ChildAvailabilityStatusesGetByResourceOptionalParams)

Gets current availability status for a single resource

list(string, ChildAvailabilityStatusesListOptionalParams)

Lists the historical availability statuses for a single child resource. Use the nextLink property in the response to get the next page of availability status

Method Details

getByResource(string, ChildAvailabilityStatusesGetByResourceOptionalParams)

Gets current availability status for a single resource

function getByResource(resourceUri: string, options?: ChildAvailabilityStatusesGetByResourceOptionalParams): Promise<AvailabilityStatus>

Parameters

resourceUri

string

The fully qualified ID of the resource, including the resource name and resource type. Currently the API only support one nesting level resource types : /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resource-provider-name}/{parentResourceType}/{parentResourceName}/{resourceType}/{resourceName}

Returns

list(string, ChildAvailabilityStatusesListOptionalParams)

Lists the historical availability statuses for a single child resource. Use the nextLink property in the response to get the next page of availability status

function list(resourceUri: string, options?: ChildAvailabilityStatusesListOptionalParams): PagedAsyncIterableIterator<AvailabilityStatus, AvailabilityStatus[], PageSettings>

Parameters

resourceUri

string

The fully qualified ID of the resource, including the resource name and resource type. Currently the API only support one nesting level resource types : /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resource-provider-name}/{parentResourceType}/{parentResourceName}/{resourceType}/{resourceName}

options
ChildAvailabilityStatusesListOptionalParams

The options parameters.

Returns