/* * Copyright (c) Microsoft Corporation. * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is regenerated. */ import { PagedAsyncIterableIterator } from "@azure/core-paging"; import { EndpointCertificate, EndpointCertificatesListByInstanceOptionalParams, EndpointCertificatesGetOptionalParams, EndpointCertificatesGetResponse } from "../models"; /// /** Interface representing a EndpointCertificates. */ export interface EndpointCertificates { /** * List certificates used on endpoints on the target instance. * @param resourceGroupName The name of the resource group that contains the resource. You can obtain * this value from the Azure Resource Manager API or the portal. * @param managedInstanceName The name of the managed instance. * @param options The options parameters. */ listByInstance( resourceGroupName: string, managedInstanceName: string, options?: EndpointCertificatesListByInstanceOptionalParams ): PagedAsyncIterableIterator; /** * Gets a certificate used on the endpoint with the given id. * @param resourceGroupName The name of the resource group that contains the resource. You can obtain * this value from the Azure Resource Manager API or the portal. * @param managedInstanceName The name of the managed instance. * @param endpointType Type of the endpoint whose certificate the customer is looking for. * @param options The options parameters. */ get( resourceGroupName: string, managedInstanceName: string, endpointType: string, options?: EndpointCertificatesGetOptionalParams ): Promise; }