File tree Expand file tree Collapse file tree 2 files changed +36
-0
lines changed
specification/resources/nfs Expand file tree Collapse file tree 2 files changed +36
-0
lines changed Original file line number Diff line number Diff line change @@ -46,3 +46,33 @@ nfs_action_snapshot:
4646 description : Snapshot name of the NFS share
4747 required :
4848 - name
49+
50+ nfs_action_attach :
51+ allOf :
52+ - $ref : ' #/nfs_action'
53+ - type : object
54+ properties :
55+ params :
56+ type : object
57+ properties :
58+ vpc_id :
59+ type : string
60+ example : vpc-id-123
61+ description : The ID of the VPC to which the NFS share will be attached
62+ required :
63+ - vpc_id
64+
65+ nfs_action_detach :
66+ allOf :
67+ - $ref : ' #/nfs_action'
68+ - type : object
69+ properties :
70+ params :
71+ type : object
72+ properties :
73+ vpc_id :
74+ type : string
75+ example : vpc-id-123
76+ description : The ID of the VPC from which the NFS share will be detached
77+ required :
78+ - vpc_id
Original file line number Diff line number Diff line change @@ -11,6 +11,8 @@ description: |
1111 | -------------------------------- | ----------- |
1212 | <nobr>`resize`</nobr> | Resizes an NFS share. Set the size_gib attribute to a desired value in GiB |
1313 | <nobr>`snapshot`</nobr> | Takes a snapshot of an NFS share |
14+ | <nobr>`attach`</nobr> | Attaches an NFS share to a VPC. Set the vpc_id attribute to the desired VPC ID |
15+ | <nobr>`detach`</nobr> | Detaches an NFS share from a VPC. Set the vpc_id attribute to the desired VPC ID |
1416
1517tags :
1618 - NFS Actions
@@ -32,11 +34,15 @@ requestBody:
3234 anyOf :
3335 - $ref : ' models/nfs_actions.yml#/nfs_action_resize'
3436 - $ref : ' models/nfs_actions.yml#/nfs_action_snapshot'
37+ - $ref : ' models/nfs_actions.yml#/nfs_action_attach'
38+ - $ref : ' models/nfs_actions.yml#/nfs_action_detach'
3539 discriminator :
3640 propertyName : type
3741 mapping :
3842 resize : ' models/nfs_actions.yml#/nfs_action_resize'
3943 snapshot : ' models/nfs_actions.yml#/nfs_action_snapshot'
44+ attach : ' models/nfs_actions.yml#/nfs_action_attach'
45+ detach : ' models/nfs_actions.yml#/nfs_action_detach'
4046
4147responses :
4248 ' 201 ' :
You can’t perform that action at this time.
0 commit comments