Newer
Older
Walter Featherstone
committed
parameters:
description: regex = \/mp1\/v1\/applications\/.*\/subscriptions\/.*\/(.*);subscriptionId = href.match(regex)[1];// where "href" is an attribute within the subscription attribute within the _links attribute
subscriptionId: 'TBC'
DelIndividualMeMp1SubscriptionLinkList:
operationId: ApplicationsSubscription_DELETE
Walter Featherstone
committed
description: The `subscriptionId` value returned in the response can be used as the `subscriptionId` parameter in `DELETE /applications/{appInstanceId}/subscriptions/{subscriptionType}/{subscriptionId}`
parameters:
description: regex = \/mp1\/v1\/applications\/.*\/subscriptions\/.*\/(.*);subscriptionId = href.match(regex)[1];// where "href" is an attribute within the subscription attribute within the _links attribute
subscriptionId: 'TBC'
examples:
DnsRule:
value:
Walter Featherstone
committed
dnsRuleId: 'DnsRule1'
domainName: 'www.example.com'
ipAddressType: 'IP_V4'
ipAddress: '146.241.7.3'
Walter Featherstone
committed
ttl: 300
Walter Featherstone
committed
state: 'ACTIVE'
Walter Featherstone
committed
DnsRules:
value:
Walter Featherstone
committed
- dnsRuleId: 'DnsRule1'
domainName: 'www.example.com'
ipAddressType: 'IP_V4'
ipAddress: '146.241.7.3'
Walter Featherstone
committed
ttl: 300
Walter Featherstone
committed
state: 'ACTIVE'
- dnsRuleId: 'DnsRule2'
domainName: 'www.example.com'
ipAddressType: 'IP_V4'
ipAddress: '146.241.7.4'
ttl: 300
state: 'INACTIVE'
Walter Featherstone
committed
ServiceInfo:
value:
Walter Featherstone
committed
serInstanceId: 'ServiceInstance123'
serName: 'ExampleService'
Walter Featherstone
committed
serCategory:
Walter Featherstone
committed
href: 'catItem1'
id: 'id12345'
name: 'RNI'
version: 'version1'
version: 'ServiceVersion1'
state: 'ACTIVE'
Walter Featherstone
committed
transportInfo:
Walter Featherstone
committed
id: 'TransId12345'
name: 'REST'
description: 'REST API'
type: 'REST_HTTP'
protocol: 'HTTP'
Walter Featherstone
committed
version: '2.0'
endpoint:
uris:
Walter Featherstone
committed
- '/meMp1/service/EntryPoint'
Walter Featherstone
committed
security:
oAuth2Info:
Walter Featherstone
committed
grantTypes: 'OAUTH2_CLIENT_CREDENTIALS'
tokenEndpoint: '/meMp1/security/TokenEndPoint'
serializer: 'JSON'
Walter Featherstone
committed
ServiceInfoList:
value:
Walter Featherstone
committed
- serInstanceId: 'ServiceInstance123'
serName: 'ExampleService'
Walter Featherstone
committed
serCategory:
Walter Featherstone
committed
href: 'catItem1'
id: 'id12345'
name: 'RNI'
version: 'version1'
version: 'ServiceVersion1'
state: 'ACTIVE'
Walter Featherstone
committed
transportInfo:
Walter Featherstone
committed
id: 'TransId12345'
name: 'REST'
description: 'REST API'
type: 'REST_HTTP'
protocol: 'HTTP'
Walter Featherstone
committed
version: '2.0'
endpoint:
addresses:
Walter Featherstone
committed
- host: '192.0.2.0'
port: 8080
Walter Featherstone
committed
security:
oAuth2Info:
Walter Featherstone
committed
grantTypes: 'OAUTH2_CLIENT_CREDENTIALS'
tokenEndpoint: '/meMp1/security/TokenEndPoint'
serializer: 'JSON'
Walter Featherstone
committed
TrafficRule:
value:
Walter Featherstone
committed
trafficRuleId: 'TrafficRule123'
serName: 'ExampleService'
filterType: 'FLOW'
Walter Featherstone
committed
priority: 1
trafficFilter:
Walter Featherstone
committed
- srcAddress:
- '192.168.2.0/24'
- '192.168.3.0/24'
dstAddress:
- '192.127.4.100/32'
dstPort:
- '80'
action: 'FORWARD_DECAPSULATED'
Walter Featherstone
committed
dstInterface:
Walter Featherstone
committed
interfaceType: 'IP'
dstIpAddress: '20.1.1.1'
state: 'ACTIVE'
Walter Featherstone
committed
TrafficRules:
value:
Walter Featherstone
committed
- trafficRuleId: 'TrafficRule123'
serName: 'ExampleService'
filterType: 'FLOW'
Walter Featherstone
committed
priority: 1
trafficFilter:
Walter Featherstone
committed
- srcAddress:
- '192.168.2.0/24'
- '192.168.3.0/24'
dstAddress:
- '192.127.4.100/32'
dstPort:
- '80'
action: 'FORWARD_DECAPSULATED'
Walter Featherstone
committed
dstInterface:
Walter Featherstone
committed
interfaceType: 'IP'
dstIpAddress: '20.1.1.1'