55``` ts
66
77import type { AbortSignalLike } from ' @azure/abort-controller' ;
8+ import type { CancelOnProgress } from ' @azure/core-lro' ;
89import type { ClientOptions } from ' @azure-rest/core-client' ;
910import { isRestError } from ' @azure/core-rest-pipeline' ;
1011import type { OperationOptions } from ' @azure-rest/core-client' ;
@@ -624,6 +625,28 @@ export interface SignalRServiceUsageName {
624625 value? : string ;
625626}
626627
628+ // @public
629+ export interface SimplePollerLike <TState extends OperationState <TResult >, TResult > {
630+ getOperationState(): TState ;
631+ getResult(): TResult | undefined ;
632+ isDone(): boolean ;
633+ // @deprecated
634+ isStopped(): boolean ;
635+ onProgress(callback : (state : TState ) => void ): CancelOnProgress ;
636+ poll(options ? : {
637+ abortSignal? : AbortSignalLike ;
638+ }): Promise <TState >;
639+ pollUntilDone(pollOptions ? : {
640+ abortSignal? : AbortSignalLike ;
641+ }): Promise <TResult >;
642+ serialize(): Promise <string >;
643+ // @deprecated
644+ stopPolling(): void ;
645+ submitted(): Promise <void >;
646+ // @deprecated
647+ toString(): string ;
648+ }
649+
627650// @public
628651export interface Sku {
629652 readonly capacity? : SkuCapacity ;
@@ -761,6 +784,10 @@ export interface WebPubSubCustomCertificatesListOptionalParams extends Operation
761784
762785// @public
763786export interface WebPubSubCustomCertificatesOperations {
787+ // @deprecated (undocumented)
788+ beginCreateOrUpdate: (resourceGroupName : string , resourceName : string , certificateName : string , parameters : CustomCertificate , options ? : WebPubSubCustomCertificatesCreateOrUpdateOptionalParams ) => Promise <SimplePollerLike <OperationState <CustomCertificate >, CustomCertificate >>;
789+ // @deprecated (undocumented)
790+ beginCreateOrUpdateAndWait: (resourceGroupName : string , resourceName : string , certificateName : string , parameters : CustomCertificate , options ? : WebPubSubCustomCertificatesCreateOrUpdateOptionalParams ) => Promise <CustomCertificate >;
764791 createOrUpdate: (resourceGroupName : string , resourceName : string , certificateName : string , parameters : CustomCertificate , options ? : WebPubSubCustomCertificatesCreateOrUpdateOptionalParams ) => PollerLike <OperationState <CustomCertificate >, CustomCertificate >;
765792 delete: (resourceGroupName : string , resourceName : string , certificateName : string , options ? : WebPubSubCustomCertificatesDeleteOptionalParams ) => Promise <void >;
766793 get: (resourceGroupName : string , resourceName : string , certificateName : string , options ? : WebPubSubCustomCertificatesGetOptionalParams ) => Promise <CustomCertificate >;
@@ -787,6 +814,14 @@ export interface WebPubSubCustomDomainsListOptionalParams extends OperationOptio
787814
788815// @public
789816export interface WebPubSubCustomDomainsOperations {
817+ // @deprecated (undocumented)
818+ beginCreateOrUpdate: (resourceGroupName : string , resourceName : string , name : string , parameters : CustomDomain , options ? : WebPubSubCustomDomainsCreateOrUpdateOptionalParams ) => Promise <SimplePollerLike <OperationState <CustomDomain >, CustomDomain >>;
819+ // @deprecated (undocumented)
820+ beginCreateOrUpdateAndWait: (resourceGroupName : string , resourceName : string , name : string , parameters : CustomDomain , options ? : WebPubSubCustomDomainsCreateOrUpdateOptionalParams ) => Promise <CustomDomain >;
821+ // @deprecated (undocumented)
822+ beginDelete: (resourceGroupName : string , resourceName : string , name : string , options ? : WebPubSubCustomDomainsDeleteOptionalParams ) => Promise <SimplePollerLike <OperationState <void >, void >>;
823+ // @deprecated (undocumented)
824+ beginDeleteAndWait: (resourceGroupName : string , resourceName : string , name : string , options ? : WebPubSubCustomDomainsDeleteOptionalParams ) => Promise <void >;
790825 createOrUpdate: (resourceGroupName : string , resourceName : string , name : string , parameters : CustomDomain , options ? : WebPubSubCustomDomainsCreateOrUpdateOptionalParams ) => PollerLike <OperationState <CustomDomain >, CustomDomain >;
791826 delete: (resourceGroupName : string , resourceName : string , name : string , options ? : WebPubSubCustomDomainsDeleteOptionalParams ) => PollerLike <OperationState <void >, void >;
792827 get: (resourceGroupName : string , resourceName : string , name : string , options ? : WebPubSubCustomDomainsGetOptionalParams ) => Promise <CustomDomain >;
@@ -835,6 +870,14 @@ export interface WebPubSubHubsListOptionalParams extends OperationOptions {
835870
836871// @public
837872export interface WebPubSubHubsOperations {
873+ // @deprecated (undocumented)
874+ beginCreateOrUpdate: (hubName : string , resourceGroupName : string , resourceName : string , parameters : WebPubSubHub , options ? : WebPubSubHubsCreateOrUpdateOptionalParams ) => Promise <SimplePollerLike <OperationState <WebPubSubHub >, WebPubSubHub >>;
875+ // @deprecated (undocumented)
876+ beginCreateOrUpdateAndWait: (hubName : string , resourceGroupName : string , resourceName : string , parameters : WebPubSubHub , options ? : WebPubSubHubsCreateOrUpdateOptionalParams ) => Promise <WebPubSubHub >;
877+ // @deprecated (undocumented)
878+ beginDelete: (hubName : string , resourceGroupName : string , resourceName : string , options ? : WebPubSubHubsDeleteOptionalParams ) => Promise <SimplePollerLike <OperationState <void >, void >>;
879+ // @deprecated (undocumented)
880+ beginDeleteAndWait: (hubName : string , resourceGroupName : string , resourceName : string , options ? : WebPubSubHubsDeleteOptionalParams ) => Promise <void >;
838881 createOrUpdate: (hubName : string , resourceGroupName : string , resourceName : string , parameters : WebPubSubHub , options ? : WebPubSubHubsCreateOrUpdateOptionalParams ) => PollerLike <OperationState <WebPubSubHub >, WebPubSubHub >;
839882 delete: (hubName : string , resourceGroupName : string , resourceName : string , options ? : WebPubSubHubsDeleteOptionalParams ) => PollerLike <OperationState <void >, void >;
840883 get: (hubName : string , resourceGroupName : string , resourceName : string , options ? : WebPubSubHubsGetOptionalParams ) => Promise <WebPubSubHub >;
@@ -903,6 +946,26 @@ export interface WebPubSubNetworkACLs {
903946
904947// @public
905948export interface WebPubSubOperations {
949+ // @deprecated (undocumented)
950+ beginCreateOrUpdate: (resourceGroupName : string , resourceName : string , parameters : WebPubSubResource , options ? : WebPubSubCreateOrUpdateOptionalParams ) => Promise <SimplePollerLike <OperationState <WebPubSubResource >, WebPubSubResource >>;
951+ // @deprecated (undocumented)
952+ beginCreateOrUpdateAndWait: (resourceGroupName : string , resourceName : string , parameters : WebPubSubResource , options ? : WebPubSubCreateOrUpdateOptionalParams ) => Promise <WebPubSubResource >;
953+ // @deprecated (undocumented)
954+ beginDelete: (resourceGroupName : string , resourceName : string , options ? : WebPubSubDeleteOptionalParams ) => Promise <SimplePollerLike <OperationState <void >, void >>;
955+ // @deprecated (undocumented)
956+ beginDeleteAndWait: (resourceGroupName : string , resourceName : string , options ? : WebPubSubDeleteOptionalParams ) => Promise <void >;
957+ // @deprecated (undocumented)
958+ beginRegenerateKey: (resourceGroupName : string , resourceName : string , parameters : RegenerateKeyParameters , options ? : WebPubSubRegenerateKeyOptionalParams ) => Promise <SimplePollerLike <OperationState <WebPubSubKeys >, WebPubSubKeys >>;
959+ // @deprecated (undocumented)
960+ beginRegenerateKeyAndWait: (resourceGroupName : string , resourceName : string , parameters : RegenerateKeyParameters , options ? : WebPubSubRegenerateKeyOptionalParams ) => Promise <WebPubSubKeys >;
961+ // @deprecated (undocumented)
962+ beginRestart: (resourceGroupName : string , resourceName : string , options ? : WebPubSubRestartOptionalParams ) => Promise <SimplePollerLike <OperationState <void >, void >>;
963+ // @deprecated (undocumented)
964+ beginRestartAndWait: (resourceGroupName : string , resourceName : string , options ? : WebPubSubRestartOptionalParams ) => Promise <void >;
965+ // @deprecated (undocumented)
966+ beginUpdate: (resourceGroupName : string , resourceName : string , parameters : WebPubSubResource , options ? : WebPubSubUpdateOptionalParams ) => Promise <SimplePollerLike <OperationState <WebPubSubResource >, WebPubSubResource >>;
967+ // @deprecated (undocumented)
968+ beginUpdateAndWait: (resourceGroupName : string , resourceName : string , parameters : WebPubSubResource , options ? : WebPubSubUpdateOptionalParams ) => Promise <WebPubSubResource >;
906969 checkNameAvailability: (location : string , parameters : NameAvailabilityParameters , options ? : WebPubSubCheckNameAvailabilityOptionalParams ) => Promise <NameAvailability >;
907970 createOrUpdate: (resourceGroupName : string , resourceName : string , parameters : WebPubSubResource , options ? : WebPubSubCreateOrUpdateOptionalParams ) => PollerLike <OperationState <WebPubSubResource >, WebPubSubResource >;
908971 delete: (resourceGroupName : string , resourceName : string , options ? : WebPubSubDeleteOptionalParams ) => PollerLike <OperationState <void >, void >;
@@ -932,6 +995,10 @@ export interface WebPubSubPrivateEndpointConnectionsListOptionalParams extends O
932995
933996// @public
934997export interface WebPubSubPrivateEndpointConnectionsOperations {
998+ // @deprecated (undocumented)
999+ beginDelete: (privateEndpointConnectionName : string , resourceGroupName : string , resourceName : string , options ? : WebPubSubPrivateEndpointConnectionsDeleteOptionalParams ) => Promise <SimplePollerLike <OperationState <void >, void >>;
1000+ // @deprecated (undocumented)
1001+ beginDeleteAndWait: (privateEndpointConnectionName : string , resourceGroupName : string , resourceName : string , options ? : WebPubSubPrivateEndpointConnectionsDeleteOptionalParams ) => Promise <void >;
9351002 delete: (privateEndpointConnectionName : string , resourceGroupName : string , resourceName : string , options ? : WebPubSubPrivateEndpointConnectionsDeleteOptionalParams ) => PollerLike <OperationState <void >, void >;
9361003 get: (privateEndpointConnectionName : string , resourceGroupName : string , resourceName : string , options ? : WebPubSubPrivateEndpointConnectionsGetOptionalParams ) => Promise <PrivateEndpointConnection >;
9371004 list: (resourceGroupName : string , resourceName : string , options ? : WebPubSubPrivateEndpointConnectionsListOptionalParams ) => PagedAsyncIterableIterator <PrivateEndpointConnection >;
@@ -1008,6 +1075,10 @@ export interface WebPubSubReplicaSharedPrivateLinkResourcesListOptionalParams ex
10081075
10091076// @public
10101077export interface WebPubSubReplicaSharedPrivateLinkResourcesOperations {
1078+ // @deprecated (undocumented)
1079+ beginCreateOrUpdate: (resourceGroupName : string , resourceName : string , replicaName : string , sharedPrivateLinkResourceName : string , parameters : SharedPrivateLinkResource , options ? : WebPubSubReplicaSharedPrivateLinkResourcesCreateOrUpdateOptionalParams ) => Promise <SimplePollerLike <OperationState <SharedPrivateLinkResource >, SharedPrivateLinkResource >>;
1080+ // @deprecated (undocumented)
1081+ beginCreateOrUpdateAndWait: (resourceGroupName : string , resourceName : string , replicaName : string , sharedPrivateLinkResourceName : string , parameters : SharedPrivateLinkResource , options ? : WebPubSubReplicaSharedPrivateLinkResourcesCreateOrUpdateOptionalParams ) => Promise <SharedPrivateLinkResource >;
10111082 createOrUpdate: (resourceGroupName : string , resourceName : string , replicaName : string , sharedPrivateLinkResourceName : string , parameters : SharedPrivateLinkResource , options ? : WebPubSubReplicaSharedPrivateLinkResourcesCreateOrUpdateOptionalParams ) => PollerLike <OperationState <SharedPrivateLinkResource >, SharedPrivateLinkResource >;
10121083 get: (resourceGroupName : string , resourceName : string , replicaName : string , sharedPrivateLinkResourceName : string , options ? : WebPubSubReplicaSharedPrivateLinkResourcesGetOptionalParams ) => Promise <SharedPrivateLinkResource >;
10131084 list: (resourceGroupName : string , resourceName : string , replicaName : string , options ? : WebPubSubReplicaSharedPrivateLinkResourcesListOptionalParams ) => PagedAsyncIterableIterator <SharedPrivateLinkResource >;
@@ -1019,6 +1090,18 @@ export interface WebPubSubReplicasListOptionalParams extends OperationOptions {
10191090
10201091// @public
10211092export interface WebPubSubReplicasOperations {
1093+ // @deprecated (undocumented)
1094+ beginCreateOrUpdate: (resourceGroupName : string , resourceName : string , replicaName : string , parameters : Replica , options ? : WebPubSubReplicasCreateOrUpdateOptionalParams ) => Promise <SimplePollerLike <OperationState <Replica >, Replica >>;
1095+ // @deprecated (undocumented)
1096+ beginCreateOrUpdateAndWait: (resourceGroupName : string , resourceName : string , replicaName : string , parameters : Replica , options ? : WebPubSubReplicasCreateOrUpdateOptionalParams ) => Promise <Replica >;
1097+ // @deprecated (undocumented)
1098+ beginRestart: (resourceGroupName : string , resourceName : string , replicaName : string , options ? : WebPubSubReplicasRestartOptionalParams ) => Promise <SimplePollerLike <OperationState <void >, void >>;
1099+ // @deprecated (undocumented)
1100+ beginRestartAndWait: (resourceGroupName : string , resourceName : string , replicaName : string , options ? : WebPubSubReplicasRestartOptionalParams ) => Promise <void >;
1101+ // @deprecated (undocumented)
1102+ beginUpdate: (resourceGroupName : string , resourceName : string , replicaName : string , parameters : Replica , options ? : WebPubSubReplicasUpdateOptionalParams ) => Promise <SimplePollerLike <OperationState <Replica >, Replica >>;
1103+ // @deprecated (undocumented)
1104+ beginUpdateAndWait: (resourceGroupName : string , resourceName : string , replicaName : string , parameters : Replica , options ? : WebPubSubReplicasUpdateOptionalParams ) => Promise <Replica >;
10221105 createOrUpdate: (resourceGroupName : string , resourceName : string , replicaName : string , parameters : Replica , options ? : WebPubSubReplicasCreateOrUpdateOptionalParams ) => PollerLike <OperationState <Replica >, Replica >;
10231106 delete: (resourceGroupName : string , resourceName : string , replicaName : string , options ? : WebPubSubReplicasDeleteOptionalParams ) => Promise <void >;
10241107 get: (resourceGroupName : string , resourceName : string , replicaName : string , options ? : WebPubSubReplicasGetOptionalParams ) => Promise <Replica >;
@@ -1092,6 +1175,14 @@ export interface WebPubSubSharedPrivateLinkResourcesListOptionalParams extends O
10921175
10931176// @public
10941177export interface WebPubSubSharedPrivateLinkResourcesOperations {
1178+ // @deprecated (undocumented)
1179+ beginCreateOrUpdate: (sharedPrivateLinkResourceName : string , resourceGroupName : string , resourceName : string , parameters : SharedPrivateLinkResource , options ? : WebPubSubSharedPrivateLinkResourcesCreateOrUpdateOptionalParams ) => Promise <SimplePollerLike <OperationState <SharedPrivateLinkResource >, SharedPrivateLinkResource >>;
1180+ // @deprecated (undocumented)
1181+ beginCreateOrUpdateAndWait: (sharedPrivateLinkResourceName : string , resourceGroupName : string , resourceName : string , parameters : SharedPrivateLinkResource , options ? : WebPubSubSharedPrivateLinkResourcesCreateOrUpdateOptionalParams ) => Promise <SharedPrivateLinkResource >;
1182+ // @deprecated (undocumented)
1183+ beginDelete: (sharedPrivateLinkResourceName : string , resourceGroupName : string , resourceName : string , options ? : WebPubSubSharedPrivateLinkResourcesDeleteOptionalParams ) => Promise <SimplePollerLike <OperationState <void >, void >>;
1184+ // @deprecated (undocumented)
1185+ beginDeleteAndWait: (sharedPrivateLinkResourceName : string , resourceGroupName : string , resourceName : string , options ? : WebPubSubSharedPrivateLinkResourcesDeleteOptionalParams ) => Promise <void >;
10951186 createOrUpdate: (sharedPrivateLinkResourceName : string , resourceGroupName : string , resourceName : string , parameters : SharedPrivateLinkResource , options ? : WebPubSubSharedPrivateLinkResourcesCreateOrUpdateOptionalParams ) => PollerLike <OperationState <SharedPrivateLinkResource >, SharedPrivateLinkResource >;
10961187 delete: (sharedPrivateLinkResourceName : string , resourceGroupName : string , resourceName : string , options ? : WebPubSubSharedPrivateLinkResourcesDeleteOptionalParams ) => PollerLike <OperationState <void >, void >;
10971188 get: (sharedPrivateLinkResourceName : string , resourceGroupName : string , resourceName : string , options ? : WebPubSubSharedPrivateLinkResourcesGetOptionalParams ) => Promise <SharedPrivateLinkResource >;
0 commit comments