Aruba Central Next Gen icon

Aruba Central Next Gen

Consume Aruba Central Next Gen API

Actions408

Named Object → Create Net Service

AI-generated

Overview

This node operation creates a network service alias within the Aruba Central Next Gen API under the Named Object resource. It is useful for network administrators who want to programmatically define and manage network service aliases, which can simplify network configuration and policy management. For example, creating a net service alias can help group multiple services under a single name for easier reference in firewall rules or QoS policies.

Use Case Examples

  1. Create a new net service alias named 'WebServices' with specific configuration JSON to group HTTP and HTTPS services.
  2. Automate the creation of network service aliases during network deployment or updates to ensure consistent service definitions.

Properties

Name Meaning
Debug Mode Whether to enable detailed debug logs for troubleshooting.
Domain API domain to interact with, set to 'configuration' for this operation.
Name Name of the alias or net service to create.
Configuration Configuration details for the net service alias as a JSON object.
Additional Fields Optional additional parameters such as limit, offset, view type, object type, scope ID, persona, detailed response, and effective configuration.

Output

JSON

  • id - Identifier of the created net service alias.
  • name - Name of the created net service alias.
  • configuration - JSON configuration details of the created net service alias.
  • status - Status of the creation operation, e.g., success or failure.

Dependencies

  • An API key credential for Aruba Central Next Gen OAuth2 authentication

Troubleshooting

  • Ensure the 'Name' property is provided and is unique to avoid conflicts.
  • Verify the 'Configuration' JSON is correctly formatted and valid according to Aruba Central API specifications.
  • Check that the API domain is set to 'configuration' as required for this operation.
  • Enable 'Debug Mode' to get detailed logs if the node execution fails for better troubleshooting.
  • Common error messages may include authentication failures, invalid JSON configuration, or API rate limits. Resolving these involves checking credentials, JSON syntax, and API usage limits.

Discussion