Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[AutoPR databoxedge] Update all readme.azureresourceschema.md #193

Closed
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions src/databoxedge/HISTORY.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
.. :changelog:

Release History
===============

0.1.0
++++++
* Initial release.
5 changes: 5 additions & 0 deletions src/databoxedge/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
Microsoft Azure CLI 'databoxedge' Extension
==========================================

This package is for the 'databoxedge' extension.
i.e. 'az databoxedge'
46 changes: 46 additions & 0 deletions src/databoxedge/azext_databoxedge/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
# --------------------------------------------------------------------------
# Copyright (c) Microsoft Corporation. All rights reserved.
# Licensed under the MIT License. See License.txt in the project root for
# license information.
#
# Code generated by Microsoft (R) AutoRest Code Generator.
# Changes may cause incorrect behavior and will be lost if the code is
# regenerated.
# --------------------------------------------------------------------------

from azure.cli.core import AzCommandsLoader
from azext_databoxedge.generated._help import helps # pylint: disable=unused-import


class DataBoxEdgeManagementClientCommandsLoader(AzCommandsLoader):

def __init__(self, cli_ctx=None):
from azure.cli.core.commands import CliCommandType
from azext_databoxedge.generated._client_factory import cf_databoxedge
databoxedge_custom = CliCommandType(
operations_tmpl='azext_databoxedge.custom#{}',
client_factory=cf_databoxedge)
parent = super(DataBoxEdgeManagementClientCommandsLoader, self)
parent.__init__(cli_ctx=cli_ctx, custom_command_type=databoxedge_custom)

def load_command_table(self, args):
from azext_databoxedge.generated.commands import load_command_table
load_command_table(self, args)
try:
from azext_databoxedge.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_databoxedge.generated._params import load_arguments
load_arguments(self, command)
try:
from azext_databoxedge.manual._params import load_arguments as load_arguments_manual
load_arguments_manual(self, command)
except ImportError:
pass


COMMAND_LOADER_CLS = DataBoxEdgeManagementClientCommandsLoader
17 changes: 17 additions & 0 deletions src/databoxedge/azext_databoxedge/action.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
# --------------------------------------------------------------------------
# Copyright (c) Microsoft Corporation. All rights reserved.
# Licensed under the MIT License. See License.txt in the project root for
# license information.
#
# Code generated by Microsoft (R) AutoRest Code Generator.
# Changes may cause incorrect behavior and will be lost if the code is
# regenerated.
# --------------------------------------------------------------------------
# pylint: disable=wildcard-import
# pylint: disable=unused-wildcard-import

from .generated.action import * # noqa: F403
try:
from .manual.action import * # noqa: F403
except ImportError:
pass
4 changes: 4 additions & 0 deletions src/databoxedge/azext_databoxedge/azext_metadata.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"azext.isExperimental": true,
"azext.minCliCoreVersion": "2.3.1"
}
17 changes: 17 additions & 0 deletions src/databoxedge/azext_databoxedge/custom.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
# --------------------------------------------------------------------------
# Copyright (c) Microsoft Corporation. All rights reserved.
# Licensed under the MIT License. See License.txt in the project root for
# license information.
#
# Code generated by Microsoft (R) AutoRest Code Generator.
# Changes may cause incorrect behavior and will be lost if the code is
# regenerated.
# --------------------------------------------------------------------------
# pylint: disable=wildcard-import
# pylint: disable=unused-wildcard-import

from .generated.custom import * # noqa: F403
try:
from .manual.custom import * # noqa: F403
except ImportError:
pass
12 changes: 12 additions & 0 deletions src/databoxedge/azext_databoxedge/generated/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
# coding=utf-8
# --------------------------------------------------------------------------
# Copyright (c) Microsoft Corporation. All rights reserved.
# Licensed under the MIT License. See License.txt in the project root for
# license information.
#
# Code generated by Microsoft (R) AutoRest Code Generator.
# Changes may cause incorrect behavior and will be lost if the code is
# regenerated.
# --------------------------------------------------------------------------

__path__ = __import__('pkgutil').extend_path(__path__, __name__)
75 changes: 75 additions & 0 deletions src/databoxedge/azext_databoxedge/generated/_client_factory.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,75 @@
# --------------------------------------------------------------------------
# Copyright (c) Microsoft Corporation. All rights reserved.
# Licensed under the MIT License. See License.txt in the project root for
# license information.
#
# Code generated by Microsoft (R) AutoRest Code Generator.
# Changes may cause incorrect behavior and will be lost if the code is
# regenerated.
# --------------------------------------------------------------------------


def cf_databoxedge(cli_ctx, *_):
from azure.cli.core.commands.client_factory import get_mgmt_service_client
from ..vendored_sdks.databoxedge import DataBoxEdgeManagementClient
return get_mgmt_service_client(cli_ctx, DataBoxEdgeManagementClient)


def cf_device(cli_ctx, *_):
return cf_databoxedge(cli_ctx).device


def cf_alert(cli_ctx, *_):
return cf_databoxedge(cli_ctx).alert


def cf_bandwidth_schedule(cli_ctx, *_):
return cf_databoxedge(cli_ctx).bandwidth_schedule


def cf_job(cli_ctx, *_):
return cf_databoxedge(cli_ctx).job


def cf_node(cli_ctx, *_):
return cf_databoxedge(cli_ctx).node


def cf_operation_status(cli_ctx, *_):
return cf_databoxedge(cli_ctx).operation_status


def cf_order(cli_ctx, *_):
return cf_databoxedge(cli_ctx).order


def cf_role(cli_ctx, *_):
return cf_databoxedge(cli_ctx).role


def cf_share(cli_ctx, *_):
return cf_databoxedge(cli_ctx).share


def cf_storage_account_credentials(cli_ctx, *_):
return cf_databoxedge(cli_ctx).storage_account_credentials


def cf_storage_account(cli_ctx, *_):
return cf_databoxedge(cli_ctx).storage_account


def cf_container(cli_ctx, *_):
return cf_databoxedge(cli_ctx).container


def cf_trigger(cli_ctx, *_):
return cf_databoxedge(cli_ctx).trigger


def cf_user(cli_ctx, *_):
return cf_databoxedge(cli_ctx).user


def cf_sku(cli_ctx, *_):
return cf_databoxedge(cli_ctx).sku
Loading