Bagikan melalui


ManagedInstanceServerTrustCertificateCollection Class

Definition

A class representing a collection of ManagedInstanceServerTrustCertificateResource and their operations. Each ManagedInstanceServerTrustCertificateResource in the collection will belong to the same instance of ManagedInstanceResource. To get a ManagedInstanceServerTrustCertificateCollection instance call the GetManagedInstanceServerTrustCertificates method from an instance of ManagedInstanceResource.

public class ManagedInstanceServerTrustCertificateCollection : Azure.ResourceManager.ArmCollection, System.Collections.Generic.IAsyncEnumerable<Azure.ResourceManager.Sql.ManagedInstanceServerTrustCertificateResource>, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Sql.ManagedInstanceServerTrustCertificateResource>
type ManagedInstanceServerTrustCertificateCollection = class
    inherit ArmCollection
    interface seq<ManagedInstanceServerTrustCertificateResource>
    interface IEnumerable
    interface IAsyncEnumerable<ManagedInstanceServerTrustCertificateResource>
Public Class ManagedInstanceServerTrustCertificateCollection
Inherits ArmCollection
Implements IAsyncEnumerable(Of ManagedInstanceServerTrustCertificateResource), IEnumerable(Of ManagedInstanceServerTrustCertificateResource)
Inheritance
ManagedInstanceServerTrustCertificateCollection
Implements

Constructors

ManagedInstanceServerTrustCertificateCollection()

Initializes a new instance of the ManagedInstanceServerTrustCertificateCollection class for mocking.

Properties

Client

Gets the ArmClient this resource client was created from.

(Inherited from ArmCollection)
Diagnostics

Gets the diagnostic options for this resource client.

(Inherited from ArmCollection)
Endpoint

Gets the base uri for this resource client.

(Inherited from ArmCollection)
Id

Gets the resource identifier.

(Inherited from ArmCollection)
Pipeline

Gets the pipeline for this resource client.

(Inherited from ArmCollection)

Methods

CreateOrUpdate(WaitUntil, String, ServerTrustCertificateData, CancellationToken)

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

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/managedInstances/{managedInstanceName}/serverTrustCertificates/{certificateName}
  • Operation Id: ServerTrustCertificates_CreateOrUpdate
  • Default Api Version: 2021-11-01-preview
  • Resource: ManagedInstanceServerTrustCertificateResource
CreateOrUpdateAsync(WaitUntil, String, ServerTrustCertificateData, CancellationToken)

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

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/managedInstances/{managedInstanceName}/serverTrustCertificates/{certificateName}
  • Operation Id: ServerTrustCertificates_CreateOrUpdate
  • Default Api Version: 2021-11-01-preview
  • Resource: ManagedInstanceServerTrustCertificateResource
Exists(String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/managedInstances/{managedInstanceName}/serverTrustCertificates/{certificateName}
  • Operation Id: ServerTrustCertificates_Get
  • Default Api Version: 2021-11-01-preview
  • Resource: ManagedInstanceServerTrustCertificateResource
ExistsAsync(String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/managedInstances/{managedInstanceName}/serverTrustCertificates/{certificateName}
  • Operation Id: ServerTrustCertificates_Get
  • Default Api Version: 2021-11-01-preview
  • Resource: ManagedInstanceServerTrustCertificateResource
Get(String, CancellationToken)

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

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/managedInstances/{managedInstanceName}/serverTrustCertificates/{certificateName}
  • Operation Id: ServerTrustCertificates_Get
  • Default Api Version: 2021-11-01-preview
  • Resource: ManagedInstanceServerTrustCertificateResource
GetAll(CancellationToken)

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

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/managedInstances/{managedInstanceName}/serverTrustCertificates
  • Operation Id: ServerTrustCertificates_ListByInstance
  • Default Api Version: 2021-11-01-preview
  • Resource: ManagedInstanceServerTrustCertificateResource
GetAllAsync(CancellationToken)

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

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/managedInstances/{managedInstanceName}/serverTrustCertificates
  • Operation Id: ServerTrustCertificates_ListByInstance
  • Default Api Version: 2021-11-01-preview
  • Resource: ManagedInstanceServerTrustCertificateResource
GetAsync(String, CancellationToken)

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

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/managedInstances/{managedInstanceName}/serverTrustCertificates/{certificateName}
  • Operation Id: ServerTrustCertificates_Get
  • Default Api Version: 2021-11-01-preview
  • Resource: ManagedInstanceServerTrustCertificateResource
GetIfExists(String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/managedInstances/{managedInstanceName}/serverTrustCertificates/{certificateName}
  • Operation Id: ServerTrustCertificates_Get
  • Default Api Version: 2021-11-01-preview
  • Resource: ManagedInstanceServerTrustCertificateResource
GetIfExistsAsync(String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/managedInstances/{managedInstanceName}/serverTrustCertificates/{certificateName}
  • Operation Id: ServerTrustCertificates_Get
  • Default Api Version: 2021-11-01-preview
  • Resource: ManagedInstanceServerTrustCertificateResource
TryGetApiVersion(ResourceType, String)

Gets the api version override if it has been set for the current client options.

(Inherited from ArmCollection)

Explicit Interface Implementations

IAsyncEnumerable<ManagedInstanceServerTrustCertificateResource>.GetAsyncEnumerator(CancellationToken)

Returns an enumerator that iterates asynchronously through the collection.

IEnumerable.GetEnumerator()

Returns an enumerator that iterates through a collection.

IEnumerable<ManagedInstanceServerTrustCertificateResource>.GetEnumerator()

Returns an enumerator that iterates through the collection.

Applies to