Skip to content

Latest commit

 

History

History
196 lines (118 loc) · 4.51 KB

create-security-rule-b140be7.md

File metadata and controls

196 lines (118 loc) · 4.51 KB

create-security-rule

This console client command creates a security group rule for a virtual machine.

Remember:

SAP Business Technology Platform, Neo environment will sunset on December 31, 2028, subject to terms of customer or partner contracts.

For more information, see SAP Note 3351844.

Tip:

This documentation refers to SAP Business Technology Platform, Neo environment. If you are looking for documentation about other environments, see SAP Business Technology Platform ↗️.

neo create-security-rule --account <subaccount_technical_name> --host <host> --user <e-mail_or_user> --name <vm_name> --source-id <system_ID> --source-type <source_type> --from-port <from_port> --to-port <to_port>

Parameters

Required

-a, --account

Your subaccount technical name.

Type: string (up to 30 characters; lowercase letters and numbers, starting with a letter)

-h, --host

Enter a region host.

Type: URL. For acceptable values, see Regions ↗️.

-n, --name

Type the name of the virtual machine.

Type: string

Condition: Use either --id or --name

-i, --id

ID of the virtual machine

Type: string

Condition: Use either --id or --name

-p, --password

To protect your password, enter it only when prompted by the console client and not explicitly as a parameter in the properties file or the command line.

Type: string

-u, --user

Use your email, SAP ID or user name.

Type: string

--from-port

The start of the range of allowed ports. The <from_port> value must be less than or equal to the <to_port> value.

Type: positive integer between 1 and 65535

--to-port

The end of the range of allowed ports. The <to_port> value must be greater than or equal to the <from_port> value.

Type: positive integer between 1 and 65535

--source-id

The name of the system that you want to connect from.

For an SAP HANA system, the --source-id is the SAP HANA database system name. For a Java application, it is the application name.

--source-type

The type of the system specified in the source ID.

Acceptable values: HANA, JAVA

Example

neo create-security-rule --account mysubaccount --host hana.ondemand.com --user [email protected] --name myvm --source-id mysystem --source-type HANA --from-port <from_port> --to-port <to_port>

Related Information

Manage Network Communication for SAP Virtual Machine Service ↗️