Skip to content
Merged
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
2 changes: 2 additions & 0 deletions .github/CODEOWNERS
Original file line number Diff line number Diff line change
Expand Up @@ -331,3 +331,5 @@
/src/vme/ @caoyihua

/src/carbon/ @itiinani

/src/amlfs/ @Aman-Jain-14 @amajai @mawhite @brpanask @tibanyas
7 changes: 6 additions & 1 deletion src/amlfs/HISTORY.rst
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,11 @@
Release History
===============

1.1.0
+++++
Added: az amlfs import create/update/list/show/delete commands for importing data from Blob Storage to AMLFS
Added: az amlfs auto-export create/update/list/show/delete commands for automatically exporting data from AMLFS to Blob Storage

1.0.0
++++++
* Initial release.
* Initial release.
4 changes: 4 additions & 0 deletions src/amlfs/azext_amlfs/aaz/latest/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,7 @@
#
# Code generated by aaz-dev-tools
# --------------------------------------------------------------------------------------------

# pylint: skip-file
# flake8: noqa

2 changes: 1 addition & 1 deletion src/amlfs/azext_amlfs/aaz/latest/amlfs/__cmd_group.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"amlfs",
)
class __CMDGroup(AAZCommandGroup):
"""Manage lustre file system
"""This is an extension to Azure CLI to manage Amlfs resources.
"""
pass

Expand Down
4 changes: 2 additions & 2 deletions src/amlfs/azext_amlfs/aaz/latest/amlfs/_create.py
Original file line number Diff line number Diff line change
Expand Up @@ -310,7 +310,7 @@ def content(self):
typ=AAZObjectType,
typ_kwargs={"flags": {"required": True, "client_flatten": True}}
)
_builder.set_prop("identity", AAZObjectType, ".identity")
_builder.set_prop("identity", AAZIdentityObjectType, ".identity")
_builder.set_prop("location", AAZStrType, ".location", typ_kwargs={"flags": {"required": True}})
_builder.set_prop("properties", AAZObjectType, typ_kwargs={"flags": {"client_flatten": True}})
_builder.set_prop("sku", AAZObjectType)
Expand Down Expand Up @@ -397,7 +397,7 @@ def _build_schema_on_200_201(cls):
_schema_on_200_201.id = AAZStrType(
flags={"read_only": True},
)
_schema_on_200_201.identity = AAZObjectType()
_schema_on_200_201.identity = AAZIdentityObjectType()
_schema_on_200_201.location = AAZStrType(
flags={"required": True},
)
Expand Down
6 changes: 4 additions & 2 deletions src/amlfs/azext_amlfs/aaz/latest/amlfs/_list.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,8 @@ class List(AAZCommand):
]
}

AZ_SUPPORT_PAGINATION = True

def _handler(self, command_args):
super()._handler(command_args)
return self.build_paging(self._execute_operations, self._output)
Expand Down Expand Up @@ -155,7 +157,7 @@ def _build_schema_on_200(cls):
_element.id = AAZStrType(
flags={"read_only": True},
)
_element.identity = AAZObjectType()
_element.identity = AAZIdentityObjectType()
_element.location = AAZStrType(
flags={"required": True},
)
Expand Down Expand Up @@ -481,7 +483,7 @@ def _build_schema_on_200(cls):
_element.id = AAZStrType(
flags={"read_only": True},
)
_element.identity = AAZObjectType()
_element.identity = AAZIdentityObjectType()
_element.location = AAZStrType(
flags={"required": True},
)
Expand Down
2 changes: 1 addition & 1 deletion src/amlfs/azext_amlfs/aaz/latest/amlfs/_show.py
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ def _build_schema_on_200(cls):
_schema_on_200.id = AAZStrType(
flags={"read_only": True},
)
_schema_on_200.identity = AAZObjectType()
_schema_on_200.identity = AAZIdentityObjectType()
_schema_on_200.location = AAZStrType(
flags={"required": True},
)
Expand Down
2 changes: 1 addition & 1 deletion src/amlfs/azext_amlfs/aaz/latest/amlfs/_update.py
Original file line number Diff line number Diff line change
Expand Up @@ -432,7 +432,7 @@ def _build_schema_aml_filesystem_read(cls, _schema):
aml_filesystem_read.id = AAZStrType(
flags={"read_only": True},
)
aml_filesystem_read.identity = AAZObjectType()
aml_filesystem_read.identity = AAZIdentityObjectType()
aml_filesystem_read.location = AAZStrType(
flags={"required": True},
)
Expand Down
2 changes: 1 addition & 1 deletion src/amlfs/azext_amlfs/aaz/latest/amlfs/_wait.py
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ def _build_schema_on_200(cls):
_schema_on_200.id = AAZStrType(
flags={"read_only": True},
)
_schema_on_200.identity = AAZObjectType()
_schema_on_200.identity = AAZIdentityObjectType()
_schema_on_200.location = AAZStrType(
flags={"required": True},
)
Expand Down
23 changes: 23 additions & 0 deletions src/amlfs/azext_amlfs/aaz/latest/amlfs/auto_export/__cmd_group.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
# --------------------------------------------------------------------------------------------
# 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(
"amlfs auto-export",
)
class __CMDGroup(AAZCommandGroup):
"""Manage Auto Export Job
"""
pass


__all__ = ["__CMDGroup"]
17 changes: 17 additions & 0 deletions src/amlfs/azext_amlfs/aaz/latest/amlfs/auto_export/__init__.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 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
Loading