ServerTrustGroups interface
Interface representing a ServerTrustGroups.
Methods
begin |
Creates or updates a server trust group. |
begin |
Creates or updates a server trust group. |
begin |
Deletes a server trust group. |
begin |
Deletes a server trust group. |
get(string, string, string, Server |
Gets a server trust group. |
list |
Gets a server trust groups by instance name. |
list |
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.
The options parameters.
Returns
Promise<@azure/core-lro.SimplePollerLike<OperationState<ServerTrustGroup>, ServerTrustGroup>>
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.
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.
The options parameters.
Returns
Promise<@azure/core-lro.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.
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.
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.
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.
The options parameters.