Skip to content

Commit

Permalink
docs: add Cloud Avenue documentation links (#39)
Browse files Browse the repository at this point in the history
  • Loading branch information
gaetanars authored Feb 10, 2023
1 parent 4c0c63f commit 469be32
Show file tree
Hide file tree
Showing 6 changed files with 11 additions and 7 deletions.
1 change: 1 addition & 0 deletions docs/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ The provider needs to be configured with the proper credentials before it can be

Documentation regarding Data Sources and Resources can be found in the sidebar to the left.

-> Note : If you need more information about Cloud Avenue, please visit [Cloud Avenue documentation](https://wiki.cloudavenue.orange-business.com/w/index.php/Accueil).
## Authentication

Cloud Avenue support authentication with username, password and organization.
Expand Down
4 changes: 2 additions & 2 deletions docs/resources/vcda_ip.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,12 @@
page_title: "cloudavenue_vcda_ip Resource - cloudavenue"
subcategory: ""
description: |-
VCDa resource permit to declare or remove your On Premise IP address for DRaaS Service.
VCDa resource permit to declare or remove your On Premise IP address for DRaaS Service. -> Note: For more information, please refer to the Cloud Avenue DRaaS documentation https://wiki.cloudavenue.orange-business.com/w/index.php/DRaaS_avec_VCDA.
---

# cloudavenue_vcda_ip (Resource)

VCDa resource permit to declare or remove your On Premise IP address for DRaaS Service.
VCDa resource permit to declare or remove your On Premise IP address for DRaaS Service. -> Note: For more information, please refer to the [Cloud Avenue DRaaS documentation](https://wiki.cloudavenue.orange-business.com/w/index.php/DRaaS_avec_VCDA).

## Example Usage

Expand Down
4 changes: 2 additions & 2 deletions docs/resources/vdc.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,12 @@
page_title: "cloudavenue_vdc Resource - cloudavenue"
subcategory: ""
description: |-
Provides a Cloud Avenue Organization VDC resource. This can be used to create, update and delete an Organization VDC.
Provides a Cloud Avenue Organization VDC resource. This can be used to create, update and delete an Organization VDC. -> Note: For more information about Organization VDC, please refer to the Cloud Avenue documentation https://wiki.cloudavenue.orange-business.com/w/index.php/Datacenter_virtuel.
---

# cloudavenue_vdc (Resource)

Provides a Cloud Avenue Organization VDC resource. This can be used to create, update and delete an Organization VDC.
Provides a Cloud Avenue Organization VDC resource. This can be used to create, update and delete an Organization VDC. -> Note: For more information about Organization VDC, please refer to the [Cloud Avenue documentation](https://wiki.cloudavenue.orange-business.com/w/index.php/Datacenter_virtuel).

## Example Usage

Expand Down
3 changes: 2 additions & 1 deletion internal/provider/vcda_ip_resource.go
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,8 @@ func (r *vcdaIPResource) Metadata(_ context.Context, req resource.MetadataReques
// Schema defines the schema for the resource.
func (r *vcdaIPResource) Schema(_ context.Context, _ resource.SchemaRequest, resp *resource.SchemaResponse) {
resp.Schema = schema.Schema{
MarkdownDescription: "VCDa resource permit to declare or remove your On Premise IP address for DRaaS Service.",
MarkdownDescription: "VCDa resource permit to declare or remove your On Premise IP address for DRaaS Service." +
" -> Note: For more information, please refer to the [Cloud Avenue DRaaS documentation](https://wiki.cloudavenue.orange-business.com/w/index.php/DRaaS_avec_VCDA).",
Attributes: map[string]schema.Attribute{
"id": schema.StringAttribute{
Computed: true,
Expand Down
5 changes: 3 additions & 2 deletions internal/provider/vdc_resource.go
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,8 @@ func (r *vdcResource) Metadata(_ context.Context, req resource.MetadataRequest,
// Schema defines the schema for the resource.
func (r *vdcResource) Schema(ctx context.Context, _ resource.SchemaRequest, resp *resource.SchemaResponse) {
resp.Schema = schema.Schema{
MarkdownDescription: "Provides a Cloud Avenue Organization VDC resource. This can be used to create, update and delete an Organization VDC.",
MarkdownDescription: "Provides a Cloud Avenue Organization VDC resource. This can be used to create, update and delete an Organization VDC." +
" -> Note: For more information about Organization VDC, please refer to the [Cloud Avenue documentation](https://wiki.cloudavenue.orange-business.com/w/index.php/Datacenter_virtuel).",
Attributes: map[string]schema.Attribute{
"timeouts": timeouts.Attributes(ctx, timeouts.Opts{
Create: true,
Expand Down Expand Up @@ -101,7 +102,7 @@ func (r *vdcResource) Schema(ctx context.Context, _ resource.SchemaRequest, resp
"cpu_speed_in_mhz": schema.Float64Attribute{
Required: true,
MarkdownDescription: "Specifies the clock frequency, in Mhz, for any virtual CPU that is allocated to a VM.\n" +
"It must be at least 1200.",
"It must be at least 1200.\n",
Validators: []validator.Float64{
float64validator.AtLeast(1200),
},
Expand Down
1 change: 1 addition & 0 deletions templates/index.md.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ The provider needs to be configured with the proper credentials before it can be

Documentation regarding Data Sources and Resources can be found in the sidebar to the left.

-> Note : If you need more information about Cloud Avenue, please visit [Cloud Avenue documentation](https://wiki.cloudavenue.orange-business.com/w/index.php/Accueil).
## Authentication

Cloud Avenue support authentication with username, password and organization.
Expand Down

0 comments on commit 469be32

Please sign in to comment.