Delen via


AnomalyDetectorClient.DeleteMultivariateModel(String, RequestContext) Method

Definition

[Protocol Method] Delete Multivariate Model

  • This protocol method allows explicit creation of the request and processing of the response for advanced scenarios.
public virtual Azure.Response DeleteMultivariateModel (string modelId, Azure.RequestContext context = default);
abstract member DeleteMultivariateModel : string * Azure.RequestContext -> Azure.Response
override this.DeleteMultivariateModel : string * Azure.RequestContext -> Azure.Response
Public Overridable Function DeleteMultivariateModel (modelId As String, Optional context As RequestContext = Nothing) As Response

Parameters

modelId
String

Model identifier.

context
RequestContext

The request context, which can override default behaviors of the client pipeline on a per-call basis.

Returns

The response returned from the service.

Exceptions

modelId is null.

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

Service returned a non-success status code.

Examples

This sample shows how to call DeleteMultivariateModel with required parameters.

var credential = new AzureKeyCredential("<key>");
var endpoint = new Uri("<https://my-service.azure.com>");
var client = new AnomalyDetectorClient(endpoint, credential);

Response response = client.DeleteMultivariateModel("<modelId>", new RequestContext());
Console.WriteLine(response.Status);

Remarks

Delete an existing multivariate model according to the modelId

Applies to