From Code to Community: Sponsoring The Perl and Raku Conference 2025 Learn more

WebService::Fastly::ProductDomainInspectorApi

Load the API package

[!NOTE] All URIs are relative to https://api.fastly.com

Method | HTTP request | Description ------ | ------------ | ----------- disable_product_domain_inspector | DELETE /enabled-products/v1/domain_inspector/services/{service_id} | Disable product enable_product_domain_inspector | PUT /enabled-products/v1/domain_inspector/services/{service_id} | Enable product get_product_domain_inspector | GET /enabled-products/v1/domain_inspector/services/{service_id} | Get product enablement status

disable_product_domain_inspector

disable_product_domain_inspector(service_id => $service_id)

Disable product

Disable the Domain Inspector product on a service.

Example

my $api_instance = WebService::Fastly::ProductDomainInspectorApi->new(
# Configure API key authorization: token
api_key => {'Fastly-Key' => 'YOUR_API_KEY'},
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#api_key_prefix => {'Fastly-Key' => 'Bearer'},
);
my $service_id = "service_id_example"; # string | Alphanumeric string identifying the service.
eval {
$api_instance->disable_product_domain_inspector(service_id => $service_id);
};
if ($@) {
warn "Exception when calling ProductDomainInspectorApi->disable_product_domain_inspector: $@\n";
}

Parameters

Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- service_id | string| Alphanumeric string identifying the service. |

Return type

void (empty response body)

Authorization

token

HTTP request headers

[Back to top] [Back to API list] [Back to Model list] [Back to README]

enable_product_domain_inspector

DomainInspectorResponseBodyEnable enable_product_domain_inspector(service_id => $service_id)

Enable product

Enable the Domain Inspector product on a service.

Example

my $api_instance = WebService::Fastly::ProductDomainInspectorApi->new(
# Configure API key authorization: token
api_key => {'Fastly-Key' => 'YOUR_API_KEY'},
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#api_key_prefix => {'Fastly-Key' => 'Bearer'},
);
my $service_id = "service_id_example"; # string | Alphanumeric string identifying the service.
eval {
my $result = $api_instance->enable_product_domain_inspector(service_id => $service_id);
print Dumper($result);
};
if ($@) {
warn "Exception when calling ProductDomainInspectorApi->enable_product_domain_inspector: $@\n";
}

Parameters

Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- service_id | string| Alphanumeric string identifying the service. |

Return type

DomainInspectorResponseBodyEnable

Authorization

token

HTTP request headers

[Back to top] [Back to API list] [Back to Model list] [Back to README]

get_product_domain_inspector

DomainInspectorResponseBodyEnable get_product_domain_inspector(service_id => $service_id)

Get product enablement status

Get the enablement status of the Domain Inspector product on a service.

Example

my $api_instance = WebService::Fastly::ProductDomainInspectorApi->new(
# Configure API key authorization: token
api_key => {'Fastly-Key' => 'YOUR_API_KEY'},
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#api_key_prefix => {'Fastly-Key' => 'Bearer'},
);
my $service_id = "service_id_example"; # string | Alphanumeric string identifying the service.
eval {
my $result = $api_instance->get_product_domain_inspector(service_id => $service_id);
print Dumper($result);
};
if ($@) {
warn "Exception when calling ProductDomainInspectorApi->get_product_domain_inspector: $@\n";
}

Parameters

Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- service_id | string| Alphanumeric string identifying the service. |

Return type

DomainInspectorResponseBodyEnable

Authorization

token

HTTP request headers

[Back to top] [Back to API list] [Back to Model list] [Back to README]