@@ -304,6 +304,33 @@ def add_provider_actions(subparsers):
304304 )
305305 providers_add .add_argument ("--aws-profile" , help = "AWS profile name" )
306306 providers_add .add_argument ("--aws-region" , help = "AWS region" )
307+ providers_add .add_argument ("--azure-subscription-id" , help = "Azure subscription ID" )
308+ providers_add .add_argument ("--azure-resource-group" , help = "Azure resource group" )
309+ providers_add .add_argument ("--azure-location" , help = "Azure location" )
310+ providers_add .add_argument ("--azure-client-id" , help = "Azure managed identity client ID" )
311+ providers_add .add_argument ("--azure-cyclecloud-url" , help = "Azure CycleCloud URL" )
312+ providers_add .add_argument (
313+ "--azure-cyclecloud-credential-path" ,
314+ help = "Secret path or file path for CycleCloud credentials" ,
315+ )
316+ providers_add .add_argument (
317+ "--azure-cyclecloud-auth-mode" ,
318+ help = "CycleCloud auth mode override" ,
319+ )
320+ providers_add .add_argument (
321+ "--azure-cyclecloud-aad-scope" ,
322+ help = "CycleCloud AAD scope override" ,
323+ )
324+ providers_add .add_argument (
325+ "--azure-cyclecloud-verify-ssl" ,
326+ action = "store_true" ,
327+ help = "Verify TLS certificates for CycleCloud" ,
328+ )
329+ providers_add .add_argument (
330+ "--azure-cyclecloud-no-verify-ssl" ,
331+ action = "store_true" ,
332+ help = "Disable TLS certificate verification for CycleCloud" ,
333+ )
307334 providers_add .add_argument ("--name" , help = "Provider instance name" )
308335 providers_add .add_argument ("--discover" , action = "store_true" , help = "Discover infrastructure" )
309336
@@ -316,6 +343,33 @@ def add_provider_actions(subparsers):
316343 providers_update .add_argument ("provider_name" , help = "Provider instance name" )
317344 providers_update .add_argument ("--aws-region" , help = "Update region" )
318345 providers_update .add_argument ("--aws-profile" , help = "Update profile" )
346+ providers_update .add_argument ("--azure-subscription-id" , help = "Update Azure subscription ID" )
347+ providers_update .add_argument ("--azure-resource-group" , help = "Update Azure resource group" )
348+ providers_update .add_argument ("--azure-location" , help = "Update Azure location" )
349+ providers_update .add_argument ("--azure-client-id" , help = "Update Azure managed identity client ID" )
350+ providers_update .add_argument ("--azure-cyclecloud-url" , help = "Update CycleCloud URL" )
351+ providers_update .add_argument (
352+ "--azure-cyclecloud-credential-path" ,
353+ help = "Update CycleCloud credential path" ,
354+ )
355+ providers_update .add_argument (
356+ "--azure-cyclecloud-auth-mode" ,
357+ help = "Update CycleCloud auth mode override" ,
358+ )
359+ providers_update .add_argument (
360+ "--azure-cyclecloud-aad-scope" ,
361+ help = "Update CycleCloud AAD scope override" ,
362+ )
363+ providers_update .add_argument (
364+ "--azure-cyclecloud-verify-ssl" ,
365+ action = "store_true" ,
366+ help = "Enable TLS certificate verification for CycleCloud" ,
367+ )
368+ providers_update .add_argument (
369+ "--azure-cyclecloud-no-verify-ssl" ,
370+ action = "store_true" ,
371+ help = "Disable TLS certificate verification for CycleCloud" ,
372+ )
319373
320374 providers_set_default = subparsers .add_parser ("set-default" , help = "Set default provider" )
321375 add_global_arguments (providers_set_default )
@@ -691,6 +745,33 @@ def build_parser() -> tuple[argparse.ArgumentParser, dict]:
691745 init_parser .add_argument ("--provider" , default = "aws" , help = "Provider type" )
692746 init_parser .add_argument ("--region" , help = "AWS region" )
693747 init_parser .add_argument ("--profile" , help = "AWS profile" )
748+ init_parser .add_argument ("--azure-subscription-id" , help = "Azure subscription ID" )
749+ init_parser .add_argument ("--azure-resource-group" , help = "Azure resource group" )
750+ init_parser .add_argument ("--azure-location" , help = "Azure location" )
751+ init_parser .add_argument ("--azure-client-id" , help = "Azure managed identity client ID" )
752+ init_parser .add_argument ("--azure-cyclecloud-url" , help = "Azure CycleCloud URL" )
753+ init_parser .add_argument (
754+ "--azure-cyclecloud-credential-path" ,
755+ help = "Secret path or file path for CycleCloud credentials" ,
756+ )
757+ init_parser .add_argument (
758+ "--azure-cyclecloud-auth-mode" ,
759+ help = "CycleCloud auth mode override" ,
760+ )
761+ init_parser .add_argument (
762+ "--azure-cyclecloud-aad-scope" ,
763+ help = "CycleCloud AAD scope override" ,
764+ )
765+ init_parser .add_argument (
766+ "--azure-cyclecloud-verify-ssl" ,
767+ action = "store_true" ,
768+ help = "Verify TLS certificates for CycleCloud" ,
769+ )
770+ init_parser .add_argument (
771+ "--azure-cyclecloud-no-verify-ssl" ,
772+ action = "store_true" ,
773+ help = "Disable TLS certificate verification for CycleCloud" ,
774+ )
694775 init_parser .add_argument ("--config-dir" , help = "Custom configuration directory" )
695776 init_parser .add_argument (
696777 "--scripts-dir" ,
0 commit comments