-
Notifications
You must be signed in to change notification settings - Fork 149
Expand file tree
/
Copy pathIEventHubsConnectionWizardContext.ts
More file actions
25 lines (21 loc) · 1.2 KB
/
IEventHubsConnectionWizardContext.ts
File metadata and controls
25 lines (21 loc) · 1.2 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
/*---------------------------------------------------------------------------------------------
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for license information.
*--------------------------------------------------------------------------------------------*/
import type { AuthorizationRule, EHNamespace } from "@azure/arm-eventhub";
import type { ResourceGroup } from "@azure/arm-resources";
import { ISubscriptionContext } from "@microsoft/vscode-azext-utils";
import { EventHubsConnectionTypeValues, StorageConnectionTypeValues } from "../../../../constants";
import { ISetConnectionSettingContext } from "../ISetConnectionSettingContext";
export interface IEventHubsConnectionWizardContext extends ISetConnectionSettingContext, Partial<ISubscriptionContext> {
resourceGroup?: ResourceGroup;
// Connection Types
azureWebJobsStorageType?: StorageConnectionTypeValues;
eventHubsConnectionType?: EventHubsConnectionTypeValues;
// Netherite
newEventHubsNamespaceName?: string;
eventHubsNamespace?: EHNamespace;
newAuthRuleName?: string;
authRule?: AuthorizationRule;
newEventHubName?: string;
}