import { PagedAsyncIterableIterator } from "@azure/core-paging" ; import { PollerLike , PollOperationState } from "@azure/core-lro" ; import { Subnet , SubnetsListOptionalParams , SubnetsDeleteOptionalParams , SubnetsGetOptionalParams , SubnetsGetResponse , SubnetsCreateOrUpdateOptionalParams , SubnetsCreateOrUpdateResponse , PrepareNetworkPoliciesRequest , SubnetsPrepareNetworkPoliciesOptionalParams , UnprepareNetworkPoliciesRequest , SubnetsUnprepareNetworkPoliciesOptionalParams } from "../models" ; /** Interface representing a Subnets. */ export interface Subnets { param resourceGroupName param virtualNetworkName param options list ( resourceGroupName , virtualNetworkName , options ? ) : PagedAsyncIterableIterator < Subnet > ; param resourceGroupName param virtualNetworkName param subnetName param options beginDelete ( resourceGroupName , virtualNetworkName , subnetName , options ? ) : Promise < PollerLike < PollOperationState < void > , void > > ; param resourceGroupName param virtualNetworkName param subnetName param options beginDeleteAndWait ( resourceGroupName , virtualNetworkName , subnetName , options ? ) : Promise < void > ; param resourceGroupName param virtualNetworkName param subnetName param options get ( resourceGroupName , virtualNetworkName , subnetName , options ? ) : Promise < SubnetsGetResponse > ; param resourceGroupName param virtualNetworkName param subnetName param subnetParameters param options beginCreateOrUpdate ( resourceGroupName , virtualNetworkName , subnetName , subnetParameters , options ? ) : Promise < PollerLike < PollOperationState < SubnetsCreateOrUpdateResponse > , SubnetsCreateOrUpdateResponse > > ; param resourceGroupName param virtualNetworkName param subnetName param subnetParameters param options beginCreateOrUpdateAndWait ( resourceGroupName , virtualNetworkName , subnetName , subnetParameters , options ? ) : Promise < SubnetsCreateOrUpdateResponse > ; param resourceGroupName param virtualNetworkName param subnetName param prepareNetworkPoliciesRequestParameters param options beginPrepareNetworkPolicies ( resourceGroupName , virtualNetworkName , subnetName , prepareNetworkPoliciesRequestParameters , options ? ) : Promise < PollerLike < PollOperationState < void > , void > > ; param resourceGroupName param virtualNetworkName param subnetName param prepareNetworkPoliciesRequestParameters param options beginPrepareNetworkPoliciesAndWait ( resourceGroupName , virtualNetworkName , subnetName , prepareNetworkPoliciesRequestParameters , options ? ) : Promise < void > ; param resourceGroupName param virtualNetworkName param subnetName param unprepareNetworkPoliciesRequestParameters param options beginUnprepareNetworkPolicies ( resourceGroupName , virtualNetworkName , subnetName , unprepareNetworkPoliciesRequestParameters , options ? ) : Promise < PollerLike < PollOperationState < void > , void > > ; param resourceGroupName param virtualNetworkName param subnetName param unprepareNetworkPoliciesRequestParameters param options beginUnprepareNetworkPoliciesAndWait ( resourceGroupName , virtualNetworkName , subnetName , unprepareNetworkPoliciesRequestParameters , options ? ) : Promise < void > ; }