em_asr_asset_actcred

Adds or removes an activation credential for an Oracle Auto Service Request (ASR) target.

Format

Standard Mode

emcli em_asr_asset_actcred
      [-targetName="Target Name"]
      [-targetType="Target Type"]
      [-mosid="MOS user name"]
      [-passwd="MOS user password"]

Interactive or Script Mode

em_asr_asset_actcred(
      [,targetName="Target Name"]
      [,targetType="Target Type"]
      [,mosid="MOS user name"]
      [,passwd="MOS user password"]
      )

[ ]  indicates that the parameter is optional.

Options

  • targetName

    Identifies the target name.

  • targetType

    Identifies the target type.

  • mosid

    Valid My Oracle Support (MOS) user name.

  • passwd

    MOS user password.

Exit Codes

0 if successful. A non-zero value indicates that verb processing was unsuccessful.

Example

Example 1

Assigns the global activation credentials. User will be prompted to enter their MOS user password.

Standard Mode

emcli em_asr_asset_actcred
      -add -mosid="MOS_user_name"

Interactive or Script Mode

em_asr_asset_actcred(add=True,
      mosid="MOS_user_name"
      )

Example 2

Assigns the target activation credentials. User will be prompted to enter their MOS user password.

Standard Mode

emcli em_asr_asset_actcred
      -targetName="ASR_target1"
      -targetType="host"
      -mosid="MOS_user_name"

Interactive or Script Mode

em_asr_asset_actcred(
      targetName="ASR_target1",
      targetType="host",
      mosid="MOS_user_name"
      )