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

Update to version 3.0.0 #104

Merged
merged 1 commit into from
Sep 14, 2023
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
5 changes: 5 additions & 0 deletions src/devcenter/HISTORY.rst
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,11 @@

Release History
===============
3.0.0
++++++
* Update control plane API to v2023-06-01-preview
* Update data plane API to v2023-07-01-preview

2.0.0
++++++
* Update dev-box-definition to devbox-definition parameter
Expand Down
34 changes: 0 additions & 34 deletions src/devcenter/azext_devcenter/_help.py
Original file line number Diff line number Diff line change
Expand Up @@ -650,37 +650,3 @@
az devcenter dev environment-definition show --endpoint "https://8a40af38-3b4c-4672-a6a4-5e964b1870ed-contosodevcenter.centralus.devcenter.azure.com/" \
--project-name "DevProject" --catalog-name "myCatalog" --definition-name "foo"
"""

# helps[
# "devcenter dev environment list-operation"
# ] = """
# type: command
# short-summary: "Lists operations on the environment which have occurred within the past 90 days."
# examples:
# - name: List operations using dev center
# text: |-
# az devcenter dev environment list-operation --dev-center-name "ContosoDevCenter" \
# --project-name "DevProject" --name "myEnv" --user-id "00000000-0000-0000-0000-000000000000"
# - name: List operations using endpoint
# text: |-
# az devcenter dev environment list-operation --endpoint "https://8a40af38-3b4c-4672-a6a4-5e964b1870ed-contosodevcenter.centralus.devcenter.azure.com/" \
# --project-name "DevProject" --name "myEnv" --user-id "00000000-0000-0000-0000-000000000000"
# """

# helps[
# "devcenter dev environment show-operation"
# ] = """
# type: command
# short-summary: "Gets an environment action result."
# examples:
# - name: Get operation using dev center
# text: |-
# az devcenter dev environment show-operation --dev-center-name "ContosoDevCenter" \
# --project-name "DevProject" --name "myEnv" --operation-id \
# "f5dbdfab-fa0e-4831-8d13-25359aa5e680" --user-id "00000000-0000-0000-0000-000000000000"
# - name: Get operation using endpoint
# text: |-
# az devcenter dev environment show-operation --endpoint "https://8a40af38-3b4c-4672-a6a4-5e964b1870ed-contosodevcenter.centralus.devcenter.azure.com/" \
# --project-name "DevProject" --name "myEnv" --operation-id \
# "f5dbdfab-fa0e-4831-8d13-25359aa5e680" --user-id "00000000-0000-0000-0000-000000000000"
# """
57 changes: 0 additions & 57 deletions src/devcenter/azext_devcenter/_params.py
Original file line number Diff line number Diff line change
Expand Up @@ -855,60 +855,3 @@ def load_arguments(self, _):
"endpoint",
arg_type=endpoint,
)

# with self.argument_context("devcenter dev environment list-operation") as c:
# c.argument(
# "dev_center",
# arg_type=dev_center_type,
# )
# c.argument(
# "project_name",
# arg_type=project_type,
# )
# c.argument(
# "endpoint",
# arg_type=endpoint,
# )
# c.argument(
# "user_id",
# type=str,
# help="The AAD object id of the user. If value is 'me', the identity is taken from the "
# "authentication context",
# )
# c.argument(
# "environment_name",
# options_list=["--name", "-n", "--environment-name"],
# type=str,
# help="The name " "of the environment.",
# )

# with self.argument_context("devcenter dev environment show-operation") as c:
# c.argument(
# "dev_center",
# arg_type=dev_center_type,
# )
# c.argument(
# "project_name",
# arg_type=project_type,
# )
# c.argument(
# "endpoint",
# arg_type=endpoint,
# )
# c.argument(
# "user_id",
# type=str,
# help="The AAD object id of the user. If value is 'me', the identity is taken from the "
# "authentication context",
# )
# c.argument(
# "environment_name",
# options_list=["--name", "-n", "--environment-name"],
# type=str,
# help="The name " "of the environment.",
# )
# c.argument(
# "operation_id",
# type=str,
# help="The id of the operation on a dev box.",
# )
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@
# flake8: noqa

from .__cmd_group import *
from ._connect import *
from ._create import *
from ._delete import *
from ._list import *
Expand Down

This file was deleted.

This file was deleted.

This file was deleted.

Loading
Loading