Bootstrap FreeKB - Broadcom API Gateway - Delete Cluster Wide Property using the Gateway Migration Utility
Broadcom API Gateway - Delete Cluster Wide Property using the Gateway Migration Utility

Updated:   |  Broadcom API Gateway articles

This assumes you are familiar with the basic usage of the Gateway Migration Utility. Following is an example of how to list Cluster Wide Property named "foo".

/path/to/GatewayMigrationUtility.sh restman
-host apig.example.com
-port 8443
-username john.doe
-password f5VPX0yUJPg.m4BrjdgMv84UgktddJD3xA
-method GET
-path '1.0/clusterProperties'
-query 'name=foo'

 

Or the -argFile option can be used, to reduce the number of options that are used on the command line.

/path/to/GatewayMigrationUtility.sh restman
-argFile example.properties
-method GET
-path '1.0/clusterProperties'
-query 'name=foo'

 

Something like this should be returned. Notice the ID of the Cluster Wide Property is 1a5b56dfad45645645fd5464df65.

<l7:List>
  <l7:Item>
    <l7:Name>foo</l7:Name>
    <l7:Id>1a5b56dfad45645645fd5464df65</l7:Id>
    <l7:Type>CLUSTER_PROPERTY</l7:Type>
    <l7:TimeStamp>2019-03-29T00:55:11.088-05:00</l7:TimeStamp>
    <l7:Link rel="self" uri="https://example.com:8443/restman/1.0/clusterProperties/1a5b56dfad45645645fd5464df65"/>
    <l7:Resource>
      <l7:ClusterProperty id="1a5b56dfad45645645fd5464df65" version="1">
        <l7:Name>foo</l7:Name>
        <l7:Value>bar</l7:Value>
      </l7:ClusterProperty>
    </l7:Resource>
  </l7:Item>
</l7:List>

 

Here is how you would delete the Cluster Wide Property with ID 1a5b56dfad45645645fd5464df65.

/path/to/GatewayMigrationUtility.sh restman
-argFile example.properties
-method DELETE
-path '1.0/clusterProperties/1a5b56dfad45645645fd5464df65'

 




Did you find this article helpful?

If so, consider buying me a coffee over at Buy Me A Coffee



Comments


Add a Comment


Please enter 5c7fb0 in the box below so that we can be sure you are a human.