|
6 | 6 |
|
7 | 7 | import * as coreAuth from '@azure/core-auth';
|
8 | 8 | import * as coreClient from '@azure/core-client';
|
| 9 | +import { OperationState } from '@azure/core-lro'; |
9 | 10 | import { PagedAsyncIterableIterator } from '@azure/core-paging';
|
10 |
| -import { PollerLike } from '@azure/core-lro'; |
11 |
| -import { PollOperationState } from '@azure/core-lro'; |
| 11 | +import { SimplePollerLike } from '@azure/core-lro'; |
12 | 12 |
|
13 | 13 | // @public
|
14 | 14 | export type AccessRights = "RegistryRead" | "RegistryWrite" | "ServiceConnect" | "DeviceConnect" | "RegistryRead, RegistryWrite" | "RegistryRead, ServiceConnect" | "RegistryRead, DeviceConnect" | "RegistryWrite, ServiceConnect" | "RegistryWrite, DeviceConnect" | "ServiceConnect, DeviceConnect" | "RegistryRead, RegistryWrite, ServiceConnect" | "RegistryRead, RegistryWrite, DeviceConnect" | "RegistryRead, ServiceConnect, DeviceConnect" | "RegistryWrite, ServiceConnect, DeviceConnect" | "RegistryRead, RegistryWrite, ServiceConnect, DeviceConnect";
|
@@ -295,7 +295,7 @@ export interface ImportDevicesRequest {
|
295 | 295 |
|
296 | 296 | // @public
|
297 | 297 | export interface IotHub {
|
298 |
| - beginManualFailover(iotHubName: string, resourceGroupName: string, failoverInput: FailoverInput, options?: IotHubManualFailoverOptionalParams): Promise<PollerLike<PollOperationState<void>, void>>; |
| 298 | + beginManualFailover(iotHubName: string, resourceGroupName: string, failoverInput: FailoverInput, options?: IotHubManualFailoverOptionalParams): Promise<SimplePollerLike<OperationState<void>, void>>; |
299 | 299 | beginManualFailoverAndWait(iotHubName: string, resourceGroupName: string, failoverInput: FailoverInput, options?: IotHubManualFailoverOptionalParams): Promise<void>;
|
300 | 300 | }
|
301 | 301 |
|
@@ -360,6 +360,13 @@ export interface IotHubLocationDescription {
|
360 | 360 | role?: IotHubReplicaRoleType;
|
361 | 361 | }
|
362 | 362 |
|
| 363 | +// @public |
| 364 | +export interface IotHubManualFailoverHeaders { |
| 365 | + azureAsyncOperation?: string; |
| 366 | + // (undocumented) |
| 367 | + location?: string; |
| 368 | +} |
| 369 | + |
363 | 370 | // @public
|
364 | 371 | export interface IotHubManualFailoverOptionalParams extends coreClient.OperationOptions {
|
365 | 372 | resumeFrom?: string;
|
@@ -395,6 +402,7 @@ export interface IotHubProperties {
|
395 | 402 | features?: Capabilities;
|
396 | 403 | readonly hostName?: string;
|
397 | 404 | ipFilterRules?: IpFilterRule[];
|
| 405 | + ipVersion?: IpVersion; |
398 | 406 | readonly locations?: IotHubLocationDescription[];
|
399 | 407 | messagingEndpoints?: {
|
400 | 408 | [propertyName: string]: MessagingEndpointProperties;
|
@@ -436,11 +444,11 @@ export type IotHubReplicaRoleType = string;
|
436 | 444 |
|
437 | 445 | // @public
|
438 | 446 | export interface IotHubResource {
|
439 |
| - beginCreateOrUpdate(resourceGroupName: string, resourceName: string, iotHubDescription: IotHubDescription, options?: IotHubResourceCreateOrUpdateOptionalParams): Promise<PollerLike<PollOperationState<IotHubResourceCreateOrUpdateResponse>, IotHubResourceCreateOrUpdateResponse>>; |
| 447 | + beginCreateOrUpdate(resourceGroupName: string, resourceName: string, iotHubDescription: IotHubDescription, options?: IotHubResourceCreateOrUpdateOptionalParams): Promise<SimplePollerLike<OperationState<IotHubResourceCreateOrUpdateResponse>, IotHubResourceCreateOrUpdateResponse>>; |
440 | 448 | beginCreateOrUpdateAndWait(resourceGroupName: string, resourceName: string, iotHubDescription: IotHubDescription, options?: IotHubResourceCreateOrUpdateOptionalParams): Promise<IotHubResourceCreateOrUpdateResponse>;
|
441 |
| - beginDelete(resourceGroupName: string, resourceName: string, options?: IotHubResourceDeleteOptionalParams): Promise<PollerLike<PollOperationState<IotHubResourceDeleteResponse>, IotHubResourceDeleteResponse>>; |
| 449 | + beginDelete(resourceGroupName: string, resourceName: string, options?: IotHubResourceDeleteOptionalParams): Promise<SimplePollerLike<OperationState<IotHubResourceDeleteResponse>, IotHubResourceDeleteResponse>>; |
442 | 450 | beginDeleteAndWait(resourceGroupName: string, resourceName: string, options?: IotHubResourceDeleteOptionalParams): Promise<IotHubResourceDeleteResponse>;
|
443 |
| - beginUpdate(resourceGroupName: string, resourceName: string, iotHubTags: TagsResource, options?: IotHubResourceUpdateOptionalParams): Promise<PollerLike<PollOperationState<IotHubResourceUpdateResponse>, IotHubResourceUpdateResponse>>; |
| 451 | + beginUpdate(resourceGroupName: string, resourceName: string, iotHubTags: TagsResource, options?: IotHubResourceUpdateOptionalParams): Promise<SimplePollerLike<OperationState<IotHubResourceUpdateResponse>, IotHubResourceUpdateResponse>>; |
444 | 452 | beginUpdateAndWait(resourceGroupName: string, resourceName: string, iotHubTags: TagsResource, options?: IotHubResourceUpdateOptionalParams): Promise<IotHubResourceUpdateResponse>;
|
445 | 453 | checkNameAvailability(operationInputs: OperationInputs, options?: IotHubResourceCheckNameAvailabilityOptionalParams): Promise<IotHubResourceCheckNameAvailabilityResponse>;
|
446 | 454 | createEventHubConsumerGroup(resourceGroupName: string, resourceName: string, eventHubEndpointName: string, name: string, consumerGroupBody: EventHubConsumerGroupBodyDescription, options?: IotHubResourceCreateEventHubConsumerGroupOptionalParams): Promise<IotHubResourceCreateEventHubConsumerGroupResponse>;
|
@@ -739,6 +747,9 @@ export interface IpFilterRule {
|
739 | 747 | ipMask: string;
|
740 | 748 | }
|
741 | 749 |
|
| 750 | +// @public |
| 751 | +export type IpVersion = string; |
| 752 | + |
742 | 753 | // @public
|
743 | 754 | export interface JobResponse {
|
744 | 755 | readonly endTimeUtc?: Date;
|
@@ -821,6 +832,13 @@ export enum KnownIotHubSku {
|
821 | 832 | S3 = "S3"
|
822 | 833 | }
|
823 | 834 |
|
| 835 | +// @public |
| 836 | +export enum KnownIpVersion { |
| 837 | + Ipv4 = "ipv4", |
| 838 | + Ipv4Ipv6 = "ipv4ipv6", |
| 839 | + Ipv6 = "ipv6" |
| 840 | +} |
| 841 | + |
824 | 842 | // @public
|
825 | 843 | export enum KnownJobType {
|
826 | 844 | Backup = "backup",
|
@@ -991,9 +1009,9 @@ export interface PrivateEndpointConnectionProperties {
|
991 | 1009 |
|
992 | 1010 | // @public
|
993 | 1011 | export interface PrivateEndpointConnections {
|
994 |
| - beginDelete(resourceGroupName: string, resourceName: string, privateEndpointConnectionName: string, options?: PrivateEndpointConnectionsDeleteOptionalParams): Promise<PollerLike<PollOperationState<PrivateEndpointConnectionsDeleteResponse>, PrivateEndpointConnectionsDeleteResponse>>; |
| 1012 | + beginDelete(resourceGroupName: string, resourceName: string, privateEndpointConnectionName: string, options?: PrivateEndpointConnectionsDeleteOptionalParams): Promise<SimplePollerLike<OperationState<PrivateEndpointConnectionsDeleteResponse>, PrivateEndpointConnectionsDeleteResponse>>; |
995 | 1013 | beginDeleteAndWait(resourceGroupName: string, resourceName: string, privateEndpointConnectionName: string, options?: PrivateEndpointConnectionsDeleteOptionalParams): Promise<PrivateEndpointConnectionsDeleteResponse>;
|
996 |
| - beginUpdate(resourceGroupName: string, resourceName: string, privateEndpointConnectionName: string, privateEndpointConnection: PrivateEndpointConnection, options?: PrivateEndpointConnectionsUpdateOptionalParams): Promise<PollerLike<PollOperationState<PrivateEndpointConnectionsUpdateResponse>, PrivateEndpointConnectionsUpdateResponse>>; |
| 1014 | + beginUpdate(resourceGroupName: string, resourceName: string, privateEndpointConnectionName: string, privateEndpointConnection: PrivateEndpointConnection, options?: PrivateEndpointConnectionsUpdateOptionalParams): Promise<SimplePollerLike<OperationState<PrivateEndpointConnectionsUpdateResponse>, PrivateEndpointConnectionsUpdateResponse>>; |
997 | 1015 | beginUpdateAndWait(resourceGroupName: string, resourceName: string, privateEndpointConnectionName: string, privateEndpointConnection: PrivateEndpointConnection, options?: PrivateEndpointConnectionsUpdateOptionalParams): Promise<PrivateEndpointConnectionsUpdateResponse>;
|
998 | 1016 | get(resourceGroupName: string, resourceName: string, privateEndpointConnectionName: string, options?: PrivateEndpointConnectionsGetOptionalParams): Promise<PrivateEndpointConnectionsGetResponse>;
|
999 | 1017 | list(resourceGroupName: string, resourceName: string, options?: PrivateEndpointConnectionsListOptionalParams): Promise<PrivateEndpointConnectionsListResponse>;
|
|
0 commit comments