ServerTrustCertificates interface

Interface representing a ServerTrustCertificates.

Methods

beginCreateOrUpdate(string, string, string, ServerTrustCertificate, ServerTrustCertificatesCreateOrUpdateOptionalParams)

Uploads a server trust certificate from box to Sql Managed Instance.

beginCreateOrUpdateAndWait(string, string, string, ServerTrustCertificate, ServerTrustCertificatesCreateOrUpdateOptionalParams)

Uploads a server trust certificate from box to Sql Managed Instance.

beginDelete(string, string, string, ServerTrustCertificatesDeleteOptionalParams)

Deletes a server trust certificate that was uploaded from box to Sql Managed Instance.

beginDeleteAndWait(string, string, string, ServerTrustCertificatesDeleteOptionalParams)

Deletes a server trust certificate that was uploaded from box to Sql Managed Instance.

get(string, string, string, ServerTrustCertificatesGetOptionalParams)

Gets a server trust certificate that was uploaded from box to Sql Managed Instance.

listByInstance(string, string, ServerTrustCertificatesListByInstanceOptionalParams)

Gets a list of server trust certificates that were uploaded from box to the given Sql Managed Instance.

Method Details

beginCreateOrUpdate(string, string, string, ServerTrustCertificate, ServerTrustCertificatesCreateOrUpdateOptionalParams)

Uploads a server trust certificate from box to Sql Managed Instance.

function beginCreateOrUpdate(resourceGroupName: string, managedInstanceName: string, certificateName: string, parameters: ServerTrustCertificate, options?: ServerTrustCertificatesCreateOrUpdateOptionalParams): Promise<SimplePollerLike<OperationState<ServerTrustCertificate>, ServerTrustCertificate>>

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.

certificateName

string

Name of of the certificate to upload.

parameters
ServerTrustCertificate

The server trust certificate info.

options
ServerTrustCertificatesCreateOrUpdateOptionalParams

The options parameters.

Returns

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

beginCreateOrUpdateAndWait(string, string, string, ServerTrustCertificate, ServerTrustCertificatesCreateOrUpdateOptionalParams)

Uploads a server trust certificate from box to Sql Managed Instance.

function beginCreateOrUpdateAndWait(resourceGroupName: string, managedInstanceName: string, certificateName: string, parameters: ServerTrustCertificate, options?: ServerTrustCertificatesCreateOrUpdateOptionalParams): Promise<ServerTrustCertificate>

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.

certificateName

string

Name of of the certificate to upload.

parameters
ServerTrustCertificate

The server trust certificate info.

options
ServerTrustCertificatesCreateOrUpdateOptionalParams

The options parameters.

Returns

beginDelete(string, string, string, ServerTrustCertificatesDeleteOptionalParams)

Deletes a server trust certificate that was uploaded from box to Sql Managed Instance.

function beginDelete(resourceGroupName: string, managedInstanceName: string, certificateName: string, options?: ServerTrustCertificatesDeleteOptionalParams): 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.

managedInstanceName

string

The name of the managed instance.

certificateName

string

Name of of the certificate to delete.

options
ServerTrustCertificatesDeleteOptionalParams

The options parameters.

Returns

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

beginDeleteAndWait(string, string, string, ServerTrustCertificatesDeleteOptionalParams)

Deletes a server trust certificate that was uploaded from box to Sql Managed Instance.

function beginDeleteAndWait(resourceGroupName: string, managedInstanceName: string, certificateName: string, options?: ServerTrustCertificatesDeleteOptionalParams): 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.

managedInstanceName

string

The name of the managed instance.

certificateName

string

Name of of the certificate to delete.

options
ServerTrustCertificatesDeleteOptionalParams

The options parameters.

Returns

Promise<void>

get(string, string, string, ServerTrustCertificatesGetOptionalParams)

Gets a server trust certificate that was uploaded from box to Sql Managed Instance.

function get(resourceGroupName: string, managedInstanceName: string, certificateName: string, options?: ServerTrustCertificatesGetOptionalParams): Promise<ServerTrustCertificate>

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.

certificateName

string

Name of of the certificate to get.

options
ServerTrustCertificatesGetOptionalParams

The options parameters.

Returns

listByInstance(string, string, ServerTrustCertificatesListByInstanceOptionalParams)

Gets a list of server trust certificates that were uploaded from box to the given Sql Managed Instance.

function listByInstance(resourceGroupName: string, managedInstanceName: string, options?: ServerTrustCertificatesListByInstanceOptionalParams): PagedAsyncIterableIterator<ServerTrustCertificate, ServerTrustCertificate[], 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
ServerTrustCertificatesListByInstanceOptionalParams

The options parameters.

Returns