-
Notifications
You must be signed in to change notification settings - Fork 6.6k
feat : Create compute shared reservation Sample #12678
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
Conversation
Here is the summary of changes. You are about to add 1 region tag.
This comment is generated by snippet-bot.
|
machine_type="n1-standard-1", | ||
# Optional. Specifies amount of local ssd to reserve with each instance. | ||
local_ssds=[ | ||
compute_v1.AllocationSpecificSKUAllocationAllocatedInstancePropertiesReservedDisk( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
That class name is ridiculous 🤣
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
But I don't know what I could do with that 🤷♂️
Maybe we could make a request to update the library. Then I could use more readable names here! 😄
compute/client_library/snippets/tests/test_compute_reservation.py
Outdated
Show resolved
Hide resolved
…12678) * Create compute shared reservation file with updated test * Refactored tests for all reservations
Description
Created Sample for Compute Create Shared Reservation.
Checklist
nox -s py-3.9
(see Test Environment Setup)nox -s lint
(see Test Environment Setup)