Skip to content

Commit

Permalink
release-v1.0.6
Browse files Browse the repository at this point in the history
  • Loading branch information
Sourav Samanta[Sourav.Samanta] authored and Sourav Samanta[Sourav.Samanta] committed Oct 23, 2024
1 parent 624a9db commit f7b8e00
Show file tree
Hide file tree
Showing 53 changed files with 4,031 additions and 854 deletions.
37 changes: 37 additions & 0 deletions docs/data-sources/wem_configuration_set.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
---
# generated by https://github.com/hashicorp/terraform-plugin-docs
page_title: "citrix_wem_configuration_set Data Source - citrix"
subcategory: "WEM"
description: |-
Data source to get details regarding a specific configuration set.
---

# citrix_wem_configuration_set (Data Source)

Data source to get details regarding a specific configuration set.

## Example Usage

```terraform
# Get WEM configuration set by id
data "citrix_wem_configuration_set" "test_wem_configuration_set_by_id" {
id = "1"
}
# Get WEM configuration set by name
data "citrix_wem_configuration_set" "test_wem_configuration_set_by_name" {
name = "Default Site"
}
```

<!-- schema generated by tfplugindocs -->
## Schema

### Optional

- `id` (String) ID of the WEM configuration set.
- `name` (String) Name of the configuration set.

### Read-Only

- `description` (String) Description of the configuration set.
3 changes: 2 additions & 1 deletion docs/resources/delivery_group.md
Original file line number Diff line number Diff line change
Expand Up @@ -188,14 +188,15 @@ resource "citrix_delivery_group" "example-delivery-group" {
- `app_protection` (Attributes) App Protection, an add-on feature for the Citrix Workspace app, provides enhanced security for Citrix published apps and desktops. The feature provides anti-keylogging and anti-screen capture capabilities for client sessions, helping protect data from keyloggers and screen scrapers.

~> **Please Note** Before using the feature, make sure that these [requirements](https://docs.citrix.com/en-us/citrix-workspace-app/app-protection.html#system-requirements) are met. (see [below for nested schema](#nestedatt--app_protection))
- `associated_machine_catalogs` (Attributes List) Machine catalogs from which to assign machines to the newly created delivery group. (see [below for nested schema](#nestedatt--associated_machine_catalogs))
- `associated_machine_catalogs` (Attributes Set) Machine catalogs from which to assign machines to the newly created delivery group. (see [below for nested schema](#nestedatt--associated_machine_catalogs))
- `autoscale_settings` (Attributes) The power management settings governing the machine(s) in the delivery group. (see [below for nested schema](#nestedatt--autoscale_settings))
- `custom_access_policies` (Attributes List) Custom Access Policies for the delivery group. To manage built-in access policies use the `default_access_policies` instead. (see [below for nested schema](#nestedatt--custom_access_policies))
- `default_access_policies` (Attributes List) Manage built-in Access Policies for the delivery group. These are the Citrix Gateway Connections (via Access Gateway) and Non-Citrix Gateway Connections (not via Access Gateway) access policies.

~> **Please Note** Default Access Policies can only be modified; they cannot be deleted. If using this property, both default policies have to be specified.

-> **Note** Use `Citrix Gateway connections` as the name for the default policy that is Via Access Gateway and `Non-Citrix Gateway connections` as the name for the default policy that is Not Via Access Gateway. (see [below for nested schema](#nestedatt--default_access_policies))
- `default_desktop_icon` (String) The id of the icon to be used as the default icon for the desktops in the delivery group.
- `delivery_group_folder_path` (String) The path of the folder in which the delivery group is located.
- `description` (String) Description of the delivery group.
- `desktops` (Attributes List) A list of Desktop resources to publish on the delivery group. Only 1 desktop can be added to a Remote PC Delivery Group. (see [below for nested schema](#nestedatt--desktops))
Expand Down
41 changes: 41 additions & 0 deletions docs/resources/desktop_icon.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
---
# generated by https://github.com/hashicorp/terraform-plugin-docs
page_title: "citrix_desktop_icon Resource - citrix"
subcategory: "CVAD"
description: |-
Resource for managing desktop icons.
---

# citrix_desktop_icon (Resource)

Resource for managing desktop icons.

## Example Usage

```terraform
resource "citrix_desktop_icon" "example-desktop-icon" {
raw_data = filebase64("path/to/desktopicon.ico")
}
# Use filebase64 to encode a file's content in base64 format.
```

<!-- schema generated by tfplugindocs -->
## Schema

### Optional

- `file_path` (String) Path to the icon file. Exactly one of `raw_data` and `file_path` is required.
- `raw_data` (String) Prepare an icon in ICO format and convert its binary raw data to base64 encoding. Use the base64 encoded string as the value of this attribute. Exactly one of `raw_data` and `file_path` is required.

### Read-Only

- `id` (String) GUID identifier of the desktop icon.

## Import

Import is supported using the following syntax:

```shell
# Desktop icon can be imported by specifying the GUID
terraform import citrix_desktop_icon.example-desktop-icon 4cec0568-1c91-407f-a32e-cc487822d0a0
```
46 changes: 42 additions & 4 deletions docs/resources/policy_set.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,6 @@ resource "citrix_policy_set" "example-policy-set" {
},
]
branch_repeater_filter = {
enabled = true
allowed = true
},
client_ip_filters = [
Expand Down Expand Up @@ -140,7 +139,7 @@ Required:
Optional:

- `access_control_filters` (Attributes Set) Set of Access control policy filters. (see [below for nested schema](#nestedatt--policies--access_control_filters))
- `branch_repeater_filter` (Attributes) Set of policy filters. (see [below for nested schema](#nestedatt--policies--branch_repeater_filter))
- `branch_repeater_filter` (Attributes) Definition of branch repeater policy filter. (see [below for nested schema](#nestedatt--policies--branch_repeater_filter))
- `client_ip_filters` (Attributes Set) Set of Client ip policy filters. (see [below for nested schema](#nestedatt--policies--client_ip_filters))
- `client_name_filters` (Attributes Set) Set of Client name policy filters. (see [below for nested schema](#nestedatt--policies--client_name_filters))
- `delivery_group_filters` (Attributes Set) Set of Delivery group policy filters. (see [below for nested schema](#nestedatt--policies--delivery_group_filters))
Expand All @@ -150,12 +149,16 @@ Optional:
- `tag_filters` (Attributes Set) Set of Tag policy filters. (see [below for nested schema](#nestedatt--policies--tag_filters))
- `user_filters` (Attributes Set) Set of User policy filters. (see [below for nested schema](#nestedatt--policies--user_filters))

Read-Only:

- `id` (String) Id of the policy.

<a id="nestedatt--policies--policy_settings"></a>
### Nested Schema for `policies.policy_settings`

Required:

- `name` (String) Name of the policy setting name.
- `name` (String) Name of the policy setting.
- `use_default` (Boolean) Indicate whether using default value for the policy setting.

Optional:
Expand All @@ -175,14 +178,21 @@ Required:
- `enabled` (Boolean) Indicate whether the filter is being enabled.
- `gateway` (String) Gateway for the policy filter.

Read-Only:

- `id` (String) Id of the policy filter.


<a id="nestedatt--policies--branch_repeater_filter"></a>
### Nested Schema for `policies.branch_repeater_filter`

Required:

- `allowed` (Boolean) Indicate the filtered policy is allowed or denied if the filter condition is met.
- `enabled` (Boolean) Indicate whether the filter is being enabled.

Read-Only:

- `id` (String) Id of the branch repeater policy filter.


<a id="nestedatt--policies--client_ip_filters"></a>
Expand All @@ -194,6 +204,10 @@ Required:
- `enabled` (Boolean) Indicate whether the filter is being enabled.
- `ip_address` (String) IP Address of the client to be filtered.

Read-Only:

- `id` (String) Id of the client ip policy filter.


<a id="nestedatt--policies--client_name_filters"></a>
### Nested Schema for `policies.client_name_filters`
Expand All @@ -204,6 +218,10 @@ Required:
- `client_name` (String) Name of the client to be filtered.
- `enabled` (Boolean) Indicate whether the filter is being enabled.

Read-Only:

- `id` (String) Id of the client name policy filter.


<a id="nestedatt--policies--delivery_group_filters"></a>
### Nested Schema for `policies.delivery_group_filters`
Expand All @@ -214,6 +232,10 @@ Required:
- `delivery_group_id` (String) Id of the delivery group to be filtered.
- `enabled` (Boolean) Indicate whether the filter is being enabled.

Read-Only:

- `id` (String) Id of the delivery group policy filter.


<a id="nestedatt--policies--delivery_group_type_filters"></a>
### Nested Schema for `policies.delivery_group_type_filters`
Expand All @@ -224,6 +246,10 @@ Required:
- `delivery_group_type` (String) Type of the delivery groups to be filtered.
- `enabled` (Boolean) Indicate whether the filter is being enabled.

Read-Only:

- `id` (String) Id of the delivery group type policy filter.


<a id="nestedatt--policies--ou_filters"></a>
### Nested Schema for `policies.ou_filters`
Expand All @@ -234,6 +260,10 @@ Required:
- `enabled` (Boolean) Indicate whether the filter is being enabled.
- `ou` (String) Organizational Unit to be filtered.

Read-Only:

- `id` (String) Id of the organizational unit policy filter.


<a id="nestedatt--policies--tag_filters"></a>
### Nested Schema for `policies.tag_filters`
Expand All @@ -244,6 +274,10 @@ Required:
- `enabled` (Boolean) Indicate whether the filter is being enabled.
- `tag` (String) Tag to be filtered.

Read-Only:

- `id` (String) Id of the tag policy filter.


<a id="nestedatt--policies--user_filters"></a>
### Nested Schema for `policies.user_filters`
Expand All @@ -254,6 +288,10 @@ Required:
- `enabled` (Boolean) Indicate whether the filter is being enabled.
- `sid` (String) SID of the user or user group to be filtered.

Read-Only:

- `id` (String) Id of the user policy filter.

## Import

Import is supported using the following syntax:
Expand Down
47 changes: 47 additions & 0 deletions docs/resources/wem_configuration_set.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
---
# generated by https://github.com/hashicorp/terraform-plugin-docs
page_title: "citrix_wem_configuration_set Resource - citrix"
subcategory: "WEM"
description: |-
Manages configuration sets within a WEM deployment.
~> Disclaimer This feature is supported for Citrix Cloud customers, and will be made available for On-Premises soon.
---

# citrix_wem_configuration_set (Resource)

Manages configuration sets within a WEM deployment.

~> **Disclaimer** This feature is supported for Citrix Cloud customers, and will be made available for On-Premises soon.

## Example Usage

```terraform
resource "citrix_wem_configuration_set" "example-config-set"{
name = "example config set"
description = "example WEM configuration set"
}
```

<!-- schema generated by tfplugindocs -->
## Schema

### Required

- `name` (String) Name of the configuration set. WEM Site Name should be unique.

### Optional

- `description` (String) Description of the configuration set. Default value is empty string.

### Read-Only

- `id` (String) Identifier of the configuration set.

## Import

Import is supported using the following syntax:

```shell
# WEM Configuration Set can be imported by specifying the ID
terraform import citrix_wem_configuration_set.example-config-set 1234
```
49 changes: 49 additions & 0 deletions docs/resources/wem_directory_object.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
---
# generated by https://github.com/hashicorp/terraform-plugin-docs
page_title: "citrix_wem_directory_object Resource - citrix"
subcategory: "WEM"
description: |-
Manages machine-level AD objects within a WEM deployment.
~> Disclaimer This feature is supported for Citrix Cloud customers, and will be made available for On-Premises soon.
~> Warning Having more than one Directory Object with the same Catalog ID is not allowed.
---

# citrix_wem_directory_object (Resource)

Manages machine-level AD objects within a WEM deployment.

~> **Disclaimer** This feature is supported for Citrix Cloud customers, and will be made available for On-Premises soon.

~> **Warning** Having more than one Directory Object with the same Catalog ID is not allowed.

## Example Usage

```terraform
resource "citrix_wem_directory_object" "example-directory-object" {
configuration_set_id = citrix_wem_configuration_set.example-config-set.id
machine_catalog_id = citrix_machine_catalog.example-machine-catalog.id
enabled = true
}
```

<!-- schema generated by tfplugindocs -->
## Schema

### Required

- `configuration_set_id` (Number) Identifier of the site to which the machine-level AD object belongs.
- `enabled` (Boolean) Indicates whether the machine-level AD object is enabled.
- `machine_catalog_id` (String) GUID identifier of the machine catalog.

### Read-Only

- `id` (String) Identifier of the directory object.

## Import

Import is supported using the following syntax:

```shell
# WEM Directory Object can be imported by specifying the ID
terraform import citrix_wem_directory_object.example-directory-object 1234
```
10 changes: 5 additions & 5 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,13 @@ go 1.22.0
toolchain go1.23.1

require (
github.com/citrix/citrix-daas-rest-go v1.0.6
github.com/citrix/citrix-daas-rest-go v1.0.7
github.com/google/uuid v1.6.0
github.com/hashicorp/go-azure-helpers v0.71.0
github.com/hashicorp/go-multierror v1.1.1
github.com/hashicorp/terraform-plugin-docs v0.14.1
github.com/hashicorp/terraform-plugin-framework v1.12.0
github.com/hashicorp/terraform-plugin-framework-validators v0.13.0
github.com/hashicorp/terraform-plugin-framework-validators v0.14.0
github.com/hashicorp/terraform-plugin-go v0.24.0
github.com/hashicorp/terraform-plugin-log v0.9.0
github.com/hashicorp/terraform-plugin-testing v1.8.0
Expand All @@ -29,15 +29,15 @@ require (
github.com/armon/go-radix v1.0.0 // indirect
github.com/bgentry/speakeasy v0.1.0 // indirect
github.com/cloudflare/circl v1.3.7 // indirect
github.com/fatih/color v1.17.0 // indirect
github.com/fatih/color v1.18.0 // indirect
github.com/golang/protobuf v1.5.4 // indirect
github.com/google/go-cmp v0.6.0 // indirect
github.com/hashicorp/errwrap v1.1.0 // indirect
github.com/hashicorp/go-checkpoint v0.5.0 // indirect
github.com/hashicorp/go-cleanhttp v0.5.2 // indirect
github.com/hashicorp/go-cty v1.4.1-0.20200414143053-d3edf31b6320 // indirect
github.com/hashicorp/go-hclog v1.6.3 // indirect
github.com/hashicorp/go-plugin v1.6.1 // indirect
github.com/hashicorp/go-plugin v1.6.2 // indirect
github.com/hashicorp/go-uuid v1.0.3 // indirect
github.com/hashicorp/go-version v1.7.0 // indirect
github.com/hashicorp/hc-install v0.6.4 // indirect
Expand Down Expand Up @@ -75,7 +75,7 @@ require (
golang.org/x/text v0.19.0 // indirect
golang.org/x/tools v0.26.0 // indirect
google.golang.org/appengine v1.6.8 // indirect
google.golang.org/genproto/googleapis/rpc v0.0.0-20241007155032-5fefd90f89a9 // indirect
google.golang.org/genproto/googleapis/rpc v0.0.0-20241021214115-324edc3d5d38 // indirect
google.golang.org/grpc v1.67.1 // indirect
google.golang.org/protobuf v1.35.1 // indirect
)
Expand Down
Loading

0 comments on commit f7b8e00

Please sign in to comment.