getCpsNamespaceCascadeProperty
Get cascade CPS property
/cps/namespace/{namespace}/prefix/{prefix}/suffix/{suffix}
Usage and SDK Samples
curl -X GET\
-H "Accept: application/json"\
"//cps/namespace/{namespace}/prefix/{prefix}/suffix/{suffix}?infixes="
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.ConfigurationPropertyStoreAPIApi;
import java.io.File;
import java.util.*;
public class ConfigurationPropertyStoreAPIApiExample {
public static void main(String[] args) {
ConfigurationPropertyStoreAPIApi apiInstance = new ConfigurationPropertyStoreAPIApi();
String namespace = namespace_example; // String | Property Namespace. The first character of the namespace must be in the 'a'-'z' or 'A'-'Z' ranges,
and following characters can be 'a'-'z' or 'A'-'Z' or '0'-'9'
String prefix = prefix_example; // String | Property Prefix. The first character of the namespace must be in the 'a'-'z' or 'A'-'Z' ranges,
and following characters can be 'a'-'z', 'A'-'Z', '0'-'9', '.' (period), '-' (dash) or '_' (underscore)
String suffix = suffix_example; // String | Property suffix. The first character of the namespace must be in the 'a'-'z' or 'A'-'Z' ranges,
and following characters can be 'a'-'z', 'A'-'Z', '0'-'9', '.' (period), '-' (dash) or '_' (underscore)
array[String] infixes = ; // array[String] | Property infixes. The first character of the namespace must be in the 'a'-'z' or 'A'-'Z' ranges,
and following characters can be 'a'-'z', 'A'-'Z', '0'-'9', '.' (period), '-' (dash) or '_' (underscore)
try {
CpsProperty result = apiInstance.getCpsNamespaceCascadeProperty(namespace, prefix, suffix, infixes);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling ConfigurationPropertyStoreAPIApi#getCpsNamespaceCascadeProperty");
e.printStackTrace();
}
}
}
import io.swagger.client.api.ConfigurationPropertyStoreAPIApi;
public class ConfigurationPropertyStoreAPIApiExample {
public static void main(String[] args) {
ConfigurationPropertyStoreAPIApi apiInstance = new ConfigurationPropertyStoreAPIApi();
String namespace = namespace_example; // String | Property Namespace. The first character of the namespace must be in the 'a'-'z' or 'A'-'Z' ranges,
and following characters can be 'a'-'z' or 'A'-'Z' or '0'-'9'
String prefix = prefix_example; // String | Property Prefix. The first character of the namespace must be in the 'a'-'z' or 'A'-'Z' ranges,
and following characters can be 'a'-'z', 'A'-'Z', '0'-'9', '.' (period), '-' (dash) or '_' (underscore)
String suffix = suffix_example; // String | Property suffix. The first character of the namespace must be in the 'a'-'z' or 'A'-'Z' ranges,
and following characters can be 'a'-'z', 'A'-'Z', '0'-'9', '.' (period), '-' (dash) or '_' (underscore)
array[String] infixes = ; // array[String] | Property infixes. The first character of the namespace must be in the 'a'-'z' or 'A'-'Z' ranges,
and following characters can be 'a'-'z', 'A'-'Z', '0'-'9', '.' (period), '-' (dash) or '_' (underscore)
try {
CpsProperty result = apiInstance.getCpsNamespaceCascadeProperty(namespace, prefix, suffix, infixes);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling ConfigurationPropertyStoreAPIApi#getCpsNamespaceCascadeProperty");
e.printStackTrace();
}
}
}
String *namespace = namespace_example; // Property Namespace. The first character of the namespace must be in the 'a'-'z' or 'A'-'Z' ranges,
and following characters can be 'a'-'z' or 'A'-'Z' or '0'-'9'
String *prefix = prefix_example; // Property Prefix. The first character of the namespace must be in the 'a'-'z' or 'A'-'Z' ranges,
and following characters can be 'a'-'z', 'A'-'Z', '0'-'9', '.' (period), '-' (dash) or '_' (underscore)
String *suffix = suffix_example; // Property suffix. The first character of the namespace must be in the 'a'-'z' or 'A'-'Z' ranges,
and following characters can be 'a'-'z', 'A'-'Z', '0'-'9', '.' (period), '-' (dash) or '_' (underscore)
array[String] *infixes = ; // Property infixes. The first character of the namespace must be in the 'a'-'z' or 'A'-'Z' ranges,
and following characters can be 'a'-'z', 'A'-'Z', '0'-'9', '.' (period), '-' (dash) or '_' (underscore)
(optional)
ConfigurationPropertyStoreAPIApi *apiInstance = [[ConfigurationPropertyStoreAPIApi alloc] init];
// Get cascade CPS property
[apiInstance getCpsNamespaceCascadePropertyWith:namespace
prefix:prefix
suffix:suffix
infixes:infixes
completionHandler: ^(CpsProperty output, NSError* error) {
if (output) {
NSLog(@"%@", output);
}
if (error) {
NSLog(@"Error: %@", error);
}
}];
var GalasaEcosystemApi = require('galasa_ecosystem_api');
var api = new GalasaEcosystemApi.ConfigurationPropertyStoreAPIApi()
var namespace = namespace_example; // {{String}} Property Namespace. The first character of the namespace must be in the 'a'-'z' or 'A'-'Z' ranges,
and following characters can be 'a'-'z' or 'A'-'Z' or '0'-'9'
var prefix = prefix_example; // {{String}} Property Prefix. The first character of the namespace must be in the 'a'-'z' or 'A'-'Z' ranges,
and following characters can be 'a'-'z', 'A'-'Z', '0'-'9', '.' (period), '-' (dash) or '_' (underscore)
var suffix = suffix_example; // {{String}} Property suffix. The first character of the namespace must be in the 'a'-'z' or 'A'-'Z' ranges,
and following characters can be 'a'-'z', 'A'-'Z', '0'-'9', '.' (period), '-' (dash) or '_' (underscore)
var opts = {
'infixes': // {{array[String]}} Property infixes. The first character of the namespace must be in the 'a'-'z' or 'A'-'Z' ranges,
and following characters can be 'a'-'z', 'A'-'Z', '0'-'9', '.' (period), '-' (dash) or '_' (underscore)
};
var callback = function(error, data, response) {
if (error) {
console.error(error);
} else {
console.log('API called successfully. Returned data: ' + data);
}
};
api.getCpsNamespaceCascadeProperty(namespace, prefix, suffix, opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;
namespace Example
{
public class getCpsNamespaceCascadePropertyExample
{
public void main()
{
var apiInstance = new ConfigurationPropertyStoreAPIApi();
var namespace = namespace_example; // String | Property Namespace. The first character of the namespace must be in the 'a'-'z' or 'A'-'Z' ranges,
and following characters can be 'a'-'z' or 'A'-'Z' or '0'-'9'
var prefix = prefix_example; // String | Property Prefix. The first character of the namespace must be in the 'a'-'z' or 'A'-'Z' ranges,
and following characters can be 'a'-'z', 'A'-'Z', '0'-'9', '.' (period), '-' (dash) or '_' (underscore)
var suffix = suffix_example; // String | Property suffix. The first character of the namespace must be in the 'a'-'z' or 'A'-'Z' ranges,
and following characters can be 'a'-'z', 'A'-'Z', '0'-'9', '.' (period), '-' (dash) or '_' (underscore)
var infixes = new array[String](); // array[String] | Property infixes. The first character of the namespace must be in the 'a'-'z' or 'A'-'Z' ranges,
and following characters can be 'a'-'z', 'A'-'Z', '0'-'9', '.' (period), '-' (dash) or '_' (underscore)
(optional)
try
{
// Get cascade CPS property
CpsProperty result = apiInstance.getCpsNamespaceCascadeProperty(namespace, prefix, suffix, infixes);
Debug.WriteLine(result);
}
catch (Exception e)
{
Debug.Print("Exception when calling ConfigurationPropertyStoreAPIApi.getCpsNamespaceCascadeProperty: " + e.Message );
}
}
}
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');
$api_instance = new Swagger\Client\ApiConfigurationPropertyStoreAPIApi();
$namespace = namespace_example; // String | Property Namespace. The first character of the namespace must be in the 'a'-'z' or 'A'-'Z' ranges,
and following characters can be 'a'-'z' or 'A'-'Z' or '0'-'9'
$prefix = prefix_example; // String | Property Prefix. The first character of the namespace must be in the 'a'-'z' or 'A'-'Z' ranges,
and following characters can be 'a'-'z', 'A'-'Z', '0'-'9', '.' (period), '-' (dash) or '_' (underscore)
$suffix = suffix_example; // String | Property suffix. The first character of the namespace must be in the 'a'-'z' or 'A'-'Z' ranges,
and following characters can be 'a'-'z', 'A'-'Z', '0'-'9', '.' (period), '-' (dash) or '_' (underscore)
$infixes = ; // array[String] | Property infixes. The first character of the namespace must be in the 'a'-'z' or 'A'-'Z' ranges,
and following characters can be 'a'-'z', 'A'-'Z', '0'-'9', '.' (period), '-' (dash) or '_' (underscore)
try {
$result = $api_instance->getCpsNamespaceCascadeProperty($namespace, $prefix, $suffix, $infixes);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling ConfigurationPropertyStoreAPIApi->getCpsNamespaceCascadeProperty: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::ConfigurationPropertyStoreAPIApi;
my $api_instance = WWW::SwaggerClient::ConfigurationPropertyStoreAPIApi->new();
my $namespace = namespace_example; # String | Property Namespace. The first character of the namespace must be in the 'a'-'z' or 'A'-'Z' ranges,
and following characters can be 'a'-'z' or 'A'-'Z' or '0'-'9'
my $prefix = prefix_example; # String | Property Prefix. The first character of the namespace must be in the 'a'-'z' or 'A'-'Z' ranges,
and following characters can be 'a'-'z', 'A'-'Z', '0'-'9', '.' (period), '-' (dash) or '_' (underscore)
my $suffix = suffix_example; # String | Property suffix. The first character of the namespace must be in the 'a'-'z' or 'A'-'Z' ranges,
and following characters can be 'a'-'z', 'A'-'Z', '0'-'9', '.' (period), '-' (dash) or '_' (underscore)
my $infixes = []; # array[String] | Property infixes. The first character of the namespace must be in the 'a'-'z' or 'A'-'Z' ranges,
and following characters can be 'a'-'z', 'A'-'Z', '0'-'9', '.' (period), '-' (dash) or '_' (underscore)
eval {
my $result = $api_instance->getCpsNamespaceCascadeProperty(namespace => $namespace, prefix => $prefix, suffix => $suffix, infixes => $infixes);
print Dumper($result);
};
if ($@) {
warn "Exception when calling ConfigurationPropertyStoreAPIApi->getCpsNamespaceCascadeProperty: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint
# create an instance of the API class
api_instance = swagger_client.ConfigurationPropertyStoreAPIApi()
namespace = namespace_example # String | Property Namespace. The first character of the namespace must be in the 'a'-'z' or 'A'-'Z' ranges,
and following characters can be 'a'-'z' or 'A'-'Z' or '0'-'9'
prefix = prefix_example # String | Property Prefix. The first character of the namespace must be in the 'a'-'z' or 'A'-'Z' ranges,
and following characters can be 'a'-'z', 'A'-'Z', '0'-'9', '.' (period), '-' (dash) or '_' (underscore)
suffix = suffix_example # String | Property suffix. The first character of the namespace must be in the 'a'-'z' or 'A'-'Z' ranges,
and following characters can be 'a'-'z', 'A'-'Z', '0'-'9', '.' (period), '-' (dash) or '_' (underscore)
infixes = # array[String] | Property infixes. The first character of the namespace must be in the 'a'-'z' or 'A'-'Z' ranges,
and following characters can be 'a'-'z', 'A'-'Z', '0'-'9', '.' (period), '-' (dash) or '_' (underscore)
(optional)
try:
# Get cascade CPS property
api_response = api_instance.get_cps_namespace_cascade_property(namespace, prefix, suffix, infixes=infixes)
pprint(api_response)
except ApiException as e:
print("Exception when calling ConfigurationPropertyStoreAPIApi->getCpsNamespaceCascadeProperty: %s\n" % e)
Parameters
Name | Description |
---|---|
namespace* |
String
Property Namespace. The first character of the namespace must be in the 'a'-'z' or 'A'-'Z' ranges,
and following characters can be 'a'-'z' or 'A'-'Z' or '0'-'9'
Required
|
prefix* |
String
Property Prefix. The first character of the namespace must be in the 'a'-'z' or 'A'-'Z' ranges,
and following characters can be 'a'-'z', 'A'-'Z', '0'-'9', '.' (period), '-' (dash) or '_' (underscore)
Required
|
suffix* |
String
Property suffix. The first character of the namespace must be in the 'a'-'z' or 'A'-'Z' ranges,
and following characters can be 'a'-'z', 'A'-'Z', '0'-'9', '.' (period), '-' (dash) or '_' (underscore)
Required
|
Name | Description |
---|---|
infixes |
array[String]
Property infixes. The first character of the namespace must be in the 'a'-'z' or 'A'-'Z' ranges,
and following characters can be 'a'-'z', 'A'-'Z', '0'-'9', '.' (period), '-' (dash) or '_' (underscore)
|