ServerTrustCertificatesOperations interface

Interface representing a ServerTrustCertificates operations.

Properties

beginCreateOrUpdate
beginCreateOrUpdateAndWait
beginDelete
beginDeleteAndWait
createOrUpdate

Uploads a server trust certificate from SQL Server to SQL Managed Instance.

delete

Deletes a server trust certificate that was uploaded from SQL Server to SQL Managed Instance.

get

Gets a server trust certificate that was uploaded from SQL Server to SQL Managed Instance.

listByInstance

Gets a list of the server trust certificates used to secure communication between SQL Server and the specified SQL Managed Instance

Property Details

beginCreateOrUpdate

Warning

This API is now deprecated.

use createOrUpdate instead

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

Property Value

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

beginCreateOrUpdateAndWait

Warning

This API is now deprecated.

use createOrUpdate instead

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

Property Value

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

beginDelete

Warning

This API is now deprecated.

use delete instead

beginDelete: (resourceGroupName: string, managedInstanceName: string, certificateName: string, options?: ServerTrustCertificatesDeleteOptionalParams) => Promise<SimplePollerLike<OperationState<void>, void>>

Property Value

(resourceGroupName: string, managedInstanceName: string, certificateName: string, options?: ServerTrustCertificatesDeleteOptionalParams) => Promise<SimplePollerLike<OperationState<void>, void>>

beginDeleteAndWait

Warning

This API is now deprecated.

use delete instead

beginDeleteAndWait: (resourceGroupName: string, managedInstanceName: string, certificateName: string, options?: ServerTrustCertificatesDeleteOptionalParams) => Promise<void>

Property Value

(resourceGroupName: string, managedInstanceName: string, certificateName: string, options?: ServerTrustCertificatesDeleteOptionalParams) => Promise<void>

createOrUpdate

Uploads a server trust certificate from SQL Server to SQL Managed Instance.

createOrUpdate: (resourceGroupName: string, managedInstanceName: string, certificateName: string, parameters: ServerTrustCertificate, options?: ServerTrustCertificatesCreateOrUpdateOptionalParams) => PollerLike<OperationState<ServerTrustCertificate>, ServerTrustCertificate>

Property Value

(resourceGroupName: string, managedInstanceName: string, certificateName: string, parameters: ServerTrustCertificate, options?: ServerTrustCertificatesCreateOrUpdateOptionalParams) => PollerLike<OperationState<ServerTrustCertificate>, ServerTrustCertificate>

delete

Deletes a server trust certificate that was uploaded from SQL Server to SQL Managed Instance.

delete: (resourceGroupName: string, managedInstanceName: string, certificateName: string, options?: ServerTrustCertificatesDeleteOptionalParams) => PollerLike<OperationState<void>, void>

Property Value

(resourceGroupName: string, managedInstanceName: string, certificateName: string, options?: ServerTrustCertificatesDeleteOptionalParams) => PollerLike<OperationState<void>, void>

get

Gets a server trust certificate that was uploaded from SQL Server to SQL Managed Instance.

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

Property Value

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

listByInstance

Gets a list of the server trust certificates used to secure communication between SQL Server and the specified SQL Managed Instance

listByInstance: (resourceGroupName: string, managedInstanceName: string, options?: ServerTrustCertificatesListByInstanceOptionalParams) => PagedAsyncIterableIterator<ServerTrustCertificate, ServerTrustCertificate[], PageSettings>

Property Value

(resourceGroupName: string, managedInstanceName: string, options?: ServerTrustCertificatesListByInstanceOptionalParams) => PagedAsyncIterableIterator<ServerTrustCertificate, ServerTrustCertificate[], PageSettings>