Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
22 commits
Select commit Hold shift + click to select a range
21a78af
Commands for the managedccf command group
settiy-ms Mar 3, 2023
039f19f
Updated the help for the commands in the managedccfs command group
settiy-ms Mar 3, 2023
ac28888
Updated the help for the managedccfs commands
settiy-ms Mar 3, 2023
8c72955
Added custom code logic to supply default value to the deployment par…
settiy-ms Mar 3, 2023
4299fa7
Added managedccfs commands for the 2023-01-26-preview version
settiy-ms Mar 5, 2023
d3dfaee
Added the group parameter to the members
settiy-ms Mar 6, 2023
9682ff0
Merge branch 'Azure:main' into feature-managedccf
msftsettiy Mar 7, 2023
08c86da
Added tests for the managedccfs commands
settiy-ms Mar 9, 2023
95b0807
Merge branch 'feature-managedccf' of https://github.com/msftsettiy/az…
settiy-ms Mar 9, 2023
27d4c9f
Added tests
settiy-ms Mar 9, 2023
5683218
Test cases
settiy-ms Mar 14, 2023
f68563a
Fixed the test cases
settiy-ms Mar 14, 2023
98a7a6c
Fixed tests
settiy-ms Mar 14, 2023
296d169
Added missing test coverage for the managedccfs update command
settiy-ms Mar 14, 2023
93a089c
Added a test case to ensure creation without group info
settiy-ms Mar 14, 2023
96f1510
Removed subscription id from the tests as it is not needed
settiy-ms Mar 17, 2023
1f77d56
Added the language-runtime parameter
settiy-ms Mar 19, 2023
0db1ad5
Fixed the review comments
settiy-ms Mar 20, 2023
744f26b
Fixed merge conflicts
settiy-ms Mar 20, 2023
72ff32c
Merge branch 'main' into feature-managedccf
msftsettiy Mar 20, 2023
f20f0ad
Reduced the length of an argument name as it exceeded the allowed length
settiy-ms Mar 20, 2023
8196894
Merge branch 'feature-managedccf' of https://github.com/msftsettiy/az…
settiy-ms Mar 20, 2023
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
4 changes: 3 additions & 1 deletion .github/CODEOWNERS
Original file line number Diff line number Diff line change
Expand Up @@ -282,4 +282,6 @@

/src/storage-mover/ @calvinhzy

/src/traffic-controller/ @jaishals
/src/traffic-controller/ @jaishals

/src/managedccfs/ @msftsettiy
3 changes: 3 additions & 0 deletions linter_exclusions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -322,6 +322,9 @@ codespace plan create:
default_sku_name:
rule_exclusions:
- option_length_too_long
confidentialledger managedccfs update:
rule_exclusions:
- missing_command_test_coverage
containerapp env create:
parameters:
infrastructure_subnet_resource_id:
Expand Down
8 changes: 8 additions & 0 deletions src/managedccfs/HISTORY.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
.. :changelog:

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

0.1.0
++++++
* Initial release.
13 changes: 13 additions & 0 deletions src/managedccfs/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
# Azure CLI Managedccfs Extension #
This is an extension to Azure CLI to manage Managedccfs resources.

## How to use ##
Install this extension using the below CLI command
```
az extension add --name managedccfs
```

Then, call it as you would any other az command:
```
az confidentialledger managedccfs -h
```
43 changes: 43 additions & 0 deletions src/managedccfs/azext_managedccfs/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
# --------------------------------------------------------------------------------------------
# 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 aaz-dev-tools
# --------------------------------------------------------------------------------------------

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


class ManagedccfsCommandsLoader(AzCommandsLoader):

def __init__(self, cli_ctx=None):
from azure.cli.core.commands import CliCommandType
custom_command_type = CliCommandType(
operations_tmpl='azext_managedccfs.custom#{}')
super().__init__(cli_ctx=cli_ctx,
custom_command_type=custom_command_type)

def load_command_table(self, args):
from azext_managedccfs.commands import load_command_table
from azure.cli.core.aaz import load_aaz_command_table
try:
from . import aaz
except ImportError:
aaz = None
if aaz:
load_aaz_command_table(
loader=self,
aaz_pkg_name=aaz.__name__,
args=args
)

load_command_table(self, args)
return self.command_table

def load_arguments(self, command):
from azext_managedccfs._params import load_arguments
load_arguments(self, command)


COMMAND_LOADER_CLS = ManagedccfsCommandsLoader
11 changes: 11 additions & 0 deletions src/managedccfs/azext_managedccfs/_help.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# --------------------------------------------------------------------------------------------
# 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 aaz-dev-tools
# --------------------------------------------------------------------------------------------

# pylint: disable=line-too-long
# pylint: disable=too-many-lines

from knack.help_files import helps # pylint: disable=unused-import
13 changes: 13 additions & 0 deletions src/managedccfs/azext_managedccfs/_params.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
# --------------------------------------------------------------------------------------------
# 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 aaz-dev-tools
# --------------------------------------------------------------------------------------------

# pylint: disable=too-many-lines
# pylint: disable=too-many-statements


def load_arguments(self, _): # pylint: disable=unused-argument
pass
6 changes: 6 additions & 0 deletions src/managedccfs/azext_managedccfs/aaz/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
# --------------------------------------------------------------------------------------------
# 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 aaz-dev-tools
# --------------------------------------------------------------------------------------------
6 changes: 6 additions & 0 deletions src/managedccfs/azext_managedccfs/aaz/latest/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
# --------------------------------------------------------------------------------------------
# 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 aaz-dev-tools
# --------------------------------------------------------------------------------------------
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
# --------------------------------------------------------------------------------------------
# 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 aaz-dev-tools
# --------------------------------------------------------------------------------------------

# pylint: skip-file
# flake8: noqa

from azure.cli.core.aaz import *


@register_command_group(
"confidentialledger",
is_preview=True,
)
class __CMDGroup(AAZCommandGroup):
"""Deploy and manage Azure confidential ledgers.
"""
pass


__all__ = ["__CMDGroup"]
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# --------------------------------------------------------------------------------------------
# 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 aaz-dev-tools
# --------------------------------------------------------------------------------------------

# pylint: skip-file
# flake8: noqa

from .__cmd_group import *
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
# --------------------------------------------------------------------------------------------
# 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 aaz-dev-tools
# --------------------------------------------------------------------------------------------

# pylint: skip-file
# flake8: noqa

from azure.cli.core.aaz import *


@register_command_group(
"confidentialledger managedccfs",
is_preview=True,
)
class __CMDGroup(AAZCommandGroup):
"""Deploy and manage the Azure Managed CCF instances
"""
pass


__all__ = ["__CMDGroup"]
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 aaz-dev-tools
# --------------------------------------------------------------------------------------------

# pylint: skip-file
# flake8: noqa

from .__cmd_group import *
from ._create import *
from ._delete import *
from ._list import *
from ._show import *
from ._update import *
from ._wait import *
Loading