FarmBeatsModels interface
Interface representing a FarmBeatsModels.
Methods
begin |
Update a FarmBeats resource. |
begin |
Update a FarmBeats resource. |
create |
Create or update FarmBeats resource. |
delete(string, string, Farm |
Delete a FarmBeats resource. |
get(string, string, Farm |
Get FarmBeats resource. |
get |
Get operationResults for a FarmBeats resource. |
list |
Lists the FarmBeats instances for a resource group. |
list |
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.
Request object.
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.
Request object.
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.
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.
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.
The options parameters.
Returns
Promise<ArmAsyncOperation>
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.
The options parameters.
Returns
listBySubscription(FarmBeatsModelsListBySubscriptionOptionalParams)
Lists the FarmBeats instances for a subscription.
function listBySubscription(options?: FarmBeatsModelsListBySubscriptionOptionalParams): PagedAsyncIterableIterator<FarmBeats, FarmBeats[], PageSettings>
Parameters
The options parameters.
Returns
Azure SDK for JavaScript