You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
c.argument('cpu', type=float, help='The required number of CPU cores of the containers, accurate to one decimal place')
63
74
c.argument('memory', type=float, help='The required memory of the containers in GB, accurate to one decimal place')
75
+
c.argument('config_map', nargs='+', type=_config_map_type, help='A list of config map key-value pairs for the container. Space-separated values in \'key=value\' format.')
64
76
c.argument('os_type', arg_type=get_enum_type(OperatingSystemTypes), help='The OS type of the containers')
65
77
c.argument('ip_address', arg_type=get_enum_type(IP_ADDRESS_TYPES), help='The IP address type of the container group')
66
78
c.argument('ports', type=int, nargs='+', default=[80], help='A list of ports to open. Space-separated list of ports')
@@ -116,6 +128,14 @@ def load_arguments(self, _):
116
128
c.argument('log_analytics_workspace', help='The Log Analytics workspace name or id. Use the current subscription or use --subscription flag to set the desired subscription.')
withself.argument_context('container create', arg_group='Container Group Profile Reference') asc:
132
+
c.argument('container_group_profile_id', help='The reference container group profile ARM resource id.')
133
+
c.argument('container_group_profile_revision', help='The reference container group profile revision.')
134
+
135
+
withself.argument_context('container create', arg_group='Standby Pool Profile') asc:
136
+
c.argument('standby_pool_profile_id', help='The standby pool profile ARM resource id from which the container will be reused.')
137
+
c.argument('fail_container_group_create_on_reuse_failure', help='The flag indicating whether to fail the container group creation if the standby pool reuse failed.', action='store_true')
c.argument('cpu', type=float, help='The required number of CPU cores of the containers, accurate to one decimal place')
170
+
c.argument('memory', type=float, help='The required memory of the containers in GB, accurate to one decimal place')
171
+
c.argument('config_map', nargs='+', type=_config_map_type, help='A list of config map key-value pairs for the container. Space-separated values in \'key=value\' format.')
172
+
c.argument('os_type', arg_type=get_enum_type(OperatingSystemTypes), help='The OS type of the containers')
173
+
c.argument('ip_address', arg_type=get_enum_type(IP_ADDRESS_TYPES), help='The IP address type of the container group')
174
+
c.argument('ports', type=int, nargs='+', default=[80], help='A list of ports to open. Space-separated list of ports')
175
+
c.argument('protocol', arg_type=get_enum_type(ContainerNetworkProtocol), help='The network protocol to use')
176
+
c.argument('restart_policy', arg_type=get_enum_type(ContainerGroupRestartPolicy), help='Restart policy for all containers within the container group')
177
+
c.argument('command_line', help='The command line to run when the container is started, e.g. \'/bin/bash -c myscript.sh\'')
178
+
c.argument('environment_variables', nargs='+', options_list=['--environment-variables', '-e'], type=_environment_variables_type, help='A list of environment variable for the container. Space-separated values in \'key=value\' format.')
179
+
c.argument('secure_environment_variables', nargs='+', type=_secure_environment_variables_type, help='A list of secure environment variable for the container. Space-separated values in \'key=value\' format.')
180
+
c.argument('secrets', secrets_type)
181
+
c.argument('secrets_mount_path', validator=validate_volume_mount_path, help="The path within the container where the secrets volume should be mounted. Must not contain colon ':'.")
182
+
c.argument('file', options_list=['--file', '-f'], help="The path to the input file.")
183
+
c.argument('zone', help="The zone to place the container group.")
184
+
c.argument('priority', help='The priority of the container group')
185
+
c.argument('sku', help="The SKU of the container group")
c.argument('cce_policy', help="The CCE policy for the confidential container group")
189
+
c.argument('allow_privilege_escalation', options_list=['--allow-escalation'], help="Allow whether a process can gain more privileges than its parent process.", action='store_true')
190
+
c.argument('privileged', help='The flag to determine if the container permissions is elevated to Privileged', action='store_true')
191
+
c.argument('run_as_user', help="Set the User GID for the container")
192
+
c.argument('run_as_group', help="Set the User UID for the container")
193
+
c.argument('seccomp_profile', help="A base64 encoded string containing the contents of the JSON in the seccomp profile")
194
+
c.argument('add_capabilities', nargs='+', help="A List of security context capabilities to be added")
195
+
c.argument('drop_capabilities', nargs='+', help="A List of security context capabilities to be dropped")
c.argument('azure_file_volume_share_name', help='The name of the Azure File share to be mounted as a volume')
205
+
c.argument('azure_file_volume_account_name', help='The name of the storage account that contains the Azure File share')
206
+
c.argument('azure_file_volume_account_key', help='The storage account access key used to access the Azure File share')
207
+
c.argument('azure_file_volume_mount_path', validator=validate_volume_mount_path, help="The path within the container where the azure file volume should be mounted. Must not contain colon ':'.")
c.argument('log_analytics_workspace', help='The Log Analytics workspace name or id. Use the current subscription or use --subscription flag to set the desired subscription.')
c.argument('gitrepo_url', help='The URL of a git repository to be mounted as a volume')
215
+
c.argument('gitrepo_dir', validator=validate_gitrepo_directory, help="The target directory path in the git repository. Must not contain '..'.")
216
+
c.argument('gitrepo_revision', help='The commit hash for the specified revision')
217
+
c.argument('gitrepo_mount_path', validator=validate_volume_mount_path, help="The path within the container where the git repo volume should be mounted. Must not contain colon ':'.")
0 commit comments