Monitors interface
Interface representing a Monitors.
Methods
begin |
Create a monitor resource. |
begin |
Create a monitor resource. |
begin |
Delete a monitor resource. |
begin |
Delete a monitor resource. |
get(string, string, Monitors |
Get the properties of a specific monitor resource. |
list(Monitors |
List all monitors under the specified subscription. |
list |
List all monitors under the specified resource group. |
update(string, string, Monitors |
Update a monitor resource. |
Method Details
beginCreate(string, string, MonitorsCreateOptionalParams)
Create a monitor resource.
function beginCreate(resourceGroupName: string, monitorName: string, options?: MonitorsCreateOptionalParams): Promise<SimplePollerLike<OperationState<ElasticMonitorResource>, ElasticMonitorResource>>
Parameters
- resourceGroupName
-
string
The name of the resource group. The name is case insensitive.
- monitorName
-
string
Monitor resource name
- options
- MonitorsCreateOptionalParams
The options parameters.
Returns
Promise<@azure/core-lro.SimplePollerLike<OperationState<ElasticMonitorResource>, ElasticMonitorResource>>
beginCreateAndWait(string, string, MonitorsCreateOptionalParams)
Create a monitor resource.
function beginCreateAndWait(resourceGroupName: string, monitorName: string, options?: MonitorsCreateOptionalParams): Promise<ElasticMonitorResource>
Parameters
- resourceGroupName
-
string
The name of the resource group. The name is case insensitive.
- monitorName
-
string
Monitor resource name
- options
- MonitorsCreateOptionalParams
The options parameters.
Returns
Promise<ElasticMonitorResource>
beginDelete(string, string, MonitorsDeleteOptionalParams)
Delete a monitor resource.
function beginDelete(resourceGroupName: string, monitorName: string, options?: MonitorsDeleteOptionalParams): Promise<SimplePollerLike<OperationState<void>, void>>
Parameters
- resourceGroupName
-
string
The name of the resource group. The name is case insensitive.
- monitorName
-
string
Monitor resource name
- options
- MonitorsDeleteOptionalParams
The options parameters.
Returns
Promise<@azure/core-lro.SimplePollerLike<OperationState<void>, void>>
beginDeleteAndWait(string, string, MonitorsDeleteOptionalParams)
Delete a monitor resource.
function beginDeleteAndWait(resourceGroupName: string, monitorName: string, options?: MonitorsDeleteOptionalParams): Promise<void>
Parameters
- resourceGroupName
-
string
The name of the resource group. The name is case insensitive.
- monitorName
-
string
Monitor resource name
- options
- MonitorsDeleteOptionalParams
The options parameters.
Returns
Promise<void>
get(string, string, MonitorsGetOptionalParams)
Get the properties of a specific monitor resource.
function get(resourceGroupName: string, monitorName: string, options?: MonitorsGetOptionalParams): Promise<ElasticMonitorResource>
Parameters
- resourceGroupName
-
string
The name of the resource group. The name is case insensitive.
- monitorName
-
string
Monitor resource name
- options
- MonitorsGetOptionalParams
The options parameters.
Returns
Promise<ElasticMonitorResource>
list(MonitorsListOptionalParams)
List all monitors under the specified subscription.
function list(options?: MonitorsListOptionalParams): PagedAsyncIterableIterator<ElasticMonitorResource, ElasticMonitorResource[], PageSettings>
Parameters
- options
- MonitorsListOptionalParams
The options parameters.
Returns
listByResourceGroup(string, MonitorsListByResourceGroupOptionalParams)
List all monitors under the specified resource group.
function listByResourceGroup(resourceGroupName: string, options?: MonitorsListByResourceGroupOptionalParams): PagedAsyncIterableIterator<ElasticMonitorResource, ElasticMonitorResource[], PageSettings>
Parameters
- resourceGroupName
-
string
The name of the resource group. The name is case insensitive.
The options parameters.
Returns
update(string, string, MonitorsUpdateOptionalParams)
Update a monitor resource.
function update(resourceGroupName: string, monitorName: string, options?: MonitorsUpdateOptionalParams): Promise<ElasticMonitorResource>
Parameters
- resourceGroupName
-
string
The name of the resource group. The name is case insensitive.
- monitorName
-
string
Monitor resource name
- options
- MonitorsUpdateOptionalParams
The options parameters.
Returns
Promise<ElasticMonitorResource>