This commit is contained in:
Qiaoqiao Zhang 2020-11-06 15:23:02 +08:00 коммит произвёл GitHub
Родитель cd00bcff04
Коммит 709089d65c
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: 4AEE18F83AFDEB23
75 изменённых файлов: 326 добавлений и 214 удалений

Просмотреть файл

@ -2,6 +2,7 @@
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for license information.
*--------------------------------------------------------------------------------------------*/
import * as path from 'path';
import { AzGeneratorBase } from "./AzGeneratorBase";
import { CodeModelAz } from "./CodeModelAz";
import { GenerateNamespaceInit } from "./templates/CliNamespaceInit";
@ -31,26 +32,26 @@ import { CliTestStep, NeedPreparer } from "./templates/tests/CliTestStep";
export class AzExtensionFullGenerator extends AzGeneratorBase {
constructor(model: CodeModelAz, isDebugMode: boolean) {
super(model, isDebugMode);
this.azDirectory = "azext_" + this.model.Extension_NameUnderscored + "/";
this.azDirectory = model.AzextFolder;
}
public async generateAll(): Promise<void> {
this.files[this.azDirectory + "generated/_params.py"] = GenerateAzureCliParams(this.model, this.isDebugMode);
this.files[this.azDirectory + "generated/commands.py"] = GenerateAzureCliCommands(this.model);
this.files[this.azDirectory + "generated/custom.py"] = GenerateAzureCliCustom(this.model);
this.files[this.azDirectory + "generated/_client_factory.py"] = GenerateAzureCliClientFactory(this.model);
this.files[this.azDirectory + "generated/_validators.py"] = GenerateAzureCliValidators(this.model);
this.files[this.azDirectory + "generated/action.py"] = GenerateAzureCliActions(this.model);
this.files[this.azDirectory + "generated/__init__.py"] = GenerateNamespaceInit(this.model);
this.files[this.azDirectory + "tests/latest/__init__.py"] = GenerateNamespaceInit(this.model);
this.files[path.join(this.azDirectory, "generated/_params.py")] = GenerateAzureCliParams(this.model, this.isDebugMode);
this.files[path.join(this.azDirectory, "generated/commands.py")] = GenerateAzureCliCommands(this.model);
this.files[path.join(this.azDirectory, "generated/custom.py")] = GenerateAzureCliCustom(this.model);
this.files[path.join(this.azDirectory, "generated/_client_factory.py")] = GenerateAzureCliClientFactory(this.model);
this.files[path.join(this.azDirectory, "generated/_validators.py")] = GenerateAzureCliValidators(this.model);
this.files[path.join(this.azDirectory, "generated/action.py")] = GenerateAzureCliActions(this.model);
this.files[path.join(this.azDirectory, "generated/__init__.py")] = GenerateNamespaceInit(this.model);
this.files[path.join(this.azDirectory, "tests/latest/__init__.py")] = GenerateNamespaceInit(this.model);
this.files[this.azDirectory + "generated/_help.py"] = GenerateAzureCliHelp(this.model, this.isDebugMode);
this.files[path.join(this.azDirectory, "generated/_help.py")] = GenerateAzureCliHelp(this.model, this.isDebugMode);
this.files[this.azDirectory + "manual/__init__.py"] = GenerateNamespaceInit(this.model);
this.files[path.join(this.azDirectory, "manual/__init__.py")] = GenerateNamespaceInit(this.model);
if (this.model.SDK_NeedSDK) {
this.files[this.azDirectory + "vendored_sdks/__init__.py"] = GenerateNamespaceInit(this.model);
this.files[path.join(this.azDirectory, "vendored_sdks/__init__.py")] = GenerateNamespaceInit(this.model);
}
await this.generateFullSingleAndAddtoOutput(new CliTopAction(this.model, this.isDebugMode));

Просмотреть файл

@ -31,7 +31,7 @@ import { CliTestStep, NeedPreparer } from "./templates/tests/CliTestStep";
export class AzExtensionIncrementalGenerator extends AzGeneratorBase {
constructor(model: CodeModelAz, isDebugMode: boolean) {
super(model, isDebugMode);
this.azDirectory = "azext_" + this.model.Extension_NameUnderscored;
this.azDirectory = model.AzextFolder;
}
public async generateAll(): Promise<void> {

Просмотреть файл

@ -69,6 +69,7 @@ export interface CodeModelAz {
SelectNextExtension(): boolean;
CliGenerationMode: GenerationMode;
CliOutputFolder: string;
AzextFolder: string;
IsCliCore: boolean;
SDK_NeedSDK: boolean;
@ -219,7 +220,6 @@ export interface CodeModelAz {
// Python
PythonMgmtClient: string;
PythonOperationsName: string;
GenerateTestInit(): void;
SelectFirstExample(): boolean;

Просмотреть файл

@ -1775,7 +1775,7 @@ export class CodeModelCliImpl implements CodeModelAz {
}
public GetPythonNamespace(): string {
return this.options['namespace'];
return this.codeModel.language['az']['pythonNamespace'];
}
public GetPythonPackageName(): string {
@ -1786,10 +1786,6 @@ export class CodeModelCliImpl implements CodeModelAz {
return this.codeModel.info['pascal_case_title'];
}
public get PythonOperationsName(): string {
return this.options['namespace'].split('.').pop();
}
//=================================================================================================================
// Example / Test Scenario related interface.
//
@ -2560,7 +2556,12 @@ export class CodeModelCliImpl implements CodeModelAz {
}
public get AzureCliFolder(): string {
return this.codeModel.language['az']?.['azureCliFolder']
return this.codeModel.language['az']?.['azureCliFolder'] + "/";
}
public get AzextFolder(): string {
return this.codeModel.language['az']?.['azextFolder'];
}
public get azOutputFolder(): string {

Просмотреть файл

@ -30,7 +30,7 @@ export async function processRequest(host: Host) {
// Read existing file generation-mode
let options = await session.getValue('az');
model.CliGenerationMode = await autoDetectGenerationMode(host, options['extensions'], model.IsCliCore);
model.CliGenerationMode = await autoDetectGenerationMode(host, model.AzextFolder, model.IsCliCore);
model.CliOutputFolder = azOutputFolder;
let generator = await AzGeneratorFactory.createAzGenerator(model, debug);
@ -39,7 +39,7 @@ export async function processRequest(host: Host) {
if (model.SelectFirstExtension()) {
do {
let path = "azext_" + model.Extension_Name.replace("-", "_") + "/";
let path = model.AzextFolder;
session.protectFiles(path + "manual");
session.protectFiles(path + "tests/latest/recordings");
session.protectFiles("README.md");
@ -69,9 +69,9 @@ export async function processRequest(host: Host) {
}
}
async function autoDetectGenerationMode(host: Host, name: string, isCliCore: boolean): Promise<GenerationMode> {
async function autoDetectGenerationMode(host: Host, azextFolder: string, isCliCore: boolean): Promise<GenerationMode> {
// Verify the __init__.py in generated folder
if (isNullOrUndefined(name)) {
if (isNullOrUndefined(azextFolder)) {
throw new Error("name should not be null");
}
let result: GenerationMode;
@ -84,7 +84,7 @@ async function autoDetectGenerationMode(host: Host, name: string, isCliCore: boo
else {
let azName: string = "";
if (!isCliCore) {
azName = "azext_" + name.replace("-", "_");
azName = azextFolder;
}
let relativePath = path.join(azName, PathConstants.initFile);
let rootInit = await host.ReadFile(relativePath);

Просмотреть файл

@ -18,7 +18,7 @@ export class CliTopAction extends TemplateBase {
this.relativePath = path.join(PathConstants.actionFile);
}
else {
this.relativePath = path.join("azext_" + this.model.Extension_NameUnderscored, PathConstants.actionFile);
this.relativePath = path.join(model.AzextFolder, PathConstants.actionFile);
}
}

Просмотреть файл

@ -19,7 +19,7 @@ export class CliTopCustom extends TemplateBase {
this.relativePath = path.join(PathConstants.customFile);
}
else {
this.relativePath = path.join("azext_" + this.model.Extension_NameUnderscored, PathConstants.customFile);
this.relativePath = path.join(model.AzextFolder, PathConstants.customFile);
}
}

Просмотреть файл

@ -18,7 +18,7 @@ export class CliTopHelp extends TemplateBase {
this.relativePath = path.join(PathConstants.helpFile);
}
else {
this.relativePath = path.join("azext_" + this.model.Extension_NameUnderscored, PathConstants.helpFile);
this.relativePath = path.join(model.AzextFolder, PathConstants.helpFile);
}
}

Просмотреть файл

@ -18,7 +18,7 @@ export class CliTopInit extends TemplateBase {
this.relativePath = path.join(PathConstants.initFile);
}
else {
this.relativePath = path.join("azext_" + this.model.Extension_NameUnderscored, PathConstants.initFile);
this.relativePath = path.join(model.AzextFolder, PathConstants.initFile);
}
}
@ -117,7 +117,7 @@ export class CliTopInit extends TemplateBase {
header.addFromImport("azure.cli.core.profiles", ["ResourceType"]);
}
var output: string[] = header.getLines();
let importPath = "azext_" + model.Extension_NameUnderscored;
let importPath = model.AzextFolder;
if (model.IsCliCore) {
importPath = "";
}
@ -137,7 +137,7 @@ export class CliTopInit extends TemplateBase {
if (model.IsCliCore) {
output.push(" operations_tmpl='azure.cli.command_modules." + model.Extension_NameUnderscored + ".custom#{}',");
} else {
output.push(" operations_tmpl='azext_" + model.Extension_NameUnderscored + ".custom#{}',");
output.push(" operations_tmpl='" + model.AzextFolder + ".custom#{}',");
}
output.push(" client_factory=cf_" + model.Extension_NameUnderscored + "_cl)");
output.push(` parent = super(${model.Extension_NameClass}CommandsLoader, self)`);

Просмотреть файл

@ -12,7 +12,7 @@ import { TemplateBase } from "../TemplateBase";
export class CliTopMetadata extends TemplateBase {
constructor(model: CodeModelAz, isDebugMode: boolean) {
super(model, isDebugMode);
this.relativePath = path.join("azext_" + this.model.Extension_NameUnderscored, PathConstants.metadataFile);
this.relativePath = path.join(model.AzextFolder, PathConstants.metadataFile);
}
public async fullGeneration(): Promise<string[]> {

Просмотреть файл

@ -80,7 +80,7 @@ export class CliExtSetupPy extends TemplateBase {
output.push("# HISTORY.rst entry.");
output.push("VERSION = '0.1.0'");
output.push("try:");
output.push(" from azext_" + model.Extension_NameUnderscored + ".manual.version import VERSION");
output.push(" from " + model.AzextFolder + ".manual.version import VERSION");
output.push("except ImportError:");
output.push(" pass");
output.push("")
@ -111,7 +111,7 @@ export class CliExtSetupPy extends TemplateBase {
output.push("");
output.push("try:");
output.push(" from azext_" + model.Extension_NameUnderscored + ".manual.dependency import DEPENDENCIES");
output.push(" from " + model.AzextFolder + ".manual.dependency import DEPENDENCIES");
output.push("except ImportError:");
output.push(" pass");
output.push("");
@ -132,7 +132,7 @@ export class CliExtSetupPy extends TemplateBase {
output.push(" classifiers=CLASSIFIERS,");
output.push(" packages=find_packages(),");
output.push(" install_requires=DEPENDENCIES,");
output.push(" package_data={'azext_" + model.Extension_NameUnderscored + "': ['azext_metadata.json']},");
output.push(" package_data={'" + model.AzextFolder + "': ['azext_metadata.json']},");
output.push(")");
output.push("");

Просмотреть файл

@ -15,11 +15,7 @@ export function GenerateAzureCliClientFactory(model: CodeModelAz): string[] {
output.push("");
output.push("def cf_" + model.Extension_NameUnderscored + "_cl(cli_ctx, *_):");
output.push(" from " + model.CliCoreLib + ".commands.client_factory import get_mgmt_service_client");
if (model.SDK_NeedSDK) {
output.push(" from ..vendored_sdks." + model.PythonOperationsName + " import " + model.PythonMgmtClient);
} else {
output.push(" from " + model.GetPythonNamespace() + " import " + model.PythonMgmtClient);
}
output.push(" from " + model.GetPythonNamespace() + " import " + model.PythonMgmtClient);
if (!isNullOrUndefined(model.Extension_ClientAuthenticationPolicy)) {

Просмотреть файл

@ -33,17 +33,13 @@ export function GenerateAzureCliCommands(model: CodeModelAz): string[] {
let cf_name: string = "cf_" + ((model.GetModuleOperationName() != "") ? model.GetModuleOperationName() : model.Extension_NameUnderscored);
if (model.SDK_NeedSDK) {
output.push(" from azext_" + model.Extension_NameUnderscored + ".generated._client_factory import " + cf_name);
output.push(" from " + model.AzextFolder + ".generated._client_factory import " + cf_name);
} else {
output.push(" from ..generated._client_factory import " + cf_name);
}
output.push(" " + model.Extension_NameUnderscored + "_" + model.GetModuleOperationName() + " = CliCommandType(");
if (model.SDK_NeedSDK) {
ToMultiLine(" operations_tmpl='azext_" + model.Extension_NameUnderscored + ".vendored_sdks." + model.PythonOperationsName + ".operations._" + model.GetModuleOperationNamePython() + "_operations#" + model.GetModuleOperationNamePythonUpper() + ".{}',", output);
} else {
ToMultiLine(" operations_tmpl='" + model.GetPythonNamespace() + ".operations#" + model.GetModuleOperationNamePythonUpper() + ".{}',", output);
}
ToMultiLine(" operations_tmpl='" + model.GetPythonNamespace() + ".operations._" + model.GetModuleOperationNamePython() + "_operations#" + model.GetModuleOperationNamePythonUpper() + ".{}',", output);
output.push(" client_factory=" + cf_name + ")");

Просмотреть файл

@ -93,7 +93,7 @@ export function GenerateAzureCliParams(model: CodeModelAz, debug: boolean): stri
if (model.IsCliCore) {
header.addFromImport("..action", actions);
} else {
header.addFromImport("azext_" + model.Extension_NameUnderscored + ".action", actions);
header.addFromImport(model.AzextFolder + ".action", actions);
}
}

Просмотреть файл

@ -15,7 +15,7 @@ export class CliTestInit extends TemplateBase {
this.relativePath = path.join(PathConstants.testFolder, PathConstants.initFile);
}
else {
this.relativePath = path.join("azext_" + this.model.Extension_NameUnderscored, PathConstants.testFolder, PathConstants.initFile);
this.relativePath = path.join(model.AzextFolder, PathConstants.testFolder, PathConstants.initFile);
}
}

Просмотреть файл

@ -12,7 +12,7 @@ export class CliTestPrepare extends TemplateBase {
this.relativePath = path.join(PathConstants.testFolder, PathConstants.latestFolder, PathConstants.preparersFile);
}
else {
this.relativePath = path.join("azext_" + this.model.Extension_NameUnderscored, PathConstants.testFolder, PathConstants.latestFolder, PathConstants.preparersFile);
this.relativePath = path.join(model.AzextFolder, PathConstants.testFolder, PathConstants.latestFolder, PathConstants.preparersFile);
}
}

Просмотреть файл

@ -18,7 +18,7 @@ export class CliTestScenario extends TemplateBase {
this.relativePath = path.join(PathConstants.testFolder, PathConstants.latestFolder, testFilename);
}
else {
this.relativePath = path.join("azext_" + this.model.Extension_NameUnderscored, PathConstants.testFolder, PathConstants.latestFolder, testFilename);
this.relativePath = path.join(model.AzextFolder, PathConstants.testFolder, PathConstants.latestFolder, testFilename);
}
this.configValue = configValue;
this.groupName = groupName;

Просмотреть файл

@ -27,7 +27,7 @@ export class CliTestStep extends TemplateBase {
this.relativePath = path.join(PathConstants.testFolder, PathConstants.latestFolder, PathConstants.testStepFile);
}
else {
this.relativePath = path.join("azext_" + this.model.Extension_NameUnderscored, PathConstants.testFolder, PathConstants.latestFolder, PathConstants.testStepFile);
this.relativePath = path.join(model.AzextFolder, PathConstants.testFolder, PathConstants.latestFolder, PathConstants.testStepFile);
}
}

Просмотреть файл

@ -466,6 +466,7 @@ export async function processRequest(host: Host) {
session.model.language['az']['sdkTrack1'] = isTrack1;
session.model.language['az']['sdkNoFlatten'] = sdkNoFlatten;
session.model.info['extensionMode'] = extensionMode;
await processFolderPath(session);
const plugin = new Merger(session);
const result = await plugin.process();
host.WriteFile('azmerger-cli-temp-output-after.yaml', serialize(result));
@ -476,4 +477,28 @@ export async function processRequest(host: Host) {
throw E;
}
async function processFolderPath(session: Session<CodeModel>) {
let options = await session.getValue("az");
let extensionName = options['extensions'];
let azOutputFolder = await host.GetValue("az-output-folder");
let pythonSdkOutputFolder = await host.GetValue("python-sdk-output-folder");
let sdkFolder = pythonSdkOutputFolder.replace(azOutputFolder, "");
if (sdkFolder.startsWith("/")) {
sdkFolder = sdkFolder.substring(1, sdkFolder.length);
}
let azextFolder = sdkFolder.split("/")[0];
if (!isNullOrUndefined(azextFolder) && azextFolder.startsWith("azext_")) {
session.model.language['az']['azextFolder'] = azextFolder;
} else {
session.model.language['az']['azextFolder'] = "azext_" + extensionName.replace(/-/g, "_");
}
if (!session.model.language['az']['sdkNeeded'] && !isNullOrUndefined(options['namespace'])) {
session.model.language['az']['pythonNamespace'] = options['namespace'];
} else if(session.model.language['az']['sdkNeeded'] || isNullOrUndefined(options['namespace'])) {
session.model.language['az']['pythonNamespace'] = sdkFolder.replace(/\//g, ".");
}
}
}

Просмотреть файл

@ -11,7 +11,7 @@
def cf_attestation_cl(cli_ctx, *_):
from azure.cli.core.commands.client_factory import get_mgmt_service_client
from ..vendored_sdks.attestation import AttestationManagementClient
from azext_attestation.vendored_sdks.attestation import AttestationManagementClient
return get_mgmt_service_client(cli_ctx,
AttestationManagementClient)

Просмотреть файл

@ -11,7 +11,7 @@
def cf_boolean_cl(cli_ctx, *_):
from azure.cli.core.commands.client_factory import get_mgmt_service_client
from ..vendored_sdks.boolean import AutoRestTestService
from azext_boolean.vendored_sdks.boolean import AutoRestTestService
from azure.core.pipeline.policies import SansIOHTTPPolicy
return get_mgmt_service_client(cli_ctx,
AutoRestTestService,

Просмотреть файл

@ -17,7 +17,7 @@ def load_command_table(self, _):
from ..generated._client_factory import cf_virtual_machine
vm_virtual_machine = CliCommandType(
operations_tmpl='azure.mgmt.compute.operations#VirtualMachinesOperations.{}',
operations_tmpl='azure.mgmt.compute.operations._virtual_machines_operations#VirtualMachinesOperations.{}',
client_factory=cf_virtual_machine)
with self.command_group('vm virtual-machine', vm_virtual_machine, client_factory=cf_virtual_machine,
is_experimental=True) as g:

Просмотреть файл

@ -9,8 +9,8 @@ az:
namespace: azure.mgmt.datafactory
formalize-names: true
disable-checks: true
az-output-folder: $(azure-cli-extension-folder)/src/datafactory
python-sdk-output-folder: "$(az-output-folder)/azext_datafactory/vendored_sdks/datafactory"
az-output-folder: $(azure-cli-extension-folder)/src/datafactory-preview
python-sdk-output-folder: "$(az-output-folder)/azext_datafactory_preview/vendored_sdks/azure_mgmt_datafactory"
directive:
- where:

Просмотреть файл

@ -9,9 +9,9 @@
# --------------------------------------------------------------------------
from azure.cli.core import AzCommandsLoader
from azext_datafactory.generated._help import helps # pylint: disable=unused-import
from azext_datafactory_preview.generated._help import helps # pylint: disable=unused-import
try:
from azext_datafactory.manual._help import helps # pylint: disable=reimported
from azext_datafactory_preview.manual._help import helps # pylint: disable=reimported
except ImportError:
pass
@ -20,28 +20,28 @@ class DFAZManagementClientCommandsLoader(AzCommandsLoader):
def __init__(self, cli_ctx=None):
from azure.cli.core.commands import CliCommandType
from azext_datafactory.generated._client_factory import cf_datafactory_cl
from azext_datafactory_preview.generated._client_factory import cf_datafactory_cl
datafactory_custom = CliCommandType(
operations_tmpl='azext_datafactory.custom#{}',
operations_tmpl='azext_datafactory_preview.custom#{}',
client_factory=cf_datafactory_cl)
parent = super(DFAZManagementClientCommandsLoader, self)
parent.__init__(cli_ctx=cli_ctx, custom_command_type=datafactory_custom)
def load_command_table(self, args):
from azext_datafactory.generated.commands import load_command_table
from azext_datafactory_preview.generated.commands import load_command_table
load_command_table(self, args)
try:
from azext_datafactory.manual.commands import load_command_table as load_command_table_manual
from azext_datafactory_preview.manual.commands import load_command_table as load_command_table_manual
load_command_table_manual(self, args)
except ImportError:
pass
return self.command_table
def load_arguments(self, command):
from azext_datafactory.generated._params import load_arguments
from azext_datafactory_preview.generated._params import load_arguments
load_arguments(self, command)
try:
from azext_datafactory.manual._params import load_arguments as load_arguments_manual
from azext_datafactory_preview.manual._params import load_arguments as load_arguments_manual
load_arguments_manual(self, command)
except ImportError:
pass

Просмотреть файл

@ -11,7 +11,7 @@
def cf_datafactory_cl(cli_ctx, *_):
from azure.cli.core.commands.client_factory import get_mgmt_service_client
from ..vendored_sdks.datafactory import DFAZManagementClient
from azext_datafactory_preview.vendored_sdks.azure_mgmt_datafactory import DFAZManagementClient
return get_mgmt_service_client(cli_ctx,
DFAZManagementClient)

Просмотреть файл

@ -20,7 +20,7 @@ from azure.cli.core.commands.validators import (
get_default_location_from_resource_group,
validate_file_or_dict
)
from azext_datafactory.action import (
from azext_datafactory_preview.action import (
AddFactoryVstsConfiguration,
AddFactoryGitHubConfiguration,
AddFakeIdentity

Просмотреть файл

@ -15,10 +15,10 @@ from azure.cli.core.commands import CliCommandType
def load_command_table(self, _):
from azext_datafactory.generated._client_factory import cf_factory
from azext_datafactory_preview.generated._client_factory import cf_factory
datafactory_factory = CliCommandType(
operations_tmpl='azext_datafactory.vendored_sdks.datafactory.operations._factory_operations#FactoryOperations.{'
'}',
operations_tmpl='azext_datafactory_preview.vendored_sdks.azure_mgmt_datafactory.operations._factory_operations#'
'FactoryOperations.{}',
client_factory=cf_factory)
with self.command_group('datafactory', datafactory_factory, client_factory=cf_factory) as g:
g.custom_command('list', 'datafactory_list')
@ -30,10 +30,10 @@ def load_command_table(self, _):
g.custom_command('get-data-plane-access', 'datafactory_get_data_plane_access')
g.custom_command('get-git-hub-access-token', 'datafactory_get_git_hub_access_token')
from azext_datafactory.generated._client_factory import cf_trigger
from azext_datafactory_preview.generated._client_factory import cf_trigger
datafactory_trigger = CliCommandType(
operations_tmpl='azext_datafactory.vendored_sdks.datafactory.operations._trigger_operations#TriggerOperations.{'
'}',
operations_tmpl='azext_datafactory_preview.vendored_sdks.azure_mgmt_datafactory.operations._trigger_operations#'
'TriggerOperations.{}',
client_factory=cf_trigger)
with self.command_group('datafactory trigger', datafactory_trigger, client_factory=cf_trigger,
is_experimental=True) as g:
@ -52,10 +52,10 @@ def load_command_table(self, _):
supports_no_wait=True)
g.custom_wait_command('wait', 'datafactory_trigger_show')
from azext_datafactory.generated._client_factory import cf_integration_runtime
from azext_datafactory_preview.generated._client_factory import cf_integration_runtime
datafactory_integration_runtime = CliCommandType(
operations_tmpl='azext_datafactory.vendored_sdks.datafactory.operations._integration_runtime_operations#Integra'
'tionRuntimeOperations.{}',
operations_tmpl='azext_datafactory_preview.vendored_sdks.azure_mgmt_datafactory.operations._integration_runtime'
'_operations#IntegrationRuntimeOperations.{}',
client_factory=cf_integration_runtime)
with self.command_group('datafactory integration-runtime', datafactory_integration_runtime,
client_factory=cf_integration_runtime, is_experimental=True) as g:

Просмотреть файл

@ -12,7 +12,7 @@ from setuptools import setup, find_packages
# HISTORY.rst entry.
VERSION = '0.1.0'
try:
from azext_datafactory.manual.version import VERSION
from azext_datafactory_preview.manual.version import VERSION
except ImportError:
pass
@ -33,7 +33,7 @@ CLASSIFIERS = [
DEPENDENCIES = []
try:
from azext_datafactory.manual.dependency import DEPENDENCIES
from azext_datafactory_preview.manual.dependency import DEPENDENCIES
except ImportError:
pass
@ -54,5 +54,5 @@ setup(
classifiers=CLASSIFIERS,
packages=find_packages(),
install_requires=DEPENDENCIES,
package_data={'azext_datafactory': ['azext_metadata.json']},
package_data={'azext_datafactory_preview': ['azext_metadata.json']},
)

Просмотреть файл

@ -17,7 +17,7 @@ def load_command_table(self, _):
from ..generated._client_factory import cf_cluster
kusto_cluster = CliCommandType(
operations_tmpl='azure.mgmt.kusto.operations#ClustersOperations.{}',
operations_tmpl='azure.mgmt.kusto.operations._clusters_operations#ClustersOperations.{}',
client_factory=cf_cluster)
with self.command_group('kusto cluster', kusto_cluster, client_factory=cf_cluster, is_experimental=True) as g:
g.custom_command('list', 'kusto_cluster_list')
@ -39,7 +39,8 @@ def load_command_table(self, _):
from ..generated._client_factory import cf_cluster_principal_assignment
kusto_cluster_principal_assignment = CliCommandType(
operations_tmpl='azure.mgmt.kusto.operations#ClusterPrincipalAssignmentsOperations.{}',
operations_tmpl='azure.mgmt.kusto.operations._cluster_principal_assignments_operations#ClusterPrincipalAssignme'
'ntsOperations.{}',
client_factory=cf_cluster_principal_assignment)
with self.command_group('kusto cluster-principal-assignment', kusto_cluster_principal_assignment,
client_factory=cf_cluster_principal_assignment, is_experimental=True) as g:
@ -53,7 +54,7 @@ def load_command_table(self, _):
from ..generated._client_factory import cf_database
kusto_database = CliCommandType(
operations_tmpl='azure.mgmt.kusto.operations#DatabasesOperations.{}',
operations_tmpl='azure.mgmt.kusto.operations._databases_operations#DatabasesOperations.{}',
client_factory=cf_database)
with self.command_group('kusto database', kusto_database, client_factory=cf_database, is_experimental=True) as g:
g.custom_command('list', 'kusto_database_list')
@ -68,7 +69,8 @@ def load_command_table(self, _):
from ..generated._client_factory import cf_database_principal_assignment
kusto_database_principal_assignment = CliCommandType(
operations_tmpl='azure.mgmt.kusto.operations#DatabasePrincipalAssignmentsOperations.{}',
operations_tmpl='azure.mgmt.kusto.operations._database_principal_assignments_operations#DatabasePrincipalAssign'
'mentsOperations.{}',
client_factory=cf_database_principal_assignment)
with self.command_group('kusto database-principal-assignment', kusto_database_principal_assignment,
client_factory=cf_database_principal_assignment, is_experimental=True) as g:
@ -82,7 +84,8 @@ def load_command_table(self, _):
from ..generated._client_factory import cf_attached_database_configuration
kusto_attached_database_configuration = CliCommandType(
operations_tmpl='azure.mgmt.kusto.operations#AttachedDatabaseConfigurationsOperations.{}',
operations_tmpl='azure.mgmt.kusto.operations._attached_database_configurations_operations#AttachedDatabaseConfi'
'gurationsOperations.{}',
client_factory=cf_attached_database_configuration)
with self.command_group('kusto attached-database-configuration', kusto_attached_database_configuration,
client_factory=cf_attached_database_configuration, is_experimental=True) as g:
@ -96,7 +99,7 @@ def load_command_table(self, _):
from ..generated._client_factory import cf_data_connection
kusto_data_connection = CliCommandType(
operations_tmpl='azure.mgmt.kusto.operations#DataConnectionsOperations.{}',
operations_tmpl='azure.mgmt.kusto.operations._data_connections_operations#DataConnectionsOperations.{}',
client_factory=cf_data_connection)
with self.command_group('kusto data-connection', kusto_data_connection, client_factory=cf_data_connection,
is_experimental=True) as g:

Просмотреть файл

@ -11,7 +11,7 @@
def cf_kusto_cl(cli_ctx, *_):
from azure.cli.core.commands.client_factory import get_mgmt_service_client
from ..vendored_sdks.kusto import KustoManagementClient
from azext_kusto.vendored_sdks.kusto import KustoManagementClient
return get_mgmt_service_client(cli_ctx,
KustoManagementClient)

Просмотреть файл

@ -17,7 +17,7 @@ def load_command_table(self, _):
from ..generated._client_factory import cf_cluster
kusto_cluster = CliCommandType(
operations_tmpl='azure.mgmt.kusto.operations#ClustersOperations.{}',
operations_tmpl='azure.mgmt.kusto.operations._clusters_operations#ClustersOperations.{}',
client_factory=cf_cluster)
with self.command_group('kusto cluster', kusto_cluster, client_factory=cf_cluster, is_experimental=True) as g:
g.custom_command('list', 'kusto_cluster_list')
@ -40,7 +40,8 @@ def load_command_table(self, _):
from ..generated._client_factory import cf_cluster_principal_assignment
kusto_cluster_principal_assignment = CliCommandType(
operations_tmpl='azure.mgmt.kusto.operations#ClusterPrincipalAssignmentsOperations.{}',
operations_tmpl='azure.mgmt.kusto.operations._cluster_principal_assignments_operations#ClusterPrincipalAssignme'
'ntsOperations.{}',
client_factory=cf_cluster_principal_assignment)
with self.command_group('kusto cluster-principal-assignment', kusto_cluster_principal_assignment,
client_factory=cf_cluster_principal_assignment) as g:
@ -54,7 +55,7 @@ def load_command_table(self, _):
from ..generated._client_factory import cf_database
kusto_database = CliCommandType(
operations_tmpl='azure.mgmt.kusto.operations#DatabasesOperations.{}',
operations_tmpl='azure.mgmt.kusto.operations._databases_operations#DatabasesOperations.{}',
client_factory=cf_database)
with self.command_group('kusto database', kusto_database, client_factory=cf_database) as g:
g.custom_command('list', 'kusto_database_list')
@ -69,7 +70,8 @@ def load_command_table(self, _):
from ..generated._client_factory import cf_database_principal_assignment
kusto_database_principal_assignment = CliCommandType(
operations_tmpl='azure.mgmt.kusto.operations#DatabasePrincipalAssignmentsOperations.{}',
operations_tmpl='azure.mgmt.kusto.operations._database_principal_assignments_operations#DatabasePrincipalAssign'
'mentsOperations.{}',
client_factory=cf_database_principal_assignment)
with self.command_group('kusto database-principal-assignment', kusto_database_principal_assignment,
client_factory=cf_database_principal_assignment) as g:
@ -83,7 +85,8 @@ def load_command_table(self, _):
from ..generated._client_factory import cf_attached_database_configuration
kusto_attached_database_configuration = CliCommandType(
operations_tmpl='azure.mgmt.kusto.operations#AttachedDatabaseConfigurationsOperations.{}',
operations_tmpl='azure.mgmt.kusto.operations._attached_database_configurations_operations#AttachedDatabaseConfi'
'gurationsOperations.{}',
client_factory=cf_attached_database_configuration)
with self.command_group('kusto attached-database-configuration', kusto_attached_database_configuration,
client_factory=cf_attached_database_configuration) as g:
@ -97,7 +100,7 @@ def load_command_table(self, _):
from ..generated._client_factory import cf_data_connection
kusto_data_connection = CliCommandType(
operations_tmpl='azure.mgmt.kusto.operations#DataConnectionsOperations.{}',
operations_tmpl='azure.mgmt.kusto.operations._data_connections_operations#DataConnectionsOperations.{}',
client_factory=cf_data_connection)
with self.command_group('kusto data-connection', kusto_data_connection, client_factory=cf_data_connection) as g:
g.custom_command('list', 'kusto_data_connection_list')

Просмотреть файл

@ -17,7 +17,7 @@ def load_command_table(self, _):
from ..generated._client_factory import cf_cluster
kusto_cluster = CliCommandType(
operations_tmpl='azure.mgmt.kusto.operations#ClustersOperations.{}',
operations_tmpl='azure.mgmt.kusto.operations._clusters_operations#ClustersOperations.{}',
client_factory=cf_cluster)
with self.command_group('kusto cluster', kusto_cluster, client_factory=cf_cluster, is_experimental=True) as g:
g.custom_command('list', 'kusto_cluster_list')
@ -40,7 +40,8 @@ def load_command_table(self, _):
from ..generated._client_factory import cf_cluster_principal_assignment
kusto_cluster_principal_assignment = CliCommandType(
operations_tmpl='azure.mgmt.kusto.operations#ClusterPrincipalAssignmentsOperations.{}',
operations_tmpl='azure.mgmt.kusto.operations._cluster_principal_assignments_operations#ClusterPrincipalAssignme'
'ntsOperations.{}',
client_factory=cf_cluster_principal_assignment)
with self.command_group('kusto cluster-principal-assignment', kusto_cluster_principal_assignment,
client_factory=cf_cluster_principal_assignment) as g:
@ -54,7 +55,7 @@ def load_command_table(self, _):
from ..generated._client_factory import cf_database
kusto_database = CliCommandType(
operations_tmpl='azure.mgmt.kusto.operations#DatabasesOperations.{}',
operations_tmpl='azure.mgmt.kusto.operations._databases_operations#DatabasesOperations.{}',
client_factory=cf_database)
with self.command_group('kusto database', kusto_database, client_factory=cf_database) as g:
g.custom_command('list', 'kusto_database_list')
@ -69,7 +70,8 @@ def load_command_table(self, _):
from ..generated._client_factory import cf_database_principal_assignment
kusto_database_principal_assignment = CliCommandType(
operations_tmpl='azure.mgmt.kusto.operations#DatabasePrincipalAssignmentsOperations.{}',
operations_tmpl='azure.mgmt.kusto.operations._database_principal_assignments_operations#DatabasePrincipalAssign'
'mentsOperations.{}',
client_factory=cf_database_principal_assignment)
with self.command_group('kusto database-principal-assignment', kusto_database_principal_assignment,
client_factory=cf_database_principal_assignment) as g:
@ -83,7 +85,8 @@ def load_command_table(self, _):
from ..generated._client_factory import cf_attached_database_configuration
kusto_attached_database_configuration = CliCommandType(
operations_tmpl='azure.mgmt.kusto.operations#AttachedDatabaseConfigurationsOperations.{}',
operations_tmpl='azure.mgmt.kusto.operations._attached_database_configurations_operations#AttachedDatabaseConfi'
'gurationsOperations.{}',
client_factory=cf_attached_database_configuration)
with self.command_group('kusto attached-database-configuration', kusto_attached_database_configuration,
client_factory=cf_attached_database_configuration) as g:
@ -97,7 +100,7 @@ def load_command_table(self, _):
from ..generated._client_factory import cf_data_connection
kusto_data_connection = CliCommandType(
operations_tmpl='azure.mgmt.kusto.operations#DataConnectionsOperations.{}',
operations_tmpl='azure.mgmt.kusto.operations._data_connections_operations#DataConnectionsOperations.{}',
client_factory=cf_data_connection)
with self.command_group('kusto data-connection', kusto_data_connection, client_factory=cf_data_connection) as g:
g.custom_command('list', 'kusto_data_connection_list')

Просмотреть файл

@ -11,7 +11,7 @@
def cf_managed_network_cl(cli_ctx, *_):
from azure.cli.core.commands.client_factory import get_mgmt_service_client
from ..vendored_sdks.managednetwork import ManagedNetworkManagementClient
from azext_managed_network.vendored_sdks.managednetwork import ManagedNetworkManagementClient
return get_mgmt_service_client(cli_ctx,
ManagedNetworkManagementClient)

Просмотреть файл

@ -11,7 +11,7 @@
def cf_mixed_reality_cl(cli_ctx, *_):
from azure.cli.core.commands.client_factory import get_mgmt_service_client
from ..vendored_sdks.mixedreality import MixedRealityClient
from azext_mixed_reality.vendored_sdks.mixedreality import MixedRealityClient
return get_mgmt_service_client(cli_ctx,
MixedRealityClient)

Просмотреть файл

@ -17,7 +17,7 @@ def load_command_table(self, _):
from ..generated._client_factory import cf_big_data_pool
synapse_big_data_pool = CliCommandType(
operations_tmpl='azure.mgmt.synapse.operations#BigDataPoolsOperations.{}',
operations_tmpl='azure.mgmt.synapse.operations._big_data_pools_operations#BigDataPoolsOperations.{}',
client_factory=cf_big_data_pool)
with self.command_group('synapse big-data-pool', synapse_big_data_pool, client_factory=cf_big_data_pool,
is_experimental=True) as g:
@ -30,7 +30,7 @@ def load_command_table(self, _):
from ..generated._client_factory import cf_operation
synapse_operation = CliCommandType(
operations_tmpl='azure.mgmt.synapse.operations#Operations.{}',
operations_tmpl='azure.mgmt.synapse.operations._operations_operations#Operations.{}',
client_factory=cf_operation)
with self.command_group('synapse operation', synapse_operation, client_factory=cf_operation,
is_experimental=True) as g:
@ -39,7 +39,7 @@ def load_command_table(self, _):
from ..generated._client_factory import cf_ip_firewall_rule
synapse_ip_firewall_rule = CliCommandType(
operations_tmpl='azure.mgmt.synapse.operations#IpFirewallRulesOperations.{}',
operations_tmpl='azure.mgmt.synapse.operations._ip_firewall_rules_operations#IpFirewallRulesOperations.{}',
client_factory=cf_ip_firewall_rule)
with self.command_group('synapse ip-firewall-rule', synapse_ip_firewall_rule, client_factory=cf_ip_firewall_rule,
is_experimental=True) as g:
@ -53,7 +53,7 @@ def load_command_table(self, _):
from ..generated._client_factory import cf_sqlpool
synapse_sqlpool = CliCommandType(
operations_tmpl='azure.mgmt.synapse.operations#SqlPoolsOperations.{}',
operations_tmpl='azure.mgmt.synapse.operations._sql_pools_operations#SqlPoolsOperations.{}',
client_factory=cf_sqlpool)
with self.command_group('synapse sql-pool', synapse_sqlpool, client_factory=cf_sqlpool,
is_experimental=True) as g:
@ -69,7 +69,8 @@ def load_command_table(self, _):
from ..generated._client_factory import cf_sqlpool_metadata_sync_config
synapse_sqlpool_metadata_sync_config = CliCommandType(
operations_tmpl='azure.mgmt.synapse.operations#SqlPoolMetadataSyncConfigsOperations.{}',
operations_tmpl='azure.mgmt.synapse.operations._sql_pool_metadata_sync_configs_operations#SqlPoolMetadataSyncCo'
'nfigsOperations.{}',
client_factory=cf_sqlpool_metadata_sync_config)
with self.command_group('synapse sql-pool-metadata-sync-config', synapse_sqlpool_metadata_sync_config,
client_factory=cf_sqlpool_metadata_sync_config, is_experimental=True) as g:
@ -78,7 +79,8 @@ def load_command_table(self, _):
from ..generated._client_factory import cf_sqlpool_operation_result
synapse_sqlpool_operation_result = CliCommandType(
operations_tmpl='azure.mgmt.synapse.operations#SqlPoolOperationResultsOperations.{}',
operations_tmpl='azure.mgmt.synapse.operations._sql_pool_operation_results_operations#SqlPoolOperationResultsOp'
'erations.{}',
client_factory=cf_sqlpool_operation_result)
with self.command_group('synapse sql-pool-operation-result', synapse_sqlpool_operation_result,
client_factory=cf_sqlpool_operation_result, is_experimental=True) as g:
@ -86,7 +88,8 @@ def load_command_table(self, _):
from ..generated._client_factory import cf_sqlpool_geo_backup_policy
synapse_sqlpool_geo_backup_policy = CliCommandType(
operations_tmpl='azure.mgmt.synapse.operations#SqlPoolGeoBackupPoliciesOperations.{}',
operations_tmpl='azure.mgmt.synapse.operations._sql_pool_geo_backup_policies_operations#SqlPoolGeoBackupPolicie'
'sOperations.{}',
client_factory=cf_sqlpool_geo_backup_policy)
with self.command_group('synapse sql-pool-geo-backup-policy', synapse_sqlpool_geo_backup_policy,
client_factory=cf_sqlpool_geo_backup_policy, is_experimental=True) as g:
@ -94,7 +97,8 @@ def load_command_table(self, _):
from ..generated._client_factory import cf_sqlpool_data_warehouse_user_activity
synapse_sqlpool_data_warehouse_user_activity = CliCommandType(
operations_tmpl='azure.mgmt.synapse.operations#SqlPoolDataWarehouseUserActivitiesOperations.{}',
operations_tmpl='azure.mgmt.synapse.operations._sql_pool_data_warehouse_user_activities_operations#SqlPoolDataW'
'arehouseUserActivitiesOperations.{}',
client_factory=cf_sqlpool_data_warehouse_user_activity)
with self.command_group('synapse sql-pool-data-warehouse-user-activity',
synapse_sqlpool_data_warehouse_user_activity,
@ -103,7 +107,8 @@ def load_command_table(self, _):
from ..generated._client_factory import cf_sqlpool_restore_point
synapse_sqlpool_restore_point = CliCommandType(
operations_tmpl='azure.mgmt.synapse.operations#SqlPoolRestorePointsOperations.{}',
operations_tmpl='azure.mgmt.synapse.operations._sql_pool_restore_points_operations#SqlPoolRestorePointsOperatio'
'ns.{}',
client_factory=cf_sqlpool_restore_point)
with self.command_group('synapse sql-pool-restore-point', synapse_sqlpool_restore_point,
client_factory=cf_sqlpool_restore_point, is_experimental=True) as g:
@ -112,7 +117,8 @@ def load_command_table(self, _):
from ..generated._client_factory import cf_sqlpool_replication_link
synapse_sqlpool_replication_link = CliCommandType(
operations_tmpl='azure.mgmt.synapse.operations#SqlPoolReplicationLinksOperations.{}',
operations_tmpl='azure.mgmt.synapse.operations._sql_pool_replication_links_operations#SqlPoolReplicationLinksOp'
'erations.{}',
client_factory=cf_sqlpool_replication_link)
with self.command_group('synapse sql-pool-replication-link', synapse_sqlpool_replication_link,
client_factory=cf_sqlpool_replication_link, is_experimental=True) as g:
@ -120,7 +126,8 @@ def load_command_table(self, _):
from ..generated._client_factory import cf_sqlpool_transparent_data_encryption
synapse_sqlpool_transparent_data_encryption = CliCommandType(
operations_tmpl='azure.mgmt.synapse.operations#SqlPoolTransparentDataEncryptionsOperations.{}',
operations_tmpl='azure.mgmt.synapse.operations._sql_pool_transparent_data_encryptions_operations#SqlPoolTranspa'
'rentDataEncryptionsOperations.{}',
client_factory=cf_sqlpool_transparent_data_encryption)
with self.command_group('synapse sql-pool-transparent-data-encryption',
synapse_sqlpool_transparent_data_encryption,
@ -131,7 +138,8 @@ def load_command_table(self, _):
from ..generated._client_factory import cf_sqlpool_blob_auditing_policy
synapse_sqlpool_blob_auditing_policy = CliCommandType(
operations_tmpl='azure.mgmt.synapse.operations#SqlPoolBlobAuditingPoliciesOperations.{}',
operations_tmpl='azure.mgmt.synapse.operations._sql_pool_blob_auditing_policies_operations#SqlPoolBlobAuditingP'
'oliciesOperations.{}',
client_factory=cf_sqlpool_blob_auditing_policy)
with self.command_group('synapse sql-pool-blob-auditing-policy', synapse_sqlpool_blob_auditing_policy,
client_factory=cf_sqlpool_blob_auditing_policy, is_experimental=True) as g:
@ -141,7 +149,7 @@ def load_command_table(self, _):
from ..generated._client_factory import cf_sqlpool_operation
synapse_sqlpool_operation = CliCommandType(
operations_tmpl='azure.mgmt.synapse.operations#SqlPoolOperationsOperations.{}',
operations_tmpl='azure.mgmt.synapse.operations._sql_pool_operations_operations#SqlPoolOperationsOperations.{}',
client_factory=cf_sqlpool_operation)
with self.command_group('synapse sql-pool-operation', synapse_sqlpool_operation,
client_factory=cf_sqlpool_operation, is_experimental=True) as g:
@ -149,7 +157,7 @@ def load_command_table(self, _):
from ..generated._client_factory import cf_sqlpool_usage
synapse_sqlpool_usage = CliCommandType(
operations_tmpl='azure.mgmt.synapse.operations#SqlPoolUsagesOperations.{}',
operations_tmpl='azure.mgmt.synapse.operations._sql_pool_usages_operations#SqlPoolUsagesOperations.{}',
client_factory=cf_sqlpool_usage)
with self.command_group('synapse sql-pool-usage', synapse_sqlpool_usage, client_factory=cf_sqlpool_usage,
is_experimental=True) as g:
@ -157,7 +165,8 @@ def load_command_table(self, _):
from ..generated._client_factory import cf_sqlpool_sensitivity_label
synapse_sqlpool_sensitivity_label = CliCommandType(
operations_tmpl='azure.mgmt.synapse.operations#SqlPoolSensitivityLabelsOperations.{}',
operations_tmpl='azure.mgmt.synapse.operations._sql_pool_sensitivity_labels_operations#SqlPoolSensitivityLabels'
'Operations.{}',
client_factory=cf_sqlpool_sensitivity_label)
with self.command_group('synapse sql-pool-sensitivity-label', synapse_sqlpool_sensitivity_label,
client_factory=cf_sqlpool_sensitivity_label, is_experimental=True) as g:
@ -171,7 +180,7 @@ def load_command_table(self, _):
from ..generated._client_factory import cf_sqlpool_schema
synapse_sqlpool_schema = CliCommandType(
operations_tmpl='azure.mgmt.synapse.operations#SqlPoolSchemasOperations.{}',
operations_tmpl='azure.mgmt.synapse.operations._sql_pool_schemas_operations#SqlPoolSchemasOperations.{}',
client_factory=cf_sqlpool_schema)
with self.command_group('synapse sql-pool-schema', synapse_sqlpool_schema, client_factory=cf_sqlpool_schema,
is_experimental=True) as g:
@ -179,7 +188,7 @@ def load_command_table(self, _):
from ..generated._client_factory import cf_sqlpool_table
synapse_sqlpool_table = CliCommandType(
operations_tmpl='azure.mgmt.synapse.operations#SqlPoolTablesOperations.{}',
operations_tmpl='azure.mgmt.synapse.operations._sql_pool_tables_operations#SqlPoolTablesOperations.{}',
client_factory=cf_sqlpool_table)
with self.command_group('synapse sql-pool-table', synapse_sqlpool_table, client_factory=cf_sqlpool_table,
is_experimental=True) as g:
@ -187,7 +196,8 @@ def load_command_table(self, _):
from ..generated._client_factory import cf_sqlpool_table_column
synapse_sqlpool_table_column = CliCommandType(
operations_tmpl='azure.mgmt.synapse.operations#SqlPoolTableColumnsOperations.{}',
operations_tmpl='azure.mgmt.synapse.operations._sql_pool_table_columns_operations#SqlPoolTableColumnsOperations'
'.{}',
client_factory=cf_sqlpool_table_column)
with self.command_group('synapse sql-pool-table-column', synapse_sqlpool_table_column,
client_factory=cf_sqlpool_table_column, is_experimental=True) as g:
@ -195,7 +205,8 @@ def load_command_table(self, _):
from ..generated._client_factory import cf_sqlpool_connection_policy
synapse_sqlpool_connection_policy = CliCommandType(
operations_tmpl='azure.mgmt.synapse.operations#SqlPoolConnectionPoliciesOperations.{}',
operations_tmpl='azure.mgmt.synapse.operations._sql_pool_connection_policies_operations#SqlPoolConnectionPolici'
'esOperations.{}',
client_factory=cf_sqlpool_connection_policy)
with self.command_group('synapse sql-pool-connection-policy', synapse_sqlpool_connection_policy,
client_factory=cf_sqlpool_connection_policy, is_experimental=True) as g:
@ -203,7 +214,8 @@ def load_command_table(self, _):
from ..generated._client_factory import cf_sqlpool_vulnerability_assessment
synapse_sqlpool_vulnerability_assessment = CliCommandType(
operations_tmpl='azure.mgmt.synapse.operations#SqlPoolVulnerabilityAssessmentsOperations.{}',
operations_tmpl='azure.mgmt.synapse.operations._sql_pool_vulnerability_assessments_operations#SqlPoolVulnerabil'
'ityAssessmentsOperations.{}',
client_factory=cf_sqlpool_vulnerability_assessment)
with self.command_group('synapse sql-pool-vulnerability-assessment', synapse_sqlpool_vulnerability_assessment,
client_factory=cf_sqlpool_vulnerability_assessment, is_experimental=True) as g:
@ -215,7 +227,8 @@ def load_command_table(self, _):
from ..generated._client_factory import cf_sqlpool_vulnerability_assessment_scan
synapse_sqlpool_vulnerability_assessment_scan = CliCommandType(
operations_tmpl='azure.mgmt.synapse.operations#SqlPoolVulnerabilityAssessmentScansOperations.{}',
operations_tmpl='azure.mgmt.synapse.operations._sql_pool_vulnerability_assessment_scans_operations#SqlPoolVulne'
'rabilityAssessmentScansOperations.{}',
client_factory=cf_sqlpool_vulnerability_assessment_scan)
with self.command_group('synapse sql-pool-vulnerability-assessment-scan',
synapse_sqlpool_vulnerability_assessment_scan,
@ -226,7 +239,8 @@ def load_command_table(self, _):
from ..generated._client_factory import cf_sqlpool_security_alert_policy
synapse_sqlpool_security_alert_policy = CliCommandType(
operations_tmpl='azure.mgmt.synapse.operations#SqlPoolSecurityAlertPoliciesOperations.{}',
operations_tmpl='azure.mgmt.synapse.operations._sql_pool_security_alert_policies_operations#SqlPoolSecurityAler'
'tPoliciesOperations.{}',
client_factory=cf_sqlpool_security_alert_policy)
with self.command_group('synapse sql-pool-security-alert-policy', synapse_sqlpool_security_alert_policy,
client_factory=cf_sqlpool_security_alert_policy, is_experimental=True) as g:
@ -236,7 +250,8 @@ def load_command_table(self, _):
from ..generated._client_factory import cf_sqlpool_vulnerability_assessment_rule_baseline
synapse_sqlpool_vulnerability_assessment_rule_baseline = CliCommandType(
operations_tmpl='azure.mgmt.synapse.operations#SqlPoolVulnerabilityAssessmentRuleBaselinesOperations.{}',
operations_tmpl='azure.mgmt.synapse.operations._sql_pool_vulnerability_assessment_rule_baselines_operations#Sql'
'PoolVulnerabilityAssessmentRuleBaselinesOperations.{}',
client_factory=cf_sqlpool_vulnerability_assessment_rule_baseline)
with self.command_group('synapse sql-pool-vulnerability-assessment-rule-baseline',
synapse_sqlpool_vulnerability_assessment_rule_baseline,
@ -249,7 +264,7 @@ def load_command_table(self, _):
from ..generated._client_factory import cf_workspace
synapse_workspace = CliCommandType(
operations_tmpl='azure.mgmt.synapse.operations#WorkspacesOperations.{}',
operations_tmpl='azure.mgmt.synapse.operations._workspaces_operations#WorkspacesOperations.{}',
client_factory=cf_workspace)
with self.command_group('synapse workspace', synapse_workspace, client_factory=cf_workspace,
is_experimental=True) as g:
@ -262,7 +277,8 @@ def load_command_table(self, _):
from ..generated._client_factory import cf_workspace_aadadmin
synapse_workspace_aadadmin = CliCommandType(
operations_tmpl='azure.mgmt.synapse.operations#WorkspaceAadAdminsOperations.{}',
operations_tmpl='azure.mgmt.synapse.operations._workspace_aad_admins_operations#WorkspaceAadAdminsOperations.{}'
'',
client_factory=cf_workspace_aadadmin)
with self.command_group('synapse workspace-aad-admin', synapse_workspace_aadadmin,
client_factory=cf_workspace_aadadmin, is_experimental=True) as g:
@ -274,7 +290,8 @@ def load_command_table(self, _):
from ..generated._client_factory import cf_workspace_managed_identity_sqlcontrol_setting
synapse_workspace_managed_identity_sqlcontrol_setting = CliCommandType(
operations_tmpl='azure.mgmt.synapse.operations#WorkspaceManagedIdentitySqlControlSettingsOperations.{}',
operations_tmpl='azure.mgmt.synapse.operations._workspace_managed_identity_sql_control_settings_operations#Work'
'spaceManagedIdentitySqlControlSettingsOperations.{}',
client_factory=cf_workspace_managed_identity_sqlcontrol_setting)
with self.command_group('synapse workspace-managed-identity-sql-control-setting',
synapse_workspace_managed_identity_sqlcontrol_setting,
@ -286,7 +303,8 @@ def load_command_table(self, _):
from ..generated._client_factory import cf_integration_runtime
synapse_integration_runtime = CliCommandType(
operations_tmpl='azure.mgmt.synapse.operations#IntegrationRuntimesOperations.{}',
operations_tmpl='azure.mgmt.synapse.operations._integration_runtimes_operations#IntegrationRuntimesOperations.{'
'}',
client_factory=cf_integration_runtime)
with self.command_group('synapse integration-runtime', synapse_integration_runtime,
client_factory=cf_integration_runtime, is_experimental=True) as g:
@ -302,7 +320,8 @@ def load_command_table(self, _):
from ..generated._client_factory import cf_integration_runtime_node_ip_address
synapse_integration_runtime_node_ip_address = CliCommandType(
operations_tmpl='azure.mgmt.synapse.operations#IntegrationRuntimeNodeIpAddressOperations.{}',
operations_tmpl='azure.mgmt.synapse.operations._integration_runtime_node_ip_address_operations#IntegrationRunti'
'meNodeIpAddressOperations.{}',
client_factory=cf_integration_runtime_node_ip_address)
with self.command_group('synapse integration-runtime-node-ip-address', synapse_integration_runtime_node_ip_address,
client_factory=cf_integration_runtime_node_ip_address, is_experimental=True) as g:
@ -310,7 +329,8 @@ def load_command_table(self, _):
from ..generated._client_factory import cf_integration_runtime_object_metadata
synapse_integration_runtime_object_metadata = CliCommandType(
operations_tmpl='azure.mgmt.synapse.operations#IntegrationRuntimeObjectMetadataOperations.{}',
operations_tmpl='azure.mgmt.synapse.operations._integration_runtime_object_metadata_operations#IntegrationRunti'
'meObjectMetadataOperations.{}',
client_factory=cf_integration_runtime_object_metadata)
with self.command_group('synapse integration-runtime-object-metadata', synapse_integration_runtime_object_metadata,
client_factory=cf_integration_runtime_object_metadata, is_experimental=True) as g:
@ -319,7 +339,8 @@ def load_command_table(self, _):
from ..generated._client_factory import cf_integration_runtime_node
synapse_integration_runtime_node = CliCommandType(
operations_tmpl='azure.mgmt.synapse.operations#IntegrationRuntimeNodesOperations.{}',
operations_tmpl='azure.mgmt.synapse.operations._integration_runtime_nodes_operations#IntegrationRuntimeNodesOpe'
'rations.{}',
client_factory=cf_integration_runtime_node)
with self.command_group('synapse integration-runtime-node', synapse_integration_runtime_node,
client_factory=cf_integration_runtime_node, is_experimental=True) as g:
@ -329,7 +350,8 @@ def load_command_table(self, _):
from ..generated._client_factory import cf_integration_runtime_credentials
synapse_integration_runtime_credentials = CliCommandType(
operations_tmpl='azure.mgmt.synapse.operations#IntegrationRuntimeCredentialsOperations.{}',
operations_tmpl='azure.mgmt.synapse.operations._integration_runtime_credentials_operations#IntegrationRuntimeCr'
'edentialsOperations.{}',
client_factory=cf_integration_runtime_credentials)
with self.command_group('synapse integration-runtime-credentials', synapse_integration_runtime_credentials,
client_factory=cf_integration_runtime_credentials, is_experimental=True) as g:
@ -337,7 +359,8 @@ def load_command_table(self, _):
from ..generated._client_factory import cf_integration_runtime_connection_info
synapse_integration_runtime_connection_info = CliCommandType(
operations_tmpl='azure.mgmt.synapse.operations#IntegrationRuntimeConnectionInfosOperations.{}',
operations_tmpl='azure.mgmt.synapse.operations._integration_runtime_connection_infos_operations#IntegrationRunt'
'imeConnectionInfosOperations.{}',
client_factory=cf_integration_runtime_connection_info)
with self.command_group('synapse integration-runtime-connection-info', synapse_integration_runtime_connection_info,
client_factory=cf_integration_runtime_connection_info, is_experimental=True) as g:
@ -345,7 +368,8 @@ def load_command_table(self, _):
from ..generated._client_factory import cf_integration_runtime_auth_key
synapse_integration_runtime_auth_key = CliCommandType(
operations_tmpl='azure.mgmt.synapse.operations#IntegrationRuntimeAuthKeysOperations.{}',
operations_tmpl='azure.mgmt.synapse.operations._integration_runtime_auth_keys_operations#IntegrationRuntimeAuth'
'KeysOperations.{}',
client_factory=cf_integration_runtime_auth_key)
with self.command_group('synapse integration-runtime-auth-key', synapse_integration_runtime_auth_key,
client_factory=cf_integration_runtime_auth_key, is_experimental=True) as g:
@ -354,7 +378,8 @@ def load_command_table(self, _):
from ..generated._client_factory import cf_integration_runtime_monitoring_data
synapse_integration_runtime_monitoring_data = CliCommandType(
operations_tmpl='azure.mgmt.synapse.operations#IntegrationRuntimeMonitoringDataOperations.{}',
operations_tmpl='azure.mgmt.synapse.operations._integration_runtime_monitoring_data_operations#IntegrationRunti'
'meMonitoringDataOperations.{}',
client_factory=cf_integration_runtime_monitoring_data)
with self.command_group('synapse integration-runtime-monitoring-data', synapse_integration_runtime_monitoring_data,
client_factory=cf_integration_runtime_monitoring_data, is_experimental=True) as g:
@ -362,7 +387,8 @@ def load_command_table(self, _):
from ..generated._client_factory import cf_integration_runtime_status
synapse_integration_runtime_status = CliCommandType(
operations_tmpl='azure.mgmt.synapse.operations#IntegrationRuntimeStatusOperations.{}',
operations_tmpl='azure.mgmt.synapse.operations._integration_runtime_status_operations#IntegrationRuntimeStatusO'
'perations.{}',
client_factory=cf_integration_runtime_status)
with self.command_group('synapse integration-runtime-status', synapse_integration_runtime_status,
client_factory=cf_integration_runtime_status, is_experimental=True) as g:
@ -370,7 +396,8 @@ def load_command_table(self, _):
from ..generated._client_factory import cf_private_link_resource
synapse_private_link_resource = CliCommandType(
operations_tmpl='azure.mgmt.synapse.operations#PrivateLinkResourcesOperations.{}',
operations_tmpl='azure.mgmt.synapse.operations._private_link_resources_operations#PrivateLinkResourcesOperation'
's.{}',
client_factory=cf_private_link_resource)
with self.command_group('synapse private-link-resource', synapse_private_link_resource,
client_factory=cf_private_link_resource, is_experimental=True) as g:
@ -379,7 +406,8 @@ def load_command_table(self, _):
from ..generated._client_factory import cf_private_endpoint_connection
synapse_private_endpoint_connection = CliCommandType(
operations_tmpl='azure.mgmt.synapse.operations#PrivateEndpointConnectionsOperations.{}',
operations_tmpl='azure.mgmt.synapse.operations._private_endpoint_connections_operations#PrivateEndpointConnecti'
'onsOperations.{}',
client_factory=cf_private_endpoint_connection)
with self.command_group('synapse private-endpoint-connection', synapse_private_endpoint_connection,
client_factory=cf_private_endpoint_connection, is_experimental=True) as g:
@ -392,7 +420,7 @@ def load_command_table(self, _):
from ..generated._client_factory import cf_private_link_hub
synapse_private_link_hub = CliCommandType(
operations_tmpl='azure.mgmt.synapse.operations#PrivateLinkHubsOperations.{}',
operations_tmpl='azure.mgmt.synapse.operations._private_link_hubs_operations#PrivateLinkHubsOperations.{}',
client_factory=cf_private_link_hub)
with self.command_group('synapse private-link-hub', synapse_private_link_hub, client_factory=cf_private_link_hub,
is_experimental=True) as g:

Просмотреть файл

@ -11,7 +11,7 @@
def cf_synapse_cl(cli_ctx, *_):
from azure.cli.core.commands.client_factory import get_mgmt_service_client
from ..vendored_sdks.synapse import SynapseManagementClient
from azext_synapse.vendored_sdks.synapse import SynapseManagementClient
return get_mgmt_service_client(cli_ctx,
SynapseManagementClient)

Просмотреть файл

@ -17,7 +17,7 @@ def load_command_table(self, _):
from ..generated._client_factory import cf_big_data_pool
synapse_big_data_pool = CliCommandType(
operations_tmpl='azure.mgmt.synapse.operations#BigDataPoolsOperations.{}',
operations_tmpl='azure.mgmt.synapse.operations._big_data_pools_operations#BigDataPoolsOperations.{}',
client_factory=cf_big_data_pool)
with self.command_group('synapse big-data-pool', synapse_big_data_pool, client_factory=cf_big_data_pool,
is_experimental=True) as g:
@ -30,7 +30,7 @@ def load_command_table(self, _):
from ..generated._client_factory import cf_operation
synapse_operation = CliCommandType(
operations_tmpl='azure.mgmt.synapse.operations#Operations.{}',
operations_tmpl='azure.mgmt.synapse.operations._operations_operations#Operations.{}',
client_factory=cf_operation)
with self.command_group('synapse operation', synapse_operation, client_factory=cf_operation,
is_experimental=True) as g:
@ -39,7 +39,7 @@ def load_command_table(self, _):
from ..generated._client_factory import cf_ip_firewall_rule
synapse_ip_firewall_rule = CliCommandType(
operations_tmpl='azure.mgmt.synapse.operations#IpFirewallRulesOperations.{}',
operations_tmpl='azure.mgmt.synapse.operations._ip_firewall_rules_operations#IpFirewallRulesOperations.{}',
client_factory=cf_ip_firewall_rule)
with self.command_group('synapse ip-firewall-rule', synapse_ip_firewall_rule, client_factory=cf_ip_firewall_rule,
is_experimental=True) as g:
@ -53,7 +53,7 @@ def load_command_table(self, _):
from ..generated._client_factory import cf_sqlpool
synapse_sqlpool = CliCommandType(
operations_tmpl='azure.mgmt.synapse.operations#SqlPoolsOperations.{}',
operations_tmpl='azure.mgmt.synapse.operations._sql_pools_operations#SqlPoolsOperations.{}',
client_factory=cf_sqlpool)
with self.command_group('synapse sql-pool', synapse_sqlpool, client_factory=cf_sqlpool,
is_experimental=True) as g:
@ -69,7 +69,8 @@ def load_command_table(self, _):
from ..generated._client_factory import cf_sqlpool_metadata_sync_config
synapse_sqlpool_metadata_sync_config = CliCommandType(
operations_tmpl='azure.mgmt.synapse.operations#SqlPoolMetadataSyncConfigsOperations.{}',
operations_tmpl='azure.mgmt.synapse.operations._sql_pool_metadata_sync_configs_operations#SqlPoolMetadataSyncCo'
'nfigsOperations.{}',
client_factory=cf_sqlpool_metadata_sync_config)
with self.command_group('synapse sql-pool-metadata-sync-config', synapse_sqlpool_metadata_sync_config,
client_factory=cf_sqlpool_metadata_sync_config, is_experimental=True) as g:
@ -78,7 +79,8 @@ def load_command_table(self, _):
from ..generated._client_factory import cf_sqlpool_operation_result
synapse_sqlpool_operation_result = CliCommandType(
operations_tmpl='azure.mgmt.synapse.operations#SqlPoolOperationResultsOperations.{}',
operations_tmpl='azure.mgmt.synapse.operations._sql_pool_operation_results_operations#SqlPoolOperationResultsOp'
'erations.{}',
client_factory=cf_sqlpool_operation_result)
with self.command_group('synapse sql-pool-operation-result', synapse_sqlpool_operation_result,
client_factory=cf_sqlpool_operation_result, is_experimental=True) as g:
@ -86,7 +88,8 @@ def load_command_table(self, _):
from ..generated._client_factory import cf_sqlpool_geo_backup_policy
synapse_sqlpool_geo_backup_policy = CliCommandType(
operations_tmpl='azure.mgmt.synapse.operations#SqlPoolGeoBackupPoliciesOperations.{}',
operations_tmpl='azure.mgmt.synapse.operations._sql_pool_geo_backup_policies_operations#SqlPoolGeoBackupPolicie'
'sOperations.{}',
client_factory=cf_sqlpool_geo_backup_policy)
with self.command_group('synapse sql-pool-geo-backup-policy', synapse_sqlpool_geo_backup_policy,
client_factory=cf_sqlpool_geo_backup_policy, is_experimental=True) as g:
@ -94,7 +97,8 @@ def load_command_table(self, _):
from ..generated._client_factory import cf_sqlpool_data_warehouse_user_activity
synapse_sqlpool_data_warehouse_user_activity = CliCommandType(
operations_tmpl='azure.mgmt.synapse.operations#SqlPoolDataWarehouseUserActivitiesOperations.{}',
operations_tmpl='azure.mgmt.synapse.operations._sql_pool_data_warehouse_user_activities_operations#SqlPoolDataW'
'arehouseUserActivitiesOperations.{}',
client_factory=cf_sqlpool_data_warehouse_user_activity)
with self.command_group('synapse sql-pool-data-warehouse-user-activity',
synapse_sqlpool_data_warehouse_user_activity,
@ -103,7 +107,8 @@ def load_command_table(self, _):
from ..generated._client_factory import cf_sqlpool_restore_point
synapse_sqlpool_restore_point = CliCommandType(
operations_tmpl='azure.mgmt.synapse.operations#SqlPoolRestorePointsOperations.{}',
operations_tmpl='azure.mgmt.synapse.operations._sql_pool_restore_points_operations#SqlPoolRestorePointsOperatio'
'ns.{}',
client_factory=cf_sqlpool_restore_point)
with self.command_group('synapse sql-pool-restore-point', synapse_sqlpool_restore_point,
client_factory=cf_sqlpool_restore_point, is_experimental=True) as g:
@ -112,7 +117,8 @@ def load_command_table(self, _):
from ..generated._client_factory import cf_sqlpool_replication_link
synapse_sqlpool_replication_link = CliCommandType(
operations_tmpl='azure.mgmt.synapse.operations#SqlPoolReplicationLinksOperations.{}',
operations_tmpl='azure.mgmt.synapse.operations._sql_pool_replication_links_operations#SqlPoolReplicationLinksOp'
'erations.{}',
client_factory=cf_sqlpool_replication_link)
with self.command_group('synapse sql-pool-replication-link', synapse_sqlpool_replication_link,
client_factory=cf_sqlpool_replication_link, is_experimental=True) as g:
@ -120,7 +126,8 @@ def load_command_table(self, _):
from ..generated._client_factory import cf_sqlpool_transparent_data_encryption
synapse_sqlpool_transparent_data_encryption = CliCommandType(
operations_tmpl='azure.mgmt.synapse.operations#SqlPoolTransparentDataEncryptionsOperations.{}',
operations_tmpl='azure.mgmt.synapse.operations._sql_pool_transparent_data_encryptions_operations#SqlPoolTranspa'
'rentDataEncryptionsOperations.{}',
client_factory=cf_sqlpool_transparent_data_encryption)
with self.command_group('synapse sql-pool-transparent-data-encryption',
synapse_sqlpool_transparent_data_encryption,
@ -131,7 +138,8 @@ def load_command_table(self, _):
from ..generated._client_factory import cf_sqlpool_blob_auditing_policy
synapse_sqlpool_blob_auditing_policy = CliCommandType(
operations_tmpl='azure.mgmt.synapse.operations#SqlPoolBlobAuditingPoliciesOperations.{}',
operations_tmpl='azure.mgmt.synapse.operations._sql_pool_blob_auditing_policies_operations#SqlPoolBlobAuditingP'
'oliciesOperations.{}',
client_factory=cf_sqlpool_blob_auditing_policy)
with self.command_group('synapse sql-pool-blob-auditing-policy', synapse_sqlpool_blob_auditing_policy,
client_factory=cf_sqlpool_blob_auditing_policy, is_experimental=True) as g:
@ -141,7 +149,7 @@ def load_command_table(self, _):
from ..generated._client_factory import cf_sqlpool_operation
synapse_sqlpool_operation = CliCommandType(
operations_tmpl='azure.mgmt.synapse.operations#SqlPoolOperationsOperations.{}',
operations_tmpl='azure.mgmt.synapse.operations._sql_pool_operations_operations#SqlPoolOperationsOperations.{}',
client_factory=cf_sqlpool_operation)
with self.command_group('synapse sql-pool-operation', synapse_sqlpool_operation,
client_factory=cf_sqlpool_operation, is_experimental=True) as g:
@ -149,7 +157,7 @@ def load_command_table(self, _):
from ..generated._client_factory import cf_sqlpool_usage
synapse_sqlpool_usage = CliCommandType(
operations_tmpl='azure.mgmt.synapse.operations#SqlPoolUsagesOperations.{}',
operations_tmpl='azure.mgmt.synapse.operations._sql_pool_usages_operations#SqlPoolUsagesOperations.{}',
client_factory=cf_sqlpool_usage)
with self.command_group('synapse sql-pool-usage', synapse_sqlpool_usage, client_factory=cf_sqlpool_usage,
is_experimental=True) as g:
@ -157,7 +165,8 @@ def load_command_table(self, _):
from ..generated._client_factory import cf_sqlpool_sensitivity_label
synapse_sqlpool_sensitivity_label = CliCommandType(
operations_tmpl='azure.mgmt.synapse.operations#SqlPoolSensitivityLabelsOperations.{}',
operations_tmpl='azure.mgmt.synapse.operations._sql_pool_sensitivity_labels_operations#SqlPoolSensitivityLabels'
'Operations.{}',
client_factory=cf_sqlpool_sensitivity_label)
with self.command_group('synapse sql-pool-sensitivity-label', synapse_sqlpool_sensitivity_label,
client_factory=cf_sqlpool_sensitivity_label, is_experimental=True) as g:
@ -171,7 +180,7 @@ def load_command_table(self, _):
from ..generated._client_factory import cf_sqlpool_schema
synapse_sqlpool_schema = CliCommandType(
operations_tmpl='azure.mgmt.synapse.operations#SqlPoolSchemasOperations.{}',
operations_tmpl='azure.mgmt.synapse.operations._sql_pool_schemas_operations#SqlPoolSchemasOperations.{}',
client_factory=cf_sqlpool_schema)
with self.command_group('synapse sql-pool-schema', synapse_sqlpool_schema, client_factory=cf_sqlpool_schema,
is_experimental=True) as g:
@ -179,7 +188,7 @@ def load_command_table(self, _):
from ..generated._client_factory import cf_sqlpool_table
synapse_sqlpool_table = CliCommandType(
operations_tmpl='azure.mgmt.synapse.operations#SqlPoolTablesOperations.{}',
operations_tmpl='azure.mgmt.synapse.operations._sql_pool_tables_operations#SqlPoolTablesOperations.{}',
client_factory=cf_sqlpool_table)
with self.command_group('synapse sql-pool-table', synapse_sqlpool_table, client_factory=cf_sqlpool_table,
is_experimental=True) as g:
@ -187,7 +196,8 @@ def load_command_table(self, _):
from ..generated._client_factory import cf_sqlpool_table_column
synapse_sqlpool_table_column = CliCommandType(
operations_tmpl='azure.mgmt.synapse.operations#SqlPoolTableColumnsOperations.{}',
operations_tmpl='azure.mgmt.synapse.operations._sql_pool_table_columns_operations#SqlPoolTableColumnsOperations'
'.{}',
client_factory=cf_sqlpool_table_column)
with self.command_group('synapse sql-pool-table-column', synapse_sqlpool_table_column,
client_factory=cf_sqlpool_table_column, is_experimental=True) as g:
@ -195,7 +205,8 @@ def load_command_table(self, _):
from ..generated._client_factory import cf_sqlpool_connection_policy
synapse_sqlpool_connection_policy = CliCommandType(
operations_tmpl='azure.mgmt.synapse.operations#SqlPoolConnectionPoliciesOperations.{}',
operations_tmpl='azure.mgmt.synapse.operations._sql_pool_connection_policies_operations#SqlPoolConnectionPolici'
'esOperations.{}',
client_factory=cf_sqlpool_connection_policy)
with self.command_group('synapse sql-pool-connection-policy', synapse_sqlpool_connection_policy,
client_factory=cf_sqlpool_connection_policy, is_experimental=True) as g:
@ -203,7 +214,8 @@ def load_command_table(self, _):
from ..generated._client_factory import cf_sqlpool_vulnerability_assessment
synapse_sqlpool_vulnerability_assessment = CliCommandType(
operations_tmpl='azure.mgmt.synapse.operations#SqlPoolVulnerabilityAssessmentsOperations.{}',
operations_tmpl='azure.mgmt.synapse.operations._sql_pool_vulnerability_assessments_operations#SqlPoolVulnerabil'
'ityAssessmentsOperations.{}',
client_factory=cf_sqlpool_vulnerability_assessment)
with self.command_group('synapse sql-pool-vulnerability-assessment', synapse_sqlpool_vulnerability_assessment,
client_factory=cf_sqlpool_vulnerability_assessment, is_experimental=True) as g:
@ -215,7 +227,8 @@ def load_command_table(self, _):
from ..generated._client_factory import cf_sqlpool_vulnerability_assessment_scan
synapse_sqlpool_vulnerability_assessment_scan = CliCommandType(
operations_tmpl='azure.mgmt.synapse.operations#SqlPoolVulnerabilityAssessmentScansOperations.{}',
operations_tmpl='azure.mgmt.synapse.operations._sql_pool_vulnerability_assessment_scans_operations#SqlPoolVulne'
'rabilityAssessmentScansOperations.{}',
client_factory=cf_sqlpool_vulnerability_assessment_scan)
with self.command_group('synapse sql-pool-vulnerability-assessment-scan',
synapse_sqlpool_vulnerability_assessment_scan,
@ -226,7 +239,8 @@ def load_command_table(self, _):
from ..generated._client_factory import cf_sqlpool_security_alert_policy
synapse_sqlpool_security_alert_policy = CliCommandType(
operations_tmpl='azure.mgmt.synapse.operations#SqlPoolSecurityAlertPoliciesOperations.{}',
operations_tmpl='azure.mgmt.synapse.operations._sql_pool_security_alert_policies_operations#SqlPoolSecurityAler'
'tPoliciesOperations.{}',
client_factory=cf_sqlpool_security_alert_policy)
with self.command_group('synapse sql-pool-security-alert-policy', synapse_sqlpool_security_alert_policy,
client_factory=cf_sqlpool_security_alert_policy, is_experimental=True) as g:
@ -236,7 +250,8 @@ def load_command_table(self, _):
from ..generated._client_factory import cf_sqlpool_vulnerability_assessment_rule_baseline
synapse_sqlpool_vulnerability_assessment_rule_baseline = CliCommandType(
operations_tmpl='azure.mgmt.synapse.operations#SqlPoolVulnerabilityAssessmentRuleBaselinesOperations.{}',
operations_tmpl='azure.mgmt.synapse.operations._sql_pool_vulnerability_assessment_rule_baselines_operations#Sql'
'PoolVulnerabilityAssessmentRuleBaselinesOperations.{}',
client_factory=cf_sqlpool_vulnerability_assessment_rule_baseline)
with self.command_group('synapse sql-pool-vulnerability-assessment-rule-baseline',
synapse_sqlpool_vulnerability_assessment_rule_baseline,
@ -249,7 +264,7 @@ def load_command_table(self, _):
from ..generated._client_factory import cf_workspace
synapse_workspace = CliCommandType(
operations_tmpl='azure.mgmt.synapse.operations#WorkspacesOperations.{}',
operations_tmpl='azure.mgmt.synapse.operations._workspaces_operations#WorkspacesOperations.{}',
client_factory=cf_workspace)
with self.command_group('synapse workspace', synapse_workspace, client_factory=cf_workspace,
is_experimental=True) as g:
@ -262,7 +277,8 @@ def load_command_table(self, _):
from ..generated._client_factory import cf_workspace_aadadmin
synapse_workspace_aadadmin = CliCommandType(
operations_tmpl='azure.mgmt.synapse.operations#WorkspaceAadAdminsOperations.{}',
operations_tmpl='azure.mgmt.synapse.operations._workspace_aad_admins_operations#WorkspaceAadAdminsOperations.{}'
'',
client_factory=cf_workspace_aadadmin)
with self.command_group('synapse workspace-aad-admin', synapse_workspace_aadadmin,
client_factory=cf_workspace_aadadmin, is_experimental=True) as g:
@ -274,7 +290,8 @@ def load_command_table(self, _):
from ..generated._client_factory import cf_workspace_managed_identity_sqlcontrol_setting
synapse_workspace_managed_identity_sqlcontrol_setting = CliCommandType(
operations_tmpl='azure.mgmt.synapse.operations#WorkspaceManagedIdentitySqlControlSettingsOperations.{}',
operations_tmpl='azure.mgmt.synapse.operations._workspace_managed_identity_sql_control_settings_operations#Work'
'spaceManagedIdentitySqlControlSettingsOperations.{}',
client_factory=cf_workspace_managed_identity_sqlcontrol_setting)
with self.command_group('synapse workspace-managed-identity-sql-control-setting',
synapse_workspace_managed_identity_sqlcontrol_setting,
@ -286,7 +303,8 @@ def load_command_table(self, _):
from ..generated._client_factory import cf_integration_runtime
synapse_integration_runtime = CliCommandType(
operations_tmpl='azure.mgmt.synapse.operations#IntegrationRuntimesOperations.{}',
operations_tmpl='azure.mgmt.synapse.operations._integration_runtimes_operations#IntegrationRuntimesOperations.{'
'}',
client_factory=cf_integration_runtime)
with self.command_group('synapse integration-runtime', synapse_integration_runtime,
client_factory=cf_integration_runtime, is_experimental=True) as g:
@ -302,7 +320,8 @@ def load_command_table(self, _):
from ..generated._client_factory import cf_integration_runtime_node_ip_address
synapse_integration_runtime_node_ip_address = CliCommandType(
operations_tmpl='azure.mgmt.synapse.operations#IntegrationRuntimeNodeIpAddressOperations.{}',
operations_tmpl='azure.mgmt.synapse.operations._integration_runtime_node_ip_address_operations#IntegrationRunti'
'meNodeIpAddressOperations.{}',
client_factory=cf_integration_runtime_node_ip_address)
with self.command_group('synapse integration-runtime-node-ip-address', synapse_integration_runtime_node_ip_address,
client_factory=cf_integration_runtime_node_ip_address, is_experimental=True) as g:
@ -310,7 +329,8 @@ def load_command_table(self, _):
from ..generated._client_factory import cf_integration_runtime_object_metadata
synapse_integration_runtime_object_metadata = CliCommandType(
operations_tmpl='azure.mgmt.synapse.operations#IntegrationRuntimeObjectMetadataOperations.{}',
operations_tmpl='azure.mgmt.synapse.operations._integration_runtime_object_metadata_operations#IntegrationRunti'
'meObjectMetadataOperations.{}',
client_factory=cf_integration_runtime_object_metadata)
with self.command_group('synapse integration-runtime-object-metadata', synapse_integration_runtime_object_metadata,
client_factory=cf_integration_runtime_object_metadata, is_experimental=True) as g:
@ -319,7 +339,8 @@ def load_command_table(self, _):
from ..generated._client_factory import cf_integration_runtime_node
synapse_integration_runtime_node = CliCommandType(
operations_tmpl='azure.mgmt.synapse.operations#IntegrationRuntimeNodesOperations.{}',
operations_tmpl='azure.mgmt.synapse.operations._integration_runtime_nodes_operations#IntegrationRuntimeNodesOpe'
'rations.{}',
client_factory=cf_integration_runtime_node)
with self.command_group('synapse integration-runtime-node', synapse_integration_runtime_node,
client_factory=cf_integration_runtime_node, is_experimental=True) as g:
@ -329,7 +350,8 @@ def load_command_table(self, _):
from ..generated._client_factory import cf_integration_runtime_credentials
synapse_integration_runtime_credentials = CliCommandType(
operations_tmpl='azure.mgmt.synapse.operations#IntegrationRuntimeCredentialsOperations.{}',
operations_tmpl='azure.mgmt.synapse.operations._integration_runtime_credentials_operations#IntegrationRuntimeCr'
'edentialsOperations.{}',
client_factory=cf_integration_runtime_credentials)
with self.command_group('synapse integration-runtime-credentials', synapse_integration_runtime_credentials,
client_factory=cf_integration_runtime_credentials, is_experimental=True) as g:
@ -337,7 +359,8 @@ def load_command_table(self, _):
from ..generated._client_factory import cf_integration_runtime_connection_info
synapse_integration_runtime_connection_info = CliCommandType(
operations_tmpl='azure.mgmt.synapse.operations#IntegrationRuntimeConnectionInfosOperations.{}',
operations_tmpl='azure.mgmt.synapse.operations._integration_runtime_connection_infos_operations#IntegrationRunt'
'imeConnectionInfosOperations.{}',
client_factory=cf_integration_runtime_connection_info)
with self.command_group('synapse integration-runtime-connection-info', synapse_integration_runtime_connection_info,
client_factory=cf_integration_runtime_connection_info, is_experimental=True) as g:
@ -345,7 +368,8 @@ def load_command_table(self, _):
from ..generated._client_factory import cf_integration_runtime_auth_key
synapse_integration_runtime_auth_key = CliCommandType(
operations_tmpl='azure.mgmt.synapse.operations#IntegrationRuntimeAuthKeysOperations.{}',
operations_tmpl='azure.mgmt.synapse.operations._integration_runtime_auth_keys_operations#IntegrationRuntimeAuth'
'KeysOperations.{}',
client_factory=cf_integration_runtime_auth_key)
with self.command_group('synapse integration-runtime-auth-key', synapse_integration_runtime_auth_key,
client_factory=cf_integration_runtime_auth_key, is_experimental=True) as g:
@ -354,7 +378,8 @@ def load_command_table(self, _):
from ..generated._client_factory import cf_integration_runtime_monitoring_data
synapse_integration_runtime_monitoring_data = CliCommandType(
operations_tmpl='azure.mgmt.synapse.operations#IntegrationRuntimeMonitoringDataOperations.{}',
operations_tmpl='azure.mgmt.synapse.operations._integration_runtime_monitoring_data_operations#IntegrationRunti'
'meMonitoringDataOperations.{}',
client_factory=cf_integration_runtime_monitoring_data)
with self.command_group('synapse integration-runtime-monitoring-data', synapse_integration_runtime_monitoring_data,
client_factory=cf_integration_runtime_monitoring_data, is_experimental=True) as g:
@ -362,7 +387,8 @@ def load_command_table(self, _):
from ..generated._client_factory import cf_integration_runtime_status
synapse_integration_runtime_status = CliCommandType(
operations_tmpl='azure.mgmt.synapse.operations#IntegrationRuntimeStatusOperations.{}',
operations_tmpl='azure.mgmt.synapse.operations._integration_runtime_status_operations#IntegrationRuntimeStatusO'
'perations.{}',
client_factory=cf_integration_runtime_status)
with self.command_group('synapse integration-runtime-status', synapse_integration_runtime_status,
client_factory=cf_integration_runtime_status, is_experimental=True) as g:
@ -370,7 +396,8 @@ def load_command_table(self, _):
from ..generated._client_factory import cf_private_link_resource
synapse_private_link_resource = CliCommandType(
operations_tmpl='azure.mgmt.synapse.operations#PrivateLinkResourcesOperations.{}',
operations_tmpl='azure.mgmt.synapse.operations._private_link_resources_operations#PrivateLinkResourcesOperation'
's.{}',
client_factory=cf_private_link_resource)
with self.command_group('synapse private-link-resource', synapse_private_link_resource,
client_factory=cf_private_link_resource, is_experimental=True) as g:
@ -379,7 +406,8 @@ def load_command_table(self, _):
from ..generated._client_factory import cf_private_endpoint_connection
synapse_private_endpoint_connection = CliCommandType(
operations_tmpl='azure.mgmt.synapse.operations#PrivateEndpointConnectionsOperations.{}',
operations_tmpl='azure.mgmt.synapse.operations._private_endpoint_connections_operations#PrivateEndpointConnecti'
'onsOperations.{}',
client_factory=cf_private_endpoint_connection)
with self.command_group('synapse private-endpoint-connection', synapse_private_endpoint_connection,
client_factory=cf_private_endpoint_connection, is_experimental=True) as g:
@ -392,7 +420,7 @@ def load_command_table(self, _):
from ..generated._client_factory import cf_private_link_hub
synapse_private_link_hub = CliCommandType(
operations_tmpl='azure.mgmt.synapse.operations#PrivateLinkHubsOperations.{}',
operations_tmpl='azure.mgmt.synapse.operations._private_link_hubs_operations#PrivateLinkHubsOperations.{}',
client_factory=cf_private_link_hub)
with self.command_group('synapse private-link-hub', synapse_private_link_hub, client_factory=cf_private_link_hub,
is_experimental=True) as g:

Просмотреть файл

@ -17,7 +17,7 @@ def load_command_table(self, _):
from ..generated._client_factory import cf_big_data_pool
synapse_big_data_pool = CliCommandType(
operations_tmpl='azure.mgmt.synapse.operations#BigDataPoolsOperations.{}',
operations_tmpl='azure.mgmt.synapse.operations._big_data_pools_operations#BigDataPoolsOperations.{}',
client_factory=cf_big_data_pool)
with self.command_group('synapse big-data-pool', synapse_big_data_pool, client_factory=cf_big_data_pool,
is_experimental=True) as g:
@ -30,7 +30,7 @@ def load_command_table(self, _):
from ..generated._client_factory import cf_operation
synapse_operation = CliCommandType(
operations_tmpl='azure.mgmt.synapse.operations#Operations.{}',
operations_tmpl='azure.mgmt.synapse.operations._operations_operations#Operations.{}',
client_factory=cf_operation)
with self.command_group('synapse operation', synapse_operation, client_factory=cf_operation,
is_experimental=True) as g:
@ -39,7 +39,7 @@ def load_command_table(self, _):
from ..generated._client_factory import cf_ip_firewall_rule
synapse_ip_firewall_rule = CliCommandType(
operations_tmpl='azure.mgmt.synapse.operations#IpFirewallRulesOperations.{}',
operations_tmpl='azure.mgmt.synapse.operations._ip_firewall_rules_operations#IpFirewallRulesOperations.{}',
client_factory=cf_ip_firewall_rule)
with self.command_group('synapse ip-firewall-rule', synapse_ip_firewall_rule, client_factory=cf_ip_firewall_rule,
is_experimental=True) as g:
@ -53,7 +53,7 @@ def load_command_table(self, _):
from ..generated._client_factory import cf_sqlpool
synapse_sqlpool = CliCommandType(
operations_tmpl='azure.mgmt.synapse.operations#SqlPoolsOperations.{}',
operations_tmpl='azure.mgmt.synapse.operations._sql_pools_operations#SqlPoolsOperations.{}',
client_factory=cf_sqlpool)
with self.command_group('synapse sql-pool', synapse_sqlpool, client_factory=cf_sqlpool,
is_experimental=True) as g:
@ -69,7 +69,8 @@ def load_command_table(self, _):
from ..generated._client_factory import cf_sqlpool_metadata_sync_config
synapse_sqlpool_metadata_sync_config = CliCommandType(
operations_tmpl='azure.mgmt.synapse.operations#SqlPoolMetadataSyncConfigsOperations.{}',
operations_tmpl='azure.mgmt.synapse.operations._sql_pool_metadata_sync_configs_operations#SqlPoolMetadataSyncCo'
'nfigsOperations.{}',
client_factory=cf_sqlpool_metadata_sync_config)
with self.command_group('synapse sql-pool-metadata-sync-config', synapse_sqlpool_metadata_sync_config,
client_factory=cf_sqlpool_metadata_sync_config, is_experimental=True) as g:
@ -78,7 +79,8 @@ def load_command_table(self, _):
from ..generated._client_factory import cf_sqlpool_operation_result
synapse_sqlpool_operation_result = CliCommandType(
operations_tmpl='azure.mgmt.synapse.operations#SqlPoolOperationResultsOperations.{}',
operations_tmpl='azure.mgmt.synapse.operations._sql_pool_operation_results_operations#SqlPoolOperationResultsOp'
'erations.{}',
client_factory=cf_sqlpool_operation_result)
with self.command_group('synapse sql-pool-operation-result', synapse_sqlpool_operation_result,
client_factory=cf_sqlpool_operation_result, is_experimental=True) as g:
@ -86,7 +88,8 @@ def load_command_table(self, _):
from ..generated._client_factory import cf_sqlpool_geo_backup_policy
synapse_sqlpool_geo_backup_policy = CliCommandType(
operations_tmpl='azure.mgmt.synapse.operations#SqlPoolGeoBackupPoliciesOperations.{}',
operations_tmpl='azure.mgmt.synapse.operations._sql_pool_geo_backup_policies_operations#SqlPoolGeoBackupPolicie'
'sOperations.{}',
client_factory=cf_sqlpool_geo_backup_policy)
with self.command_group('synapse sql-pool-geo-backup-policy', synapse_sqlpool_geo_backup_policy,
client_factory=cf_sqlpool_geo_backup_policy, is_experimental=True) as g:
@ -94,7 +97,8 @@ def load_command_table(self, _):
from ..generated._client_factory import cf_sqlpool_data_warehouse_user_activity
synapse_sqlpool_data_warehouse_user_activity = CliCommandType(
operations_tmpl='azure.mgmt.synapse.operations#SqlPoolDataWarehouseUserActivitiesOperations.{}',
operations_tmpl='azure.mgmt.synapse.operations._sql_pool_data_warehouse_user_activities_operations#SqlPoolDataW'
'arehouseUserActivitiesOperations.{}',
client_factory=cf_sqlpool_data_warehouse_user_activity)
with self.command_group('synapse sql-pool-data-warehouse-user-activity',
synapse_sqlpool_data_warehouse_user_activity,
@ -103,7 +107,8 @@ def load_command_table(self, _):
from ..generated._client_factory import cf_sqlpool_restore_point
synapse_sqlpool_restore_point = CliCommandType(
operations_tmpl='azure.mgmt.synapse.operations#SqlPoolRestorePointsOperations.{}',
operations_tmpl='azure.mgmt.synapse.operations._sql_pool_restore_points_operations#SqlPoolRestorePointsOperatio'
'ns.{}',
client_factory=cf_sqlpool_restore_point)
with self.command_group('synapse sql-pool-restore-point', synapse_sqlpool_restore_point,
client_factory=cf_sqlpool_restore_point, is_experimental=True) as g:
@ -112,7 +117,8 @@ def load_command_table(self, _):
from ..generated._client_factory import cf_sqlpool_replication_link
synapse_sqlpool_replication_link = CliCommandType(
operations_tmpl='azure.mgmt.synapse.operations#SqlPoolReplicationLinksOperations.{}',
operations_tmpl='azure.mgmt.synapse.operations._sql_pool_replication_links_operations#SqlPoolReplicationLinksOp'
'erations.{}',
client_factory=cf_sqlpool_replication_link)
with self.command_group('synapse sql-pool-replication-link', synapse_sqlpool_replication_link,
client_factory=cf_sqlpool_replication_link, is_experimental=True) as g:
@ -120,7 +126,8 @@ def load_command_table(self, _):
from ..generated._client_factory import cf_sqlpool_transparent_data_encryption
synapse_sqlpool_transparent_data_encryption = CliCommandType(
operations_tmpl='azure.mgmt.synapse.operations#SqlPoolTransparentDataEncryptionsOperations.{}',
operations_tmpl='azure.mgmt.synapse.operations._sql_pool_transparent_data_encryptions_operations#SqlPoolTranspa'
'rentDataEncryptionsOperations.{}',
client_factory=cf_sqlpool_transparent_data_encryption)
with self.command_group('synapse sql-pool-transparent-data-encryption',
synapse_sqlpool_transparent_data_encryption,
@ -131,7 +138,8 @@ def load_command_table(self, _):
from ..generated._client_factory import cf_sqlpool_blob_auditing_policy
synapse_sqlpool_blob_auditing_policy = CliCommandType(
operations_tmpl='azure.mgmt.synapse.operations#SqlPoolBlobAuditingPoliciesOperations.{}',
operations_tmpl='azure.mgmt.synapse.operations._sql_pool_blob_auditing_policies_operations#SqlPoolBlobAuditingP'
'oliciesOperations.{}',
client_factory=cf_sqlpool_blob_auditing_policy)
with self.command_group('synapse sql-pool-blob-auditing-policy', synapse_sqlpool_blob_auditing_policy,
client_factory=cf_sqlpool_blob_auditing_policy, is_experimental=True) as g:
@ -141,7 +149,7 @@ def load_command_table(self, _):
from ..generated._client_factory import cf_sqlpool_operation
synapse_sqlpool_operation = CliCommandType(
operations_tmpl='azure.mgmt.synapse.operations#SqlPoolOperationsOperations.{}',
operations_tmpl='azure.mgmt.synapse.operations._sql_pool_operations_operations#SqlPoolOperationsOperations.{}',
client_factory=cf_sqlpool_operation)
with self.command_group('synapse sql-pool-operation', synapse_sqlpool_operation,
client_factory=cf_sqlpool_operation, is_experimental=True) as g:
@ -149,7 +157,7 @@ def load_command_table(self, _):
from ..generated._client_factory import cf_sqlpool_usage
synapse_sqlpool_usage = CliCommandType(
operations_tmpl='azure.mgmt.synapse.operations#SqlPoolUsagesOperations.{}',
operations_tmpl='azure.mgmt.synapse.operations._sql_pool_usages_operations#SqlPoolUsagesOperations.{}',
client_factory=cf_sqlpool_usage)
with self.command_group('synapse sql-pool-usage', synapse_sqlpool_usage, client_factory=cf_sqlpool_usage,
is_experimental=True) as g:
@ -157,7 +165,8 @@ def load_command_table(self, _):
from ..generated._client_factory import cf_sqlpool_sensitivity_label
synapse_sqlpool_sensitivity_label = CliCommandType(
operations_tmpl='azure.mgmt.synapse.operations#SqlPoolSensitivityLabelsOperations.{}',
operations_tmpl='azure.mgmt.synapse.operations._sql_pool_sensitivity_labels_operations#SqlPoolSensitivityLabels'
'Operations.{}',
client_factory=cf_sqlpool_sensitivity_label)
with self.command_group('synapse sql-pool-sensitivity-label', synapse_sqlpool_sensitivity_label,
client_factory=cf_sqlpool_sensitivity_label, is_experimental=True) as g:
@ -171,7 +180,7 @@ def load_command_table(self, _):
from ..generated._client_factory import cf_sqlpool_schema
synapse_sqlpool_schema = CliCommandType(
operations_tmpl='azure.mgmt.synapse.operations#SqlPoolSchemasOperations.{}',
operations_tmpl='azure.mgmt.synapse.operations._sql_pool_schemas_operations#SqlPoolSchemasOperations.{}',
client_factory=cf_sqlpool_schema)
with self.command_group('synapse sql-pool-schema', synapse_sqlpool_schema, client_factory=cf_sqlpool_schema,
is_experimental=True) as g:
@ -179,7 +188,7 @@ def load_command_table(self, _):
from ..generated._client_factory import cf_sqlpool_table
synapse_sqlpool_table = CliCommandType(
operations_tmpl='azure.mgmt.synapse.operations#SqlPoolTablesOperations.{}',
operations_tmpl='azure.mgmt.synapse.operations._sql_pool_tables_operations#SqlPoolTablesOperations.{}',
client_factory=cf_sqlpool_table)
with self.command_group('synapse sql-pool-table', synapse_sqlpool_table, client_factory=cf_sqlpool_table,
is_experimental=True) as g:
@ -187,7 +196,8 @@ def load_command_table(self, _):
from ..generated._client_factory import cf_sqlpool_table_column
synapse_sqlpool_table_column = CliCommandType(
operations_tmpl='azure.mgmt.synapse.operations#SqlPoolTableColumnsOperations.{}',
operations_tmpl='azure.mgmt.synapse.operations._sql_pool_table_columns_operations#SqlPoolTableColumnsOperations'
'.{}',
client_factory=cf_sqlpool_table_column)
with self.command_group('synapse sql-pool-table-column', synapse_sqlpool_table_column,
client_factory=cf_sqlpool_table_column, is_experimental=True) as g:
@ -195,7 +205,8 @@ def load_command_table(self, _):
from ..generated._client_factory import cf_sqlpool_connection_policy
synapse_sqlpool_connection_policy = CliCommandType(
operations_tmpl='azure.mgmt.synapse.operations#SqlPoolConnectionPoliciesOperations.{}',
operations_tmpl='azure.mgmt.synapse.operations._sql_pool_connection_policies_operations#SqlPoolConnectionPolici'
'esOperations.{}',
client_factory=cf_sqlpool_connection_policy)
with self.command_group('synapse sql-pool-connection-policy', synapse_sqlpool_connection_policy,
client_factory=cf_sqlpool_connection_policy, is_experimental=True) as g:
@ -203,7 +214,8 @@ def load_command_table(self, _):
from ..generated._client_factory import cf_sqlpool_vulnerability_assessment
synapse_sqlpool_vulnerability_assessment = CliCommandType(
operations_tmpl='azure.mgmt.synapse.operations#SqlPoolVulnerabilityAssessmentsOperations.{}',
operations_tmpl='azure.mgmt.synapse.operations._sql_pool_vulnerability_assessments_operations#SqlPoolVulnerabil'
'ityAssessmentsOperations.{}',
client_factory=cf_sqlpool_vulnerability_assessment)
with self.command_group('synapse sql-pool-vulnerability-assessment', synapse_sqlpool_vulnerability_assessment,
client_factory=cf_sqlpool_vulnerability_assessment, is_experimental=True) as g:
@ -215,7 +227,8 @@ def load_command_table(self, _):
from ..generated._client_factory import cf_sqlpool_vulnerability_assessment_scan
synapse_sqlpool_vulnerability_assessment_scan = CliCommandType(
operations_tmpl='azure.mgmt.synapse.operations#SqlPoolVulnerabilityAssessmentScansOperations.{}',
operations_tmpl='azure.mgmt.synapse.operations._sql_pool_vulnerability_assessment_scans_operations#SqlPoolVulne'
'rabilityAssessmentScansOperations.{}',
client_factory=cf_sqlpool_vulnerability_assessment_scan)
with self.command_group('synapse sql-pool-vulnerability-assessment-scan',
synapse_sqlpool_vulnerability_assessment_scan,
@ -226,7 +239,8 @@ def load_command_table(self, _):
from ..generated._client_factory import cf_sqlpool_security_alert_policy
synapse_sqlpool_security_alert_policy = CliCommandType(
operations_tmpl='azure.mgmt.synapse.operations#SqlPoolSecurityAlertPoliciesOperations.{}',
operations_tmpl='azure.mgmt.synapse.operations._sql_pool_security_alert_policies_operations#SqlPoolSecurityAler'
'tPoliciesOperations.{}',
client_factory=cf_sqlpool_security_alert_policy)
with self.command_group('synapse sql-pool-security-alert-policy', synapse_sqlpool_security_alert_policy,
client_factory=cf_sqlpool_security_alert_policy, is_experimental=True) as g:
@ -236,7 +250,8 @@ def load_command_table(self, _):
from ..generated._client_factory import cf_sqlpool_vulnerability_assessment_rule_baseline
synapse_sqlpool_vulnerability_assessment_rule_baseline = CliCommandType(
operations_tmpl='azure.mgmt.synapse.operations#SqlPoolVulnerabilityAssessmentRuleBaselinesOperations.{}',
operations_tmpl='azure.mgmt.synapse.operations._sql_pool_vulnerability_assessment_rule_baselines_operations#Sql'
'PoolVulnerabilityAssessmentRuleBaselinesOperations.{}',
client_factory=cf_sqlpool_vulnerability_assessment_rule_baseline)
with self.command_group('synapse sql-pool-vulnerability-assessment-rule-baseline',
synapse_sqlpool_vulnerability_assessment_rule_baseline,
@ -249,7 +264,7 @@ def load_command_table(self, _):
from ..generated._client_factory import cf_workspace
synapse_workspace = CliCommandType(
operations_tmpl='azure.mgmt.synapse.operations#WorkspacesOperations.{}',
operations_tmpl='azure.mgmt.synapse.operations._workspaces_operations#WorkspacesOperations.{}',
client_factory=cf_workspace)
with self.command_group('synapse workspace', synapse_workspace, client_factory=cf_workspace,
is_experimental=True) as g:
@ -262,7 +277,8 @@ def load_command_table(self, _):
from ..generated._client_factory import cf_workspace_aadadmin
synapse_workspace_aadadmin = CliCommandType(
operations_tmpl='azure.mgmt.synapse.operations#WorkspaceAadAdminsOperations.{}',
operations_tmpl='azure.mgmt.synapse.operations._workspace_aad_admins_operations#WorkspaceAadAdminsOperations.{}'
'',
client_factory=cf_workspace_aadadmin)
with self.command_group('synapse workspace-aad-admin', synapse_workspace_aadadmin,
client_factory=cf_workspace_aadadmin, is_experimental=True) as g:
@ -274,7 +290,8 @@ def load_command_table(self, _):
from ..generated._client_factory import cf_workspace_managed_identity_sqlcontrol_setting
synapse_workspace_managed_identity_sqlcontrol_setting = CliCommandType(
operations_tmpl='azure.mgmt.synapse.operations#WorkspaceManagedIdentitySqlControlSettingsOperations.{}',
operations_tmpl='azure.mgmt.synapse.operations._workspace_managed_identity_sql_control_settings_operations#Work'
'spaceManagedIdentitySqlControlSettingsOperations.{}',
client_factory=cf_workspace_managed_identity_sqlcontrol_setting)
with self.command_group('synapse workspace-managed-identity-sql-control-setting',
synapse_workspace_managed_identity_sqlcontrol_setting,
@ -286,7 +303,8 @@ def load_command_table(self, _):
from ..generated._client_factory import cf_integration_runtime
synapse_integration_runtime = CliCommandType(
operations_tmpl='azure.mgmt.synapse.operations#IntegrationRuntimesOperations.{}',
operations_tmpl='azure.mgmt.synapse.operations._integration_runtimes_operations#IntegrationRuntimesOperations.{'
'}',
client_factory=cf_integration_runtime)
with self.command_group('synapse integration-runtime', synapse_integration_runtime,
client_factory=cf_integration_runtime, is_experimental=True) as g:
@ -302,7 +320,8 @@ def load_command_table(self, _):
from ..generated._client_factory import cf_integration_runtime_node_ip_address
synapse_integration_runtime_node_ip_address = CliCommandType(
operations_tmpl='azure.mgmt.synapse.operations#IntegrationRuntimeNodeIpAddressOperations.{}',
operations_tmpl='azure.mgmt.synapse.operations._integration_runtime_node_ip_address_operations#IntegrationRunti'
'meNodeIpAddressOperations.{}',
client_factory=cf_integration_runtime_node_ip_address)
with self.command_group('synapse integration-runtime-node-ip-address', synapse_integration_runtime_node_ip_address,
client_factory=cf_integration_runtime_node_ip_address, is_experimental=True) as g:
@ -310,7 +329,8 @@ def load_command_table(self, _):
from ..generated._client_factory import cf_integration_runtime_object_metadata
synapse_integration_runtime_object_metadata = CliCommandType(
operations_tmpl='azure.mgmt.synapse.operations#IntegrationRuntimeObjectMetadataOperations.{}',
operations_tmpl='azure.mgmt.synapse.operations._integration_runtime_object_metadata_operations#IntegrationRunti'
'meObjectMetadataOperations.{}',
client_factory=cf_integration_runtime_object_metadata)
with self.command_group('synapse integration-runtime-object-metadata', synapse_integration_runtime_object_metadata,
client_factory=cf_integration_runtime_object_metadata, is_experimental=True) as g:
@ -319,7 +339,8 @@ def load_command_table(self, _):
from ..generated._client_factory import cf_integration_runtime_node
synapse_integration_runtime_node = CliCommandType(
operations_tmpl='azure.mgmt.synapse.operations#IntegrationRuntimeNodesOperations.{}',
operations_tmpl='azure.mgmt.synapse.operations._integration_runtime_nodes_operations#IntegrationRuntimeNodesOpe'
'rations.{}',
client_factory=cf_integration_runtime_node)
with self.command_group('synapse integration-runtime-node', synapse_integration_runtime_node,
client_factory=cf_integration_runtime_node, is_experimental=True) as g:
@ -329,7 +350,8 @@ def load_command_table(self, _):
from ..generated._client_factory import cf_integration_runtime_credentials
synapse_integration_runtime_credentials = CliCommandType(
operations_tmpl='azure.mgmt.synapse.operations#IntegrationRuntimeCredentialsOperations.{}',
operations_tmpl='azure.mgmt.synapse.operations._integration_runtime_credentials_operations#IntegrationRuntimeCr'
'edentialsOperations.{}',
client_factory=cf_integration_runtime_credentials)
with self.command_group('synapse integration-runtime-credentials', synapse_integration_runtime_credentials,
client_factory=cf_integration_runtime_credentials, is_experimental=True) as g:
@ -337,7 +359,8 @@ def load_command_table(self, _):
from ..generated._client_factory import cf_integration_runtime_connection_info
synapse_integration_runtime_connection_info = CliCommandType(
operations_tmpl='azure.mgmt.synapse.operations#IntegrationRuntimeConnectionInfosOperations.{}',
operations_tmpl='azure.mgmt.synapse.operations._integration_runtime_connection_infos_operations#IntegrationRunt'
'imeConnectionInfosOperations.{}',
client_factory=cf_integration_runtime_connection_info)
with self.command_group('synapse integration-runtime-connection-info', synapse_integration_runtime_connection_info,
client_factory=cf_integration_runtime_connection_info, is_experimental=True) as g:
@ -345,7 +368,8 @@ def load_command_table(self, _):
from ..generated._client_factory import cf_integration_runtime_auth_key
synapse_integration_runtime_auth_key = CliCommandType(
operations_tmpl='azure.mgmt.synapse.operations#IntegrationRuntimeAuthKeysOperations.{}',
operations_tmpl='azure.mgmt.synapse.operations._integration_runtime_auth_keys_operations#IntegrationRuntimeAuth'
'KeysOperations.{}',
client_factory=cf_integration_runtime_auth_key)
with self.command_group('synapse integration-runtime-auth-key', synapse_integration_runtime_auth_key,
client_factory=cf_integration_runtime_auth_key, is_experimental=True) as g:
@ -354,7 +378,8 @@ def load_command_table(self, _):
from ..generated._client_factory import cf_integration_runtime_monitoring_data
synapse_integration_runtime_monitoring_data = CliCommandType(
operations_tmpl='azure.mgmt.synapse.operations#IntegrationRuntimeMonitoringDataOperations.{}',
operations_tmpl='azure.mgmt.synapse.operations._integration_runtime_monitoring_data_operations#IntegrationRunti'
'meMonitoringDataOperations.{}',
client_factory=cf_integration_runtime_monitoring_data)
with self.command_group('synapse integration-runtime-monitoring-data', synapse_integration_runtime_monitoring_data,
client_factory=cf_integration_runtime_monitoring_data, is_experimental=True) as g:
@ -362,7 +387,8 @@ def load_command_table(self, _):
from ..generated._client_factory import cf_integration_runtime_status
synapse_integration_runtime_status = CliCommandType(
operations_tmpl='azure.mgmt.synapse.operations#IntegrationRuntimeStatusOperations.{}',
operations_tmpl='azure.mgmt.synapse.operations._integration_runtime_status_operations#IntegrationRuntimeStatusO'
'perations.{}',
client_factory=cf_integration_runtime_status)
with self.command_group('synapse integration-runtime-status', synapse_integration_runtime_status,
client_factory=cf_integration_runtime_status, is_experimental=True) as g:
@ -370,7 +396,8 @@ def load_command_table(self, _):
from ..generated._client_factory import cf_private_link_resource
synapse_private_link_resource = CliCommandType(
operations_tmpl='azure.mgmt.synapse.operations#PrivateLinkResourcesOperations.{}',
operations_tmpl='azure.mgmt.synapse.operations._private_link_resources_operations#PrivateLinkResourcesOperation'
's.{}',
client_factory=cf_private_link_resource)
with self.command_group('synapse private-link-resource', synapse_private_link_resource,
client_factory=cf_private_link_resource, is_experimental=True) as g:
@ -379,7 +406,8 @@ def load_command_table(self, _):
from ..generated._client_factory import cf_private_endpoint_connection
synapse_private_endpoint_connection = CliCommandType(
operations_tmpl='azure.mgmt.synapse.operations#PrivateEndpointConnectionsOperations.{}',
operations_tmpl='azure.mgmt.synapse.operations._private_endpoint_connections_operations#PrivateEndpointConnecti'
'onsOperations.{}',
client_factory=cf_private_endpoint_connection)
with self.command_group('synapse private-endpoint-connection', synapse_private_endpoint_connection,
client_factory=cf_private_endpoint_connection, is_experimental=True) as g:
@ -392,7 +420,7 @@ def load_command_table(self, _):
from ..generated._client_factory import cf_private_link_hub
synapse_private_link_hub = CliCommandType(
operations_tmpl='azure.mgmt.synapse.operations#PrivateLinkHubsOperations.{}',
operations_tmpl='azure.mgmt.synapse.operations._private_link_hubs_operations#PrivateLinkHubsOperations.{}',
client_factory=cf_private_link_hub)
with self.command_group('synapse private-link-hub', synapse_private_link_hub, client_factory=cf_private_link_hub,
is_experimental=True) as g: