ServerTrustGroups interface

Interface representing a ServerTrustGroups.

Methods

beginCreateOrUpdate(string, string, string, ServerTrustGroup, ServerTrustGroupsCreateOrUpdateOptionalParams)

Creates or updates a server trust group.

beginCreateOrUpdateAndWait(string, string, string, ServerTrustGroup, ServerTrustGroupsCreateOrUpdateOptionalParams)

Creates or updates a server trust group.

beginDelete(string, string, string, ServerTrustGroupsDeleteOptionalParams)

Deletes a server trust group.

beginDeleteAndWait(string, string, string, ServerTrustGroupsDeleteOptionalParams)

Deletes a server trust group.

get(string, string, string, ServerTrustGroupsGetOptionalParams)

Gets a server trust group.

listByInstance(string, string, ServerTrustGroupsListByInstanceOptionalParams)

Gets a server trust groups by instance name.

listByLocation(string, string, ServerTrustGroupsListByLocationOptionalParams)

Lists a server trust group.

Method Details

beginCreateOrUpdate(string, string, string, ServerTrustGroup, ServerTrustGroupsCreateOrUpdateOptionalParams)

Creates or updates a server trust group.

function beginCreateOrUpdate(resourceGroupName: string, locationName: string, serverTrustGroupName: string, parameters: ServerTrustGroup, options?: ServerTrustGroupsCreateOrUpdateOptionalParams): Promise<SimplePollerLike<OperationState<ServerTrustGroup>, ServerTrustGroup>>

Parameters

resourceGroupName

string

The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.

locationName

string

The name of the region where the resource is located.

serverTrustGroupName

string

The name of the server trust group.

parameters
ServerTrustGroup

The server trust group parameters.

options
ServerTrustGroupsCreateOrUpdateOptionalParams

The options parameters.

Returns

beginCreateOrUpdateAndWait(string, string, string, ServerTrustGroup, ServerTrustGroupsCreateOrUpdateOptionalParams)

Creates or updates a server trust group.

function beginCreateOrUpdateAndWait(resourceGroupName: string, locationName: string, serverTrustGroupName: string, parameters: ServerTrustGroup, options?: ServerTrustGroupsCreateOrUpdateOptionalParams): Promise<ServerTrustGroup>

Parameters

resourceGroupName

string

The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.

locationName

string

The name of the region where the resource is located.

serverTrustGroupName

string

The name of the server trust group.

parameters
ServerTrustGroup

The server trust group parameters.

options
ServerTrustGroupsCreateOrUpdateOptionalParams

The options parameters.

Returns

Promise<ServerTrustGroup>

beginDelete(string, string, string, ServerTrustGroupsDeleteOptionalParams)

Deletes a server trust group.

function beginDelete(resourceGroupName: string, locationName: string, serverTrustGroupName: string, options?: ServerTrustGroupsDeleteOptionalParams): Promise<SimplePollerLike<OperationState<void>, void>>

Parameters

resourceGroupName

string

The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.

locationName

string

The name of the region where the resource is located.

serverTrustGroupName

string

The name of the server trust group.

options
ServerTrustGroupsDeleteOptionalParams

The options parameters.

Returns

Promise<SimplePollerLike<OperationState<void>, void>>

beginDeleteAndWait(string, string, string, ServerTrustGroupsDeleteOptionalParams)

Deletes a server trust group.

function beginDeleteAndWait(resourceGroupName: string, locationName: string, serverTrustGroupName: string, options?: ServerTrustGroupsDeleteOptionalParams): Promise<void>

Parameters

resourceGroupName

string

The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.

locationName

string

The name of the region where the resource is located.

serverTrustGroupName

string

The name of the server trust group.

options
ServerTrustGroupsDeleteOptionalParams

The options parameters.

Returns

Promise<void>

get(string, string, string, ServerTrustGroupsGetOptionalParams)

Gets a server trust group.

function get(resourceGroupName: string, locationName: string, serverTrustGroupName: string, options?: ServerTrustGroupsGetOptionalParams): Promise<ServerTrustGroup>

Parameters

resourceGroupName

string

The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.

locationName

string

The name of the region where the resource is located.

serverTrustGroupName

string

The name of the server trust group.

options
ServerTrustGroupsGetOptionalParams

The options parameters.

Returns

Promise<ServerTrustGroup>

listByInstance(string, string, ServerTrustGroupsListByInstanceOptionalParams)

Gets a server trust groups by instance name.

function listByInstance(resourceGroupName: string, managedInstanceName: string, options?: ServerTrustGroupsListByInstanceOptionalParams): PagedAsyncIterableIterator<ServerTrustGroup, ServerTrustGroup[], PageSettings>

Parameters

resourceGroupName

string

The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.

managedInstanceName

string

The name of the managed instance.

options
ServerTrustGroupsListByInstanceOptionalParams

The options parameters.

Returns

listByLocation(string, string, ServerTrustGroupsListByLocationOptionalParams)

Lists a server trust group.

function listByLocation(resourceGroupName: string, locationName: string, options?: ServerTrustGroupsListByLocationOptionalParams): PagedAsyncIterableIterator<ServerTrustGroup, ServerTrustGroup[], PageSettings>

Parameters

resourceGroupName

string

The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.

locationName

string

The name of the region where the resource is located.

options
ServerTrustGroupsListByLocationOptionalParams

The options parameters.

Returns