FarmBeatsModels interface

Interface representing a FarmBeatsModels.

Methods

beginUpdate(string, string, FarmBeatsUpdateRequestModel, FarmBeatsModelsUpdateOptionalParams)

Update a FarmBeats resource.

beginUpdateAndWait(string, string, FarmBeatsUpdateRequestModel, FarmBeatsModelsUpdateOptionalParams)

Update a FarmBeats resource.

createOrUpdate(string, string, FarmBeats, FarmBeatsModelsCreateOrUpdateOptionalParams)

Create or update FarmBeats resource.

delete(string, string, FarmBeatsModelsDeleteOptionalParams)

Delete a FarmBeats resource.

get(string, string, FarmBeatsModelsGetOptionalParams)

Get FarmBeats resource.

getOperationResult(string, string, string, FarmBeatsModelsGetOperationResultOptionalParams)

Get operationResults for a FarmBeats resource.

listByResourceGroup(string, FarmBeatsModelsListByResourceGroupOptionalParams)

Lists the FarmBeats instances for a resource group.

listBySubscription(FarmBeatsModelsListBySubscriptionOptionalParams)

Lists the FarmBeats instances for a subscription.

Method Details

beginUpdate(string, string, FarmBeatsUpdateRequestModel, FarmBeatsModelsUpdateOptionalParams)

Update a FarmBeats resource.

function beginUpdate(resourceGroupName: string, farmBeatsResourceName: string, body: FarmBeatsUpdateRequestModel, options?: FarmBeatsModelsUpdateOptionalParams): Promise<PollerLike<PollOperationState<FarmBeats>, FarmBeats>>

Parameters

resourceGroupName

string

The name of the resource group. The name is case insensitive.

farmBeatsResourceName

string

FarmBeats resource name.

body
FarmBeatsUpdateRequestModel

Request object.

options
FarmBeatsModelsUpdateOptionalParams

The options parameters.

Returns

Promise<PollerLike<@azure/core-lro.PollOperationState<FarmBeats>, FarmBeats>>

beginUpdateAndWait(string, string, FarmBeatsUpdateRequestModel, FarmBeatsModelsUpdateOptionalParams)

Update a FarmBeats resource.

function beginUpdateAndWait(resourceGroupName: string, farmBeatsResourceName: string, body: FarmBeatsUpdateRequestModel, options?: FarmBeatsModelsUpdateOptionalParams): Promise<FarmBeats>

Parameters

resourceGroupName

string

The name of the resource group. The name is case insensitive.

farmBeatsResourceName

string

FarmBeats resource name.

body
FarmBeatsUpdateRequestModel

Request object.

options
FarmBeatsModelsUpdateOptionalParams

The options parameters.

Returns

Promise<FarmBeats>

createOrUpdate(string, string, FarmBeats, FarmBeatsModelsCreateOrUpdateOptionalParams)

Create or update FarmBeats resource.

function createOrUpdate(resourceGroupName: string, farmBeatsResourceName: string, body: FarmBeats, options?: FarmBeatsModelsCreateOrUpdateOptionalParams): Promise<FarmBeats>

Parameters

resourceGroupName

string

The name of the resource group. The name is case insensitive.

farmBeatsResourceName

string

FarmBeats resource name.

body
FarmBeats

FarmBeats resource create or update request object.

options
FarmBeatsModelsCreateOrUpdateOptionalParams

The options parameters.

Returns

Promise<FarmBeats>

delete(string, string, FarmBeatsModelsDeleteOptionalParams)

Delete a FarmBeats resource.

function delete(resourceGroupName: string, farmBeatsResourceName: string, options?: FarmBeatsModelsDeleteOptionalParams): Promise<void>

Parameters

resourceGroupName

string

The name of the resource group. The name is case insensitive.

farmBeatsResourceName

string

FarmBeats resource name.

options
FarmBeatsModelsDeleteOptionalParams

The options parameters.

Returns

Promise<void>

get(string, string, FarmBeatsModelsGetOptionalParams)

Get FarmBeats resource.

function get(resourceGroupName: string, farmBeatsResourceName: string, options?: FarmBeatsModelsGetOptionalParams): Promise<FarmBeats>

Parameters

resourceGroupName

string

The name of the resource group. The name is case insensitive.

farmBeatsResourceName

string

FarmBeats resource name.

options
FarmBeatsModelsGetOptionalParams

The options parameters.

Returns

Promise<FarmBeats>

getOperationResult(string, string, string, FarmBeatsModelsGetOperationResultOptionalParams)

Get operationResults for a FarmBeats resource.

function getOperationResult(resourceGroupName: string, farmBeatsResourceName: string, operationResultsId: string, options?: FarmBeatsModelsGetOperationResultOptionalParams): Promise<ArmAsyncOperation>

Parameters

resourceGroupName

string

The name of the resource group. The name is case insensitive.

farmBeatsResourceName

string

FarmBeats resource name.

operationResultsId

string

The operation results id.

options
FarmBeatsModelsGetOperationResultOptionalParams

The options parameters.

Returns

listByResourceGroup(string, FarmBeatsModelsListByResourceGroupOptionalParams)

Lists the FarmBeats instances for a resource group.

function listByResourceGroup(resourceGroupName: string, options?: FarmBeatsModelsListByResourceGroupOptionalParams): PagedAsyncIterableIterator<FarmBeats, FarmBeats[], PageSettings>

Parameters

resourceGroupName

string

The name of the resource group. The name is case insensitive.

options
FarmBeatsModelsListByResourceGroupOptionalParams

The options parameters.

Returns

listBySubscription(FarmBeatsModelsListBySubscriptionOptionalParams)

Lists the FarmBeats instances for a subscription.

function listBySubscription(options?: FarmBeatsModelsListBySubscriptionOptionalParams): PagedAsyncIterableIterator<FarmBeats, FarmBeats[], PageSettings>

Parameters

options
FarmBeatsModelsListBySubscriptionOptionalParams

The options parameters.

Returns