/*
* 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 {
ManagedInstanceAzureADOnlyAuthentication,
ManagedInstanceAzureADOnlyAuthenticationsListByInstanceOptionalParams,
AuthenticationName,
ManagedInstanceAzureADOnlyAuthenticationsGetOptionalParams,
ManagedInstanceAzureADOnlyAuthenticationsGetResponse,
ManagedInstanceAzureADOnlyAuthenticationsCreateOrUpdateOptionalParams,
ManagedInstanceAzureADOnlyAuthenticationsCreateOrUpdateResponse,
ManagedInstanceAzureADOnlyAuthenticationsDeleteOptionalParams
} from "../models";
///
/** Interface representing a ManagedInstanceAzureADOnlyAuthentications. */
export interface ManagedInstanceAzureADOnlyAuthentications {
/**
* Gets a list of server Azure Active Directory only authentications.
* @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?: ManagedInstanceAzureADOnlyAuthenticationsListByInstanceOptionalParams
): PagedAsyncIterableIterator;
/**
* Gets a specific Azure Active Directory only authentication property.
* @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 authenticationName The name of server azure active directory only authentication.
* @param options The options parameters.
*/
get(
resourceGroupName: string,
managedInstanceName: string,
authenticationName: AuthenticationName,
options?: ManagedInstanceAzureADOnlyAuthenticationsGetOptionalParams
): Promise;
/**
* Sets Server Active Directory only authentication property or updates an existing server Active
* Directory only authentication property.
* @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 authenticationName The name of server azure active directory only authentication.
* @param parameters The required parameters for creating or updating an Active Directory only
* authentication property.
* @param options The options parameters.
*/
beginCreateOrUpdate(
resourceGroupName: string,
managedInstanceName: string,
authenticationName: AuthenticationName,
parameters: ManagedInstanceAzureADOnlyAuthentication,
options?: ManagedInstanceAzureADOnlyAuthenticationsCreateOrUpdateOptionalParams
): Promise<
SimplePollerLike<
OperationState<
ManagedInstanceAzureADOnlyAuthenticationsCreateOrUpdateResponse
>,
ManagedInstanceAzureADOnlyAuthenticationsCreateOrUpdateResponse
>
>;
/**
* Sets Server Active Directory only authentication property or updates an existing server Active
* Directory only authentication property.
* @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 authenticationName The name of server azure active directory only authentication.
* @param parameters The required parameters for creating or updating an Active Directory only
* authentication property.
* @param options The options parameters.
*/
beginCreateOrUpdateAndWait(
resourceGroupName: string,
managedInstanceName: string,
authenticationName: AuthenticationName,
parameters: ManagedInstanceAzureADOnlyAuthentication,
options?: ManagedInstanceAzureADOnlyAuthenticationsCreateOrUpdateOptionalParams
): Promise;
/**
* Deletes an existing server Active Directory only authentication property.
* @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 authenticationName The name of server azure active directory only authentication.
* @param options The options parameters.
*/
beginDelete(
resourceGroupName: string,
managedInstanceName: string,
authenticationName: AuthenticationName,
options?: ManagedInstanceAzureADOnlyAuthenticationsDeleteOptionalParams
): Promise, void>>;
/**
* Deletes an existing server Active Directory only authentication property.
* @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 authenticationName The name of server azure active directory only authentication.
* @param options The options parameters.
*/
beginDeleteAndWait(
resourceGroupName: string,
managedInstanceName: string,
authenticationName: AuthenticationName,
options?: ManagedInstanceAzureADOnlyAuthenticationsDeleteOptionalParams
): Promise;
}