-
Notifications
You must be signed in to change notification settings - Fork 0
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
Adding Bp and BPA resources with examples to backupdr product #18
Conversation
|
||
--- !ruby/object:Api::Resource | ||
name: 'BackupPlan' | ||
# Remove this towards GA. b/371938375 |
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.
This is probably not needed anymore
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.
Removed it
autogen_async: true | ||
timeouts: | ||
insert_minutes: 20 | ||
delete_minutes: 20 |
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.
Are these standard API timeouts?
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.
Updated standard tineouts,
examples: | ||
- min_version: beta | ||
name: 'backup_dr_backup_plan' | ||
primary_resource_id: 'my-backup-plan' |
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.
Isn't this same as the name? 🤔
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.
No, primary_resource_id is tf resource name while name is example name
timeouts: | ||
insert_minutes: 20 | ||
delete_minutes: 20 | ||
examples: |
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.
Could you move examples to the bottom of the file?
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.
AS per convention they stay at top. Would you still want me to move it to bottom?
timeouts: | ||
insert_minutes: 20 | ||
delete_minutes: 20 | ||
examples: |
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.
Move this to the bottom of the file
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.
This is as per convention
start_hour_of_day: 5 | ||
end_hour_of_day: 20 | ||
backup_plan_association_name: 'bpa1' | ||
resource_name: 'projects/gcp-project/locations/us-central1/{instance_id}' |
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.
This list seems to show the output_only fields as well. You might want to revisit this.
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.
fixed by adding field values in example file onkly
Release Note Template for Downstream PRs (will be copied)