share
Type representing a IonosCloud shared resource.
Name | Required | Description |
---|---|---|
name | true | The ID of the resource to share. |
Name | Required | Description |
---|---|---|
ensure | No | The basic property that the resource should be in. Valid values are present , absent . |
edit_privilege | No | Indicates if the group has permission to edit privileges on the resource. Valid values are true , false . |
share_privilege | No | Indicates if the group has permission to share the resource. Valid values are true , false . |
group_id | No | The ID of the group where the share will be available. |
group_name | No | The name of the group where the share will be available. |
type | No | The type of the shared resource. |
*** | | |
- edit_privilege
- share_privilege
puppet resource share
NOTE: If two resources have the same name only one of them will be shown.
$datacenter_id = '4017613d-b3fb-41bd-a7bf-8da8e1b02890'
share { $datacenter_id :
ensure => present,
edit_privilege => true,
share_privilege => true,
group_name => 'cli'
}
NOTE: If two resources with the same name ar found an error will be thrown, this only applies to cases where the resource cannot be identified. Example: an error is thrown for two servers with the same name in the same datacenter, not for two servers with the same name, but in different datacenters.
Last modified 8mo ago