All URIs are relative to https://api.eu-west-2.outscale.com/api/v1
CreateListenerRuleResponse createListenerRule(createListenerRuleRequest)
// Import classes:
import io .github .outscale .osc_sdk_java .client .ApiClient ;
import io .github .outscale .osc_sdk_java .client .ApiException ;
import io .github .outscale .osc_sdk_java .client .Configuration ;
import io .github .outscale .osc_sdk_java .client .auth .*;
import io .github .outscale .osc_sdk_java .client .models .*;
import io .github .outscale .osc_sdk_java .client .api .ListenerApi ;
public class Example {
public static void main (String [] args ) {
ApiClient defaultClient = Configuration .getDefaultApiClient ();
defaultClient .setBasePath ("https://api.eu-west-2.outscale.com/api/v1" );
// Configure AWS Signature V4 authorization
defaultClient .setAWS4Configuration ("YOUR_ACCESS_KEY" , "YOUR_SECRET_KEY" , "REGION" , "SERVICE" )
// Configure API key authorization: ApiKeyAuth
ApiKeyAuth ApiKeyAuth = (ApiKeyAuth ) defaultClient .getAuthentication ("ApiKeyAuth" );
ApiKeyAuth .setApiKey ("YOUR API KEY" );
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//ApiKeyAuth.setApiKeyPrefix("Token");
ListenerApi apiInstance = new ListenerApi (defaultClient );
CreateListenerRuleRequest createListenerRuleRequest = new CreateListenerRuleRequest (); // CreateListenerRuleRequest |
try {
CreateListenerRuleResponse result = apiInstance .createListenerRule (createListenerRuleRequest );
System .out .println (result );
} catch (ApiException e ) {
System .err .println ("Exception when calling ListenerApi#createListenerRule" );
System .err .println ("Status code: " + e .getCode ());
System .err .println ("Reason: " + e .getResponseBody ());
System .err .println ("Response headers: " + e .getResponseHeaders ());
e .printStackTrace ();
}
}
}
CreateListenerRuleResponse
ApiKeyAuth
HTTP request headers
Content-Type : application/json
Accept : application/json
Status code
Description
Response headers
200
The HTTP 200 response (OK).
-
createLoadBalancerListeners
CreateLoadBalancerListenersResponse createLoadBalancerListeners(createLoadBalancerListenersRequest)
// Import classes:
import io .github .outscale .osc_sdk_java .client .ApiClient ;
import io .github .outscale .osc_sdk_java .client .ApiException ;
import io .github .outscale .osc_sdk_java .client .Configuration ;
import io .github .outscale .osc_sdk_java .client .auth .*;
import io .github .outscale .osc_sdk_java .client .models .*;
import io .github .outscale .osc_sdk_java .client .api .ListenerApi ;
public class Example {
public static void main (String [] args ) {
ApiClient defaultClient = Configuration .getDefaultApiClient ();
defaultClient .setBasePath ("https://api.eu-west-2.outscale.com/api/v1" );
// Configure AWS Signature V4 authorization
defaultClient .setAWS4Configuration ("YOUR_ACCESS_KEY" , "YOUR_SECRET_KEY" , "REGION" , "SERVICE" )
// Configure API key authorization: ApiKeyAuth
ApiKeyAuth ApiKeyAuth = (ApiKeyAuth ) defaultClient .getAuthentication ("ApiKeyAuth" );
ApiKeyAuth .setApiKey ("YOUR API KEY" );
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//ApiKeyAuth.setApiKeyPrefix("Token");
ListenerApi apiInstance = new ListenerApi (defaultClient );
CreateLoadBalancerListenersRequest createLoadBalancerListenersRequest = new CreateLoadBalancerListenersRequest (); // CreateLoadBalancerListenersRequest |
try {
CreateLoadBalancerListenersResponse result = apiInstance .createLoadBalancerListeners (createLoadBalancerListenersRequest );
System .out .println (result );
} catch (ApiException e ) {
System .err .println ("Exception when calling ListenerApi#createLoadBalancerListeners" );
System .err .println ("Status code: " + e .getCode ());
System .err .println ("Reason: " + e .getResponseBody ());
System .err .println ("Response headers: " + e .getResponseHeaders ());
e .printStackTrace ();
}
}
}
CreateLoadBalancerListenersResponse
ApiKeyAuth
HTTP request headers
Content-Type : application/json
Accept : application/json
Status code
Description
Response headers
200
The HTTP 200 response (OK).
-
DeleteListenerRuleResponse deleteListenerRule(deleteListenerRuleRequest)
// Import classes:
import io .github .outscale .osc_sdk_java .client .ApiClient ;
import io .github .outscale .osc_sdk_java .client .ApiException ;
import io .github .outscale .osc_sdk_java .client .Configuration ;
import io .github .outscale .osc_sdk_java .client .auth .*;
import io .github .outscale .osc_sdk_java .client .models .*;
import io .github .outscale .osc_sdk_java .client .api .ListenerApi ;
public class Example {
public static void main (String [] args ) {
ApiClient defaultClient = Configuration .getDefaultApiClient ();
defaultClient .setBasePath ("https://api.eu-west-2.outscale.com/api/v1" );
// Configure AWS Signature V4 authorization
defaultClient .setAWS4Configuration ("YOUR_ACCESS_KEY" , "YOUR_SECRET_KEY" , "REGION" , "SERVICE" )
// Configure API key authorization: ApiKeyAuth
ApiKeyAuth ApiKeyAuth = (ApiKeyAuth ) defaultClient .getAuthentication ("ApiKeyAuth" );
ApiKeyAuth .setApiKey ("YOUR API KEY" );
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//ApiKeyAuth.setApiKeyPrefix("Token");
ListenerApi apiInstance = new ListenerApi (defaultClient );
DeleteListenerRuleRequest deleteListenerRuleRequest = new DeleteListenerRuleRequest (); // DeleteListenerRuleRequest |
try {
DeleteListenerRuleResponse result = apiInstance .deleteListenerRule (deleteListenerRuleRequest );
System .out .println (result );
} catch (ApiException e ) {
System .err .println ("Exception when calling ListenerApi#deleteListenerRule" );
System .err .println ("Status code: " + e .getCode ());
System .err .println ("Reason: " + e .getResponseBody ());
System .err .println ("Response headers: " + e .getResponseHeaders ());
e .printStackTrace ();
}
}
}
DeleteListenerRuleResponse
ApiKeyAuth
HTTP request headers
Content-Type : application/json
Accept : application/json
Status code
Description
Response headers
200
The HTTP 200 response (OK).
-
deleteLoadBalancerListeners
DeleteLoadBalancerListenersResponse deleteLoadBalancerListeners(deleteLoadBalancerListenersRequest)
// Import classes:
import io .github .outscale .osc_sdk_java .client .ApiClient ;
import io .github .outscale .osc_sdk_java .client .ApiException ;
import io .github .outscale .osc_sdk_java .client .Configuration ;
import io .github .outscale .osc_sdk_java .client .auth .*;
import io .github .outscale .osc_sdk_java .client .models .*;
import io .github .outscale .osc_sdk_java .client .api .ListenerApi ;
public class Example {
public static void main (String [] args ) {
ApiClient defaultClient = Configuration .getDefaultApiClient ();
defaultClient .setBasePath ("https://api.eu-west-2.outscale.com/api/v1" );
// Configure AWS Signature V4 authorization
defaultClient .setAWS4Configuration ("YOUR_ACCESS_KEY" , "YOUR_SECRET_KEY" , "REGION" , "SERVICE" )
// Configure API key authorization: ApiKeyAuth
ApiKeyAuth ApiKeyAuth = (ApiKeyAuth ) defaultClient .getAuthentication ("ApiKeyAuth" );
ApiKeyAuth .setApiKey ("YOUR API KEY" );
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//ApiKeyAuth.setApiKeyPrefix("Token");
ListenerApi apiInstance = new ListenerApi (defaultClient );
DeleteLoadBalancerListenersRequest deleteLoadBalancerListenersRequest = new DeleteLoadBalancerListenersRequest (); // DeleteLoadBalancerListenersRequest |
try {
DeleteLoadBalancerListenersResponse result = apiInstance .deleteLoadBalancerListeners (deleteLoadBalancerListenersRequest );
System .out .println (result );
} catch (ApiException e ) {
System .err .println ("Exception when calling ListenerApi#deleteLoadBalancerListeners" );
System .err .println ("Status code: " + e .getCode ());
System .err .println ("Reason: " + e .getResponseBody ());
System .err .println ("Response headers: " + e .getResponseHeaders ());
e .printStackTrace ();
}
}
}
DeleteLoadBalancerListenersResponse
ApiKeyAuth
HTTP request headers
Content-Type : application/json
Accept : application/json
Status code
Description
Response headers
200
The HTTP 200 response (OK).
-
ReadListenerRulesResponse readListenerRules(readListenerRulesRequest)
// Import classes:
import io .github .outscale .osc_sdk_java .client .ApiClient ;
import io .github .outscale .osc_sdk_java .client .ApiException ;
import io .github .outscale .osc_sdk_java .client .Configuration ;
import io .github .outscale .osc_sdk_java .client .auth .*;
import io .github .outscale .osc_sdk_java .client .models .*;
import io .github .outscale .osc_sdk_java .client .api .ListenerApi ;
public class Example {
public static void main (String [] args ) {
ApiClient defaultClient = Configuration .getDefaultApiClient ();
defaultClient .setBasePath ("https://api.eu-west-2.outscale.com/api/v1" );
// Configure AWS Signature V4 authorization
defaultClient .setAWS4Configuration ("YOUR_ACCESS_KEY" , "YOUR_SECRET_KEY" , "REGION" , "SERVICE" )
// Configure API key authorization: ApiKeyAuth
ApiKeyAuth ApiKeyAuth = (ApiKeyAuth ) defaultClient .getAuthentication ("ApiKeyAuth" );
ApiKeyAuth .setApiKey ("YOUR API KEY" );
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//ApiKeyAuth.setApiKeyPrefix("Token");
ListenerApi apiInstance = new ListenerApi (defaultClient );
ReadListenerRulesRequest readListenerRulesRequest = new ReadListenerRulesRequest (); // ReadListenerRulesRequest |
try {
ReadListenerRulesResponse result = apiInstance .readListenerRules (readListenerRulesRequest );
System .out .println (result );
} catch (ApiException e ) {
System .err .println ("Exception when calling ListenerApi#readListenerRules" );
System .err .println ("Status code: " + e .getCode ());
System .err .println ("Reason: " + e .getResponseBody ());
System .err .println ("Response headers: " + e .getResponseHeaders ());
e .printStackTrace ();
}
}
}
ReadListenerRulesResponse
ApiKeyAuth
HTTP request headers
Content-Type : application/json
Accept : application/json
Status code
Description
Response headers
200
The HTTP 200 response (OK).
-
UpdateListenerRuleResponse updateListenerRule(updateListenerRuleRequest)
// Import classes:
import io .github .outscale .osc_sdk_java .client .ApiClient ;
import io .github .outscale .osc_sdk_java .client .ApiException ;
import io .github .outscale .osc_sdk_java .client .Configuration ;
import io .github .outscale .osc_sdk_java .client .auth .*;
import io .github .outscale .osc_sdk_java .client .models .*;
import io .github .outscale .osc_sdk_java .client .api .ListenerApi ;
public class Example {
public static void main (String [] args ) {
ApiClient defaultClient = Configuration .getDefaultApiClient ();
defaultClient .setBasePath ("https://api.eu-west-2.outscale.com/api/v1" );
// Configure AWS Signature V4 authorization
defaultClient .setAWS4Configuration ("YOUR_ACCESS_KEY" , "YOUR_SECRET_KEY" , "REGION" , "SERVICE" )
// Configure API key authorization: ApiKeyAuth
ApiKeyAuth ApiKeyAuth = (ApiKeyAuth ) defaultClient .getAuthentication ("ApiKeyAuth" );
ApiKeyAuth .setApiKey ("YOUR API KEY" );
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//ApiKeyAuth.setApiKeyPrefix("Token");
ListenerApi apiInstance = new ListenerApi (defaultClient );
UpdateListenerRuleRequest updateListenerRuleRequest = new UpdateListenerRuleRequest (); // UpdateListenerRuleRequest |
try {
UpdateListenerRuleResponse result = apiInstance .updateListenerRule (updateListenerRuleRequest );
System .out .println (result );
} catch (ApiException e ) {
System .err .println ("Exception when calling ListenerApi#updateListenerRule" );
System .err .println ("Status code: " + e .getCode ());
System .err .println ("Reason: " + e .getResponseBody ());
System .err .println ("Response headers: " + e .getResponseHeaders ());
e .printStackTrace ();
}
}
}
UpdateListenerRuleResponse
ApiKeyAuth
HTTP request headers
Content-Type : application/json
Accept : application/json
Status code
Description
Response headers
200
The HTTP 200 response (OK).
-