Skip to content

Commit 77e67cb

Browse files
api-clients-generation-pipeline[bot]ci.datadog-api-spec
andauthored
Mark ServiceNow Integration endpoints as stable (#1410)
Co-authored-by: ci.datadog-api-spec <packages@datadoghq.com>
1 parent 2d1532c commit 77e67cb

13 files changed

Lines changed: 32 additions & 173 deletions

.generator/schemas/v2/openapi.yaml

Lines changed: 0 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -87463,9 +87463,6 @@ paths:
8746387463
summary: List ServiceNow assignment groups
8746487464
tags:
8746587465
- ServiceNow Integration
87466-
x-unstable: |-
87467-
**Note**: This endpoint is in public beta and is subject to change.
87468-
If you have any feedback, contact [Datadog support](https://docs.datadoghq.com/help/).
8746987466
/api/v2/integration/servicenow/business_services/{instance_id}:
8747087467
get:
8747187468
description: |-
@@ -87504,9 +87501,6 @@ paths:
8750487501
summary: List ServiceNow business services
8750587502
tags:
8750687503
- ServiceNow Integration
87507-
x-unstable: |-
87508-
**Note**: This endpoint is in public beta and is subject to change.
87509-
If you have any feedback, contact [Datadog support](https://docs.datadoghq.com/help/).
8751087504
/api/v2/integration/servicenow/handles:
8751187505
get:
8751287506
description: |-
@@ -87524,9 +87518,6 @@ paths:
8752487518
summary: List ServiceNow templates
8752587519
tags:
8752687520
- ServiceNow Integration
87527-
x-unstable: |-
87528-
**Note**: This endpoint is in public beta and is subject to change.
87529-
If you have any feedback, contact [Datadog support](https://docs.datadoghq.com/help/).
8753087521
post:
8753187522
description: |-
8753287523
Create a new ServiceNow template.
@@ -87555,9 +87546,6 @@ paths:
8755587546
summary: Create ServiceNow template
8755687547
tags:
8755787548
- ServiceNow Integration
87558-
x-unstable: |-
87559-
**Note**: This endpoint is in public beta and is subject to change.
87560-
If you have any feedback, contact [Datadog support](https://docs.datadoghq.com/help/).
8756187549
/api/v2/integration/servicenow/handles/{template_id}:
8756287550
delete:
8756387551
description: |-
@@ -87592,9 +87580,6 @@ paths:
8759287580
summary: Delete ServiceNow template
8759387581
tags:
8759487582
- ServiceNow Integration
87595-
x-unstable: |-
87596-
**Note**: This endpoint is in public beta and is subject to change.
87597-
If you have any feedback, contact [Datadog support](https://docs.datadoghq.com/help/).
8759887583
get:
8759987584
description: |-
8760087585
Get a ServiceNow template by ID.
@@ -87632,9 +87617,6 @@ paths:
8763287617
summary: Get ServiceNow template
8763387618
tags:
8763487619
- ServiceNow Integration
87635-
x-unstable: |-
87636-
**Note**: This endpoint is in public beta and is subject to change.
87637-
If you have any feedback, contact [Datadog support](https://docs.datadoghq.com/help/).
8763887620
put:
8763987621
description: |-
8764087622
Update a ServiceNow template by ID.
@@ -87678,9 +87660,6 @@ paths:
8767887660
summary: Update ServiceNow template
8767987661
tags:
8768087662
- ServiceNow Integration
87681-
x-unstable: |-
87682-
**Note**: This endpoint is in public beta and is subject to change.
87683-
If you have any feedback, contact [Datadog support](https://docs.datadoghq.com/help/).
8768487663
/api/v2/integration/servicenow/instances:
8768587664
get:
8768687665
description: |-
@@ -87704,9 +87683,6 @@ paths:
8770487683
summary: List ServiceNow instances
8770587684
tags:
8770687685
- ServiceNow Integration
87707-
x-unstable: |-
87708-
**Note**: This endpoint is in public beta and is subject to change.
87709-
If you have any feedback, contact [Datadog support](https://docs.datadoghq.com/help/).
8771087686
/api/v2/integration/servicenow/users/{instance_id}:
8771187687
get:
8771287688
description: |-
@@ -87745,9 +87721,6 @@ paths:
8774587721
summary: List ServiceNow users
8774687722
tags:
8774787723
- ServiceNow Integration
87748-
x-unstable: |-
87749-
**Note**: This endpoint is in public beta and is subject to change.
87750-
If you have any feedback, contact [Datadog support](https://docs.datadoghq.com/help/).
8775187724
/api/v2/integrations:
8775287725
get:
8775387726
operationId: ListIntegrations

examples/v2_servicenow-integration_CreateServiceNowTemplate.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,7 @@ async fn main() {
2929
.user_id(Uuid::parse_str("65b3341b-0680-47f9-a6d4-134db45c603e").expect("invalid UUID")),
3030
ServiceNowTemplateType::SERVICENOW_TEMPLATES,
3131
));
32-
let mut configuration = datadog::Configuration::new();
33-
configuration.set_unstable_operation_enabled("v2.CreateServiceNowTemplate", true);
32+
let configuration = datadog::Configuration::new();
3433
let api = ServiceNowIntegrationAPI::with_config(configuration);
3534
let resp = api.create_service_now_template(body).await;
3635
if let Ok(value) = resp {

examples/v2_servicenow-integration_DeleteServiceNowTemplate.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,7 @@ use uuid::Uuid;
55

66
#[tokio::main]
77
async fn main() {
8-
let mut configuration = datadog::Configuration::new();
9-
configuration.set_unstable_operation_enabled("v2.DeleteServiceNowTemplate", true);
8+
let configuration = datadog::Configuration::new();
109
let api = ServiceNowIntegrationAPI::with_config(configuration);
1110
let resp = api
1211
.delete_service_now_template(

examples/v2_servicenow-integration_GetServiceNowTemplate.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,7 @@ use uuid::Uuid;
55

66
#[tokio::main]
77
async fn main() {
8-
let mut configuration = datadog::Configuration::new();
9-
configuration.set_unstable_operation_enabled("v2.GetServiceNowTemplate", true);
8+
let configuration = datadog::Configuration::new();
109
let api = ServiceNowIntegrationAPI::with_config(configuration);
1110
let resp = api
1211
.get_service_now_template(

examples/v2_servicenow-integration_ListServiceNowAssignmentGroups.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,7 @@ use uuid::Uuid;
55

66
#[tokio::main]
77
async fn main() {
8-
let mut configuration = datadog::Configuration::new();
9-
configuration.set_unstable_operation_enabled("v2.ListServiceNowAssignmentGroups", true);
8+
let configuration = datadog::Configuration::new();
109
let api = ServiceNowIntegrationAPI::with_config(configuration);
1110
let resp = api
1211
.list_service_now_assignment_groups(

examples/v2_servicenow-integration_ListServiceNowBusinessServices.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,7 @@ use uuid::Uuid;
55

66
#[tokio::main]
77
async fn main() {
8-
let mut configuration = datadog::Configuration::new();
9-
configuration.set_unstable_operation_enabled("v2.ListServiceNowBusinessServices", true);
8+
let configuration = datadog::Configuration::new();
109
let api = ServiceNowIntegrationAPI::with_config(configuration);
1110
let resp = api
1211
.list_service_now_business_services(

examples/v2_servicenow-integration_ListServiceNowInstances.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,7 @@ use datadog_api_client::datadogV2::api_service_now_integration::ServiceNowIntegr
44

55
#[tokio::main]
66
async fn main() {
7-
let mut configuration = datadog::Configuration::new();
8-
configuration.set_unstable_operation_enabled("v2.ListServiceNowInstances", true);
7+
let configuration = datadog::Configuration::new();
98
let api = ServiceNowIntegrationAPI::with_config(configuration);
109
let resp = api.list_service_now_instances().await;
1110
if let Ok(value) = resp {

examples/v2_servicenow-integration_ListServiceNowTemplates.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,7 @@ use datadog_api_client::datadogV2::api_service_now_integration::ServiceNowIntegr
44

55
#[tokio::main]
66
async fn main() {
7-
let mut configuration = datadog::Configuration::new();
8-
configuration.set_unstable_operation_enabled("v2.ListServiceNowTemplates", true);
7+
let configuration = datadog::Configuration::new();
98
let api = ServiceNowIntegrationAPI::with_config(configuration);
109
let resp = api.list_service_now_templates().await;
1110
if let Ok(value) = resp {

examples/v2_servicenow-integration_ListServiceNowUsers.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,7 @@ use uuid::Uuid;
55

66
#[tokio::main]
77
async fn main() {
8-
let mut configuration = datadog::Configuration::new();
9-
configuration.set_unstable_operation_enabled("v2.ListServiceNowUsers", true);
8+
let configuration = datadog::Configuration::new();
109
let api = ServiceNowIntegrationAPI::with_config(configuration);
1110
let resp = api
1211
.list_service_now_users(

examples/v2_servicenow-integration_UpdateServiceNowTemplate.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,7 @@ async fn main() {
2929
.user_id(Uuid::parse_str("65b3341b-0680-47f9-a6d4-134db45c603e").expect("invalid UUID")),
3030
ServiceNowTemplateType::SERVICENOW_TEMPLATES,
3131
));
32-
let mut configuration = datadog::Configuration::new();
33-
configuration.set_unstable_operation_enabled("v2.UpdateServiceNowTemplate", true);
32+
let configuration = datadog::Configuration::new();
3433
let api = ServiceNowIntegrationAPI::with_config(configuration);
3534
let resp = api
3635
.update_service_now_template(

0 commit comments

Comments
 (0)