Skip to content

Commit aa5ac4d

Browse files
feat(api): api update
1 parent ba79c61 commit aa5ac4d

File tree

4 files changed

+14
-14
lines changed

4 files changed

+14
-14
lines changed

.stats.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
configured_endpoints: 1793
2-
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/cloudflare%2Fcloudflare-ae3db96509d745d1e6b7044714cb8d3d8c8c6827d8c80feafb3246e1a0f1b006.yml
3-
openapi_spec_hash: f1761057d34558b437d249905e804a17
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/cloudflare%2Fcloudflare-8fa3f6e383f9d62f2d5acfe5ee8a018833116f23c7b6baba86122dcb2f705a5f.yml
3+
openapi_spec_hash: cdb5971e7386829d6460c02002543f25
44
config_hash: de4c81cee29cd7dd907279e8916b334f

internal/services/zero_trust_gateway_policy/data_source_schema.go

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -70,15 +70,15 @@ func DataSourceSchema(ctx context.Context) schema.Schema {
7070
Computed: true,
7171
},
7272
"device_posture": schema.StringAttribute{
73-
Description: "The wirefilter expression used for device posture check matching.",
73+
Description: "The wirefilter expression used for device posture check matching. The API automatically formats and sanitizes this expression. This returns a normalized version that may differ from your input and cause Terraform state drift.",
7474
Computed: true,
7575
},
7676
"enabled": schema.BoolAttribute{
7777
Description: "True if the rule is enabled.",
7878
Computed: true,
7979
},
8080
"identity": schema.StringAttribute{
81-
Description: "The wirefilter expression used for identity matching.",
81+
Description: "The wirefilter expression used for identity matching. The API automatically formats and sanitizes this expression. This returns a normalized version that may differ from your input and cause Terraform state drift.",
8282
Computed: true,
8383
},
8484
"name": schema.StringAttribute{
@@ -102,7 +102,7 @@ func DataSourceSchema(ctx context.Context) schema.Schema {
102102
Computed: true,
103103
},
104104
"traffic": schema.StringAttribute{
105-
Description: "The wirefilter expression used for traffic matching.",
105+
Description: "The wirefilter expression used for traffic matching. The API automatically formats and sanitizes this expression. This returns a normalized version that may differ from your input and cause Terraform state drift.",
106106
Computed: true,
107107
},
108108
"updated_at": schema.StringAttribute{
@@ -306,7 +306,7 @@ func DataSourceSchema(ctx context.Context) schema.Schema {
306306
CustomType: customfield.NewNestedObjectType[ZeroTrustGatewayPolicyRuleSettingsCheckSessionDataSourceModel](ctx),
307307
Attributes: map[string]schema.Attribute{
308308
"duration": schema.StringAttribute{
309-
Description: "Configure how fresh the session needs to be to be considered valid.",
309+
Description: "Configure how fresh the session needs to be to be considered valid. The API automatically formats and sanitizes this expression. This returns a normalized version that may differ from your input and cause Terraform state drift.",
310310
Computed: true,
311311
},
312312
"enforce": schema.BoolAttribute{

internal/services/zero_trust_gateway_policy/list_data_source_schema.go

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ func ListDataSourceSchema(ctx context.Context) schema.Schema {
9191
Computed: true,
9292
},
9393
"traffic": schema.StringAttribute{
94-
Description: "The wirefilter expression used for traffic matching.",
94+
Description: "The wirefilter expression used for traffic matching. The API automatically formats and sanitizes this expression. This returns a normalized version that may differ from your input and cause Terraform state drift.",
9595
Computed: true,
9696
},
9797
"id": schema.StringAttribute{
@@ -112,7 +112,7 @@ func ListDataSourceSchema(ctx context.Context) schema.Schema {
112112
Computed: true,
113113
},
114114
"device_posture": schema.StringAttribute{
115-
Description: "The wirefilter expression used for device posture check matching.",
115+
Description: "The wirefilter expression used for device posture check matching. The API automatically formats and sanitizes this expression. This returns a normalized version that may differ from your input and cause Terraform state drift.",
116116
Computed: true,
117117
},
118118
"expiration": schema.SingleNestedAttribute{
@@ -139,7 +139,7 @@ func ListDataSourceSchema(ctx context.Context) schema.Schema {
139139
},
140140
},
141141
"identity": schema.StringAttribute{
142-
Description: "The wirefilter expression used for identity matching.",
142+
Description: "The wirefilter expression used for identity matching. The API automatically formats and sanitizes this expression. This returns a normalized version that may differ from your input and cause Terraform state drift.",
143143
Computed: true,
144144
},
145145
"not_sharable": schema.BoolAttribute{
@@ -299,7 +299,7 @@ func ListDataSourceSchema(ctx context.Context) schema.Schema {
299299
CustomType: customfield.NewNestedObjectType[ZeroTrustGatewayPoliciesRuleSettingsCheckSessionDataSourceModel](ctx),
300300
Attributes: map[string]schema.Attribute{
301301
"duration": schema.StringAttribute{
302-
Description: "Configure how fresh the session needs to be to be considered valid.",
302+
Description: "Configure how fresh the session needs to be to be considered valid. The API automatically formats and sanitizes this expression. This returns a normalized version that may differ from your input and cause Terraform state drift.",
303303
Computed: true,
304304
},
305305
"enforce": schema.BoolAttribute{

internal/services/zero_trust_gateway_policy/schema.go

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ func ResourceSchema(ctx context.Context) schema.Schema {
8787
ElementType: types.StringType,
8888
},
8989
"device_posture": schema.StringAttribute{
90-
Description: "The wirefilter expression used for device posture check matching.",
90+
Description: "The wirefilter expression used for device posture check matching. The API automatically formats and sanitizes this expression. This returns a normalized version that may differ from your input and cause Terraform state drift.",
9191
Computed: true,
9292
Optional: true,
9393
Default: stringdefault.StaticString(""),
@@ -99,13 +99,13 @@ func ResourceSchema(ctx context.Context) schema.Schema {
9999
Default: booldefault.StaticBool(false),
100100
},
101101
"identity": schema.StringAttribute{
102-
Description: "The wirefilter expression used for identity matching.",
102+
Description: "The wirefilter expression used for identity matching. The API automatically formats and sanitizes this expression. This returns a normalized version that may differ from your input and cause Terraform state drift.",
103103
Computed: true,
104104
Optional: true,
105105
Default: stringdefault.StaticString(""),
106106
},
107107
"traffic": schema.StringAttribute{
108-
Description: "The wirefilter expression used for traffic matching.",
108+
Description: "The wirefilter expression used for traffic matching. The API automatically formats and sanitizes this expression. This returns a normalized version that may differ from your input and cause Terraform state drift.",
109109
Computed: true,
110110
Optional: true,
111111
Default: stringdefault.StaticString(""),
@@ -294,7 +294,7 @@ func ResourceSchema(ctx context.Context) schema.Schema {
294294
Optional: true,
295295
Attributes: map[string]schema.Attribute{
296296
"duration": schema.StringAttribute{
297-
Description: "Configure how fresh the session needs to be to be considered valid.",
297+
Description: "Configure how fresh the session needs to be to be considered valid. The API automatically formats and sanitizes this expression. This returns a normalized version that may differ from your input and cause Terraform state drift.",
298298
Optional: true,
299299
},
300300
"enforce": schema.BoolAttribute{

0 commit comments

Comments
 (0)