switch_swlib_oms_agent_storage
Modify a Software Library OMS Agent storage location to change the associated OMS Host and the credential for accessing the location.
Format
emcli switch_swlib_oms_agent_storage 
        -name="location_name" 
        -host="hostname" 
        [-credential_set_name="setname"] | [-credential_name="name" 
           -credential_owner="owner"]
[ ]  indicates that the parameter is optionalOptions
- 
                        name Name of an existing OMS Agent storage location. 
- 
                        host Target name of the OMS host where the file system path for the storage location exists. 
- 
                        credential_set_name Set name of the preferred credential stored in the repository for the host target. The value can be one of the following: - 
                              HostCredsNormal — Default unprivileged credential set 
- 
                              HostCredsPriv — Privileged credential set 
 
- 
                              
- 
                        credential_name Name of a named credential stored in the repository. You must specify this option with the -credential_owner option. 
- 
                        credential_owner Owner of a named credential stored in the repository. You must specify this option with the -credential_name option. 
Examples
This example modifies the OMS Agent file system storage location named 'myOMSAgtLocation' to use the specified host 'fs1.us.example.com', and the named credential 'MyCreds' owned by 'EXAMPLE_USER' for reading/writing files from/to this location.'
emcli switch_swlib_oms_agent_storage 
        -name="myOMSAgtLocation"
        -host="fs1.us.example.com"  
        -credential_name="MyCreds"
        -credential_owner="EXAMPLE_USER"