/* * 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 { SimplePollerLike, OperationState } from "@azure/core-lro"; import { ManagedInstanceDtc, ManagedInstanceDtcsListByManagedInstanceOptionalParams, DtcName, ManagedInstanceDtcsGetOptionalParams, ManagedInstanceDtcsGetResponse, ManagedInstanceDtcsCreateOrUpdateOptionalParams, ManagedInstanceDtcsCreateOrUpdateResponse } from "../models"; /// /** Interface representing a ManagedInstanceDtcs. */ export interface ManagedInstanceDtcs { /** * Gets a list of managed instance DTC settings. * @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. */ listByManagedInstance( resourceGroupName: string, managedInstanceName: string, options?: ManagedInstanceDtcsListByManagedInstanceOptionalParams ): PagedAsyncIterableIterator; /** * Gets managed instance DTC settings. * @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 dtcName The name of the managed instance DTC. * @param options The options parameters. */ get( resourceGroupName: string, managedInstanceName: string, dtcName: DtcName, options?: ManagedInstanceDtcsGetOptionalParams ): Promise; /** * Updates managed instance DTC settings. * @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 dtcName The name of the managed instance DTC. * @param parameters Managed instance DTC settings. * @param options The options parameters. */ beginCreateOrUpdate( resourceGroupName: string, managedInstanceName: string, dtcName: DtcName, parameters: ManagedInstanceDtc, options?: ManagedInstanceDtcsCreateOrUpdateOptionalParams ): Promise< SimplePollerLike< OperationState, ManagedInstanceDtcsCreateOrUpdateResponse > >; /** * Updates managed instance DTC settings. * @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 dtcName The name of the managed instance DTC. * @param parameters Managed instance DTC settings. * @param options The options parameters. */ beginCreateOrUpdateAndWait( resourceGroupName: string, managedInstanceName: string, dtcName: DtcName, parameters: ManagedInstanceDtc, options?: ManagedInstanceDtcsCreateOrUpdateOptionalParams ): Promise; }