Share via


Updates interface

Interface representing a Updates.

Methods

beginDelete(string, string, string, UpdatesDeleteOptionalParams)

Delete specified Update

beginDeleteAndWait(string, string, string, UpdatesDeleteOptionalParams)

Delete specified Update

beginPost(string, string, string, UpdatesPostOptionalParams)

Apply Update

beginPostAndWait(string, string, string, UpdatesPostOptionalParams)

Apply Update

get(string, string, string, UpdatesGetOptionalParams)

Get specified Update

list(string, string, UpdatesListOptionalParams)

List all Updates

put(string, string, string, Update, UpdatesPutOptionalParams)

Put specified Update

Method Details

beginDelete(string, string, string, UpdatesDeleteOptionalParams)

Delete specified Update

function beginDelete(resourceGroupName: string, clusterName: string, updateName: string, options?: UpdatesDeleteOptionalParams): Promise<SimplePollerLike<OperationState<void>, void>>

Parameters

resourceGroupName

string

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

clusterName

string

The name of the cluster.

updateName

string

The name of the Update

options
UpdatesDeleteOptionalParams

The options parameters.

Returns

Promise<@azure/core-lro.SimplePollerLike<OperationState<void>, void>>

beginDeleteAndWait(string, string, string, UpdatesDeleteOptionalParams)

Delete specified Update

function beginDeleteAndWait(resourceGroupName: string, clusterName: string, updateName: string, options?: UpdatesDeleteOptionalParams): Promise<void>

Parameters

resourceGroupName

string

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

clusterName

string

The name of the cluster.

updateName

string

The name of the Update

options
UpdatesDeleteOptionalParams

The options parameters.

Returns

Promise<void>

beginPost(string, string, string, UpdatesPostOptionalParams)

Apply Update

function beginPost(resourceGroupName: string, clusterName: string, updateName: string, options?: UpdatesPostOptionalParams): Promise<SimplePollerLike<OperationState<void>, void>>

Parameters

resourceGroupName

string

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

clusterName

string

The name of the cluster.

updateName

string

The name of the Update

options
UpdatesPostOptionalParams

The options parameters.

Returns

Promise<@azure/core-lro.SimplePollerLike<OperationState<void>, void>>

beginPostAndWait(string, string, string, UpdatesPostOptionalParams)

Apply Update

function beginPostAndWait(resourceGroupName: string, clusterName: string, updateName: string, options?: UpdatesPostOptionalParams): Promise<void>

Parameters

resourceGroupName

string

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

clusterName

string

The name of the cluster.

updateName

string

The name of the Update

options
UpdatesPostOptionalParams

The options parameters.

Returns

Promise<void>

get(string, string, string, UpdatesGetOptionalParams)

Get specified Update

function get(resourceGroupName: string, clusterName: string, updateName: string, options?: UpdatesGetOptionalParams): Promise<Update>

Parameters

resourceGroupName

string

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

clusterName

string

The name of the cluster.

updateName

string

The name of the Update

options
UpdatesGetOptionalParams

The options parameters.

Returns

Promise<Update>

list(string, string, UpdatesListOptionalParams)

List all Updates

function list(resourceGroupName: string, clusterName: string, options?: UpdatesListOptionalParams): PagedAsyncIterableIterator<Update, Update[], PageSettings>

Parameters

resourceGroupName

string

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

clusterName

string

The name of the cluster.

options
UpdatesListOptionalParams

The options parameters.

Returns

put(string, string, string, Update, UpdatesPutOptionalParams)

Put specified Update

function put(resourceGroupName: string, clusterName: string, updateName: string, updateProperties: Update, options?: UpdatesPutOptionalParams): Promise<Update>

Parameters

resourceGroupName

string

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

clusterName

string

The name of the cluster.

updateName

string

The name of the Update

updateProperties
Update

Properties of the Updates object

options
UpdatesPutOptionalParams

The options parameters.

Returns

Promise<Update>