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

[Compute] Support trusted launch for disk #23026

Merged
merged 20 commits into from
Jul 1, 2022
Merged
Changes from 1 commit
Commits
Show all changes
20 commits
Select commit Hold shift + click to select a range
482ec78
disk support uploading with security data
zhoxing-ms Jun 24, 2022
5aca528
Add min api-version control
zhoxing-ms Jun 27, 2022
9fad3c4
Modify original verification
zhoxing-ms Jun 27, 2022
82a21d3
Hide the --secure-vm-guest-state-sas parameter and add more informati…
zhoxing-ms Jun 28, 2022
0832cfe
Hide the --secure-vm-guest-state-sas parameter and add more informati…
zhoxing-ms Jun 28, 2022
f950e7a
Fix grant access data bug
zhoxing-ms Jun 28, 2022
fc6ed25
test secure upload
Jing-song Jun 29, 2022
7c83910
disk support uploading with security data
zhoxing-ms Jun 30, 2022
3e9e911
Fix the create option
zhoxing-ms Jun 30, 2022
444d711
Merge branch 'disk_support_trust_launch' of https://github.com/zhoxin…
Jing-song Jun 30, 2022
043c7b1
Add verification for security_data_uri
zhoxing-ms Jun 30, 2022
ce73b94
Merge branch 'disk_support_trust_launch' of github.com:zhoxing-ms/azu…
zhoxing-ms Jun 30, 2022
d332393
Expose secure_vm_guest_state_sas
zhoxing-ms Jun 30, 2022
48ad61f
test --secure-vm-guest-state-sas and upload type
Jing-song Jun 30, 2022
6220b5c
Add configuration in CredScanSuppression
zhoxing-ms Jun 30, 2022
b0143e1
validation test
Jing-song Jun 30, 2022
d8bf54f
Fix CI issue
zhoxing-ms Jun 30, 2022
13135fc
Merge branch 'disk_support_trust_launch' of github.com:zhoxing-ms/azu…
zhoxing-ms Jun 30, 2022
bb0025a
Merge branch 'dev' of github.com:Azure/azure-cli into disk_support_tr…
zhoxing-ms Jun 30, 2022
94cb3f6
validation test
Jing-song Jun 30, 2022
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
Prev Previous commit
Next Next commit
Fix CI issue
  • Loading branch information
zhoxing-ms committed Jun 30, 2022
commit d8bf54ff08ac5fdd55a897342daf594b47603f5a
5 changes: 4 additions & 1 deletion src/azure-cli/azure/cli/command_modules/vm/_validators.py
Original file line number Diff line number Diff line change
@@ -1773,7 +1773,7 @@ def process_disk_create_namespace(cmd, namespace):


def _validate_security_data_uri(namespace):
if not namespace.security_data_uri:
if 'security_data_uri' not in namespace or not namespace.security_data_uri:
return

if not namespace.security_type:
@@ -1790,6 +1790,9 @@ def _validate_security_data_uri(namespace):


def _validate_upload_type(cmd, namespace):
if 'upload_type' not in namespace:
return

if not namespace.upload_type and namespace.for_upload:
namespace.upload_type = 'Upload'