summaryrefslogtreecommitdiff
path: root/sysutils/py-azure-cli/files
diff options
context:
space:
mode:
authorDanilo G. Baio <dbaio@FreeBSD.org>2019-09-13 00:18:00 +0000
committerDanilo G. Baio <dbaio@FreeBSD.org>2019-09-13 00:18:00 +0000
commitd4ad7503a06b67e95132df0564e88b69aa66b9c6 (patch)
tree7b0f2ed04763d9aa6b49598ac6c5e0ac003b1ae1 /sysutils/py-azure-cli/files
parentsysutils/py-azure-cli-core: Update to 2.0.73 (diff)
sysutils/py-azure-cli: Update to 2.0.73
- Patches removed were incorporated upstream Changelog: https://pypi.org/project/azure-cli/2.0.73/ Reported by: portscout
Notes
Notes: svn path=/head/; revision=511911
Diffstat (limited to 'sysutils/py-azure-cli/files')
-rw-r--r--sysutils/py-azure-cli/files/patch-azure_cli_command__modules_resource___help.py24
-rw-r--r--sysutils/py-azure-cli/files/patch-azure_cli_command__modules_resource___params.py21
2 files changed, 0 insertions, 45 deletions
diff --git a/sysutils/py-azure-cli/files/patch-azure_cli_command__modules_resource___help.py b/sysutils/py-azure-cli/files/patch-azure_cli_command__modules_resource___help.py
deleted file mode 100644
index f3fd7d00e436..000000000000
--- a/sysutils/py-azure-cli/files/patch-azure_cli_command__modules_resource___help.py
+++ /dev/null
@@ -1,24 +0,0 @@
-# Part of
-# https://github.com/Azure/azure-cli/commit/b33944353f474a35cae113b1496e90822d2eb8c6
---- azure/cli/command_modules/resource/_help.py.orig 2019-09-07 20:28:46 UTC
-+++ azure/cli/command_modules/resource/_help.py
-@@ -799,6 +799,19 @@ examples:
- "effect": "deny"
- }
- }'
-+ - name: Create a policy definition with mode. The mode 'Indexed' indicates the policy should be evaluated only for resource types that support tags and location.
-+ text: |
-+ az policy definition create --name TagsPolicyDefinition --subscription 'MySubscription' --mode Indexed --rules '{
-+ "if":
-+ {
-+ "field": "tags",
-+ "exists": "false"
-+ },
-+ "then":
-+ {
-+ "effect": "deny"
-+ }
-+ }'
- """
-
- helps['policy definition delete'] = """
diff --git a/sysutils/py-azure-cli/files/patch-azure_cli_command__modules_resource___params.py b/sysutils/py-azure-cli/files/patch-azure_cli_command__modules_resource___params.py
deleted file mode 100644
index 4d83465381a4..000000000000
--- a/sysutils/py-azure-cli/files/patch-azure_cli_command__modules_resource___params.py
+++ /dev/null
@@ -1,21 +0,0 @@
-# Part of
-# https://github.com/Azure/azure-cli/commit/b33944353f474a35cae113b1496e90822d2eb8c6
---- azure/cli/command_modules/resource/_params.py.orig 2019-09-07 20:29:39 UTC
-+++ azure/cli/command_modules/resource/_params.py
-@@ -102,7 +102,6 @@ def load_arguments(self, _):
- c.argument('resource_group_name', arg_type=resource_group_name_type, help='the resource group where the policy will be applied')
-
- with self.argument_context('policy definition', resource_type=ResourceType.MGMT_RESOURCE_POLICY) as c:
-- from azure.mgmt.resource.policy.models import PolicyMode
- c.argument('policy_definition_name', arg_type=existing_policy_definition_name_type)
- c.argument('rules', help='JSON formatted string or a path to a file with such content', type=file_type, completer=FilesCompleter())
- c.argument('display_name', help='Display name of policy definition.')
-@@ -110,7 +109,7 @@ def load_arguments(self, _):
- c.argument('params', help='JSON formatted string or a path to a file or uri with parameter definitions.', type=file_type, completer=FilesCompleter(), min_api='2016-12-01')
- c.argument('metadata', min_api='2017-06-01-preview', nargs='+', validator=validate_metadata, help='Metadata in space-separated key=value pairs.')
- c.argument('management_group', arg_type=management_group_name_type)
-- c.argument('mode', arg_type=get_enum_type(PolicyMode), options_list=['--mode', '-m'], help='Mode of the policy definition.', min_api='2016-12-01')
-+ c.argument('mode', options_list=['--mode', '-m'], help='Mode of the policy definition, e.g. All, Indexed. Please visit https://aka.ms/azure-policy-mode for more information.', min_api='2016-12-01')
- c.argument('subscription', arg_type=subscription_type)
- c.ignore('_subscription') # disable global subscription
-