Interface Metrics

  • All Superinterfaces:
    MetricsTypes, com.vmware.vapi.bindings.Service
    All Known Implementing Classes:
    MetricsStub

    public interface Metrics
    extends com.vmware.vapi.bindings.Service, MetricsTypes
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      MetricsAgent get​(java.lang.String orgId, java.lang.String projectId)
      Fetch current Metric agent config
      void get​(java.lang.String orgId, java.lang.String projectId, com.vmware.vapi.bindings.client.AsyncCallback<MetricsAgent> asyncCallback)
      Fetch current Metric agent config
      void get​(java.lang.String orgId, java.lang.String projectId, com.vmware.vapi.bindings.client.AsyncCallback<MetricsAgent> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
      Fetch current Metric agent config
      MetricsAgent get​(java.lang.String orgId, java.lang.String projectId, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
      Fetch current Metric agent config
      MetricsAgent update​(java.lang.String orgId, java.lang.String projectId, MetricsAgent metricsAgent)
      Create Metrics agent intent resource
      void update​(java.lang.String orgId, java.lang.String projectId, MetricsAgent metricsAgent, com.vmware.vapi.bindings.client.AsyncCallback<MetricsAgent> asyncCallback)
      Create Metrics agent intent resource
      void update​(java.lang.String orgId, java.lang.String projectId, MetricsAgent metricsAgent, com.vmware.vapi.bindings.client.AsyncCallback<MetricsAgent> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
      Create Metrics agent intent resource
      MetricsAgent update​(java.lang.String orgId, java.lang.String projectId, MetricsAgent metricsAgent, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
      Create Metrics agent intent resource
    • Method Detail

      • get

        MetricsAgent get​(java.lang.String orgId,
                         java.lang.String projectId)
        Fetch current Metric agent config

        Synchronous method overload. Result of the invocation will be reported as a method return value.

        Parameters:
        orgId - The organization ID (required)
        projectId - The project ID (required)
        Returns:
        com.vmware.nsx_policy.model.MetricsAgent
        Throws:
        com.vmware.vapi.std.errors.InvalidRequest - Bad Request, Precondition Failed
        com.vmware.vapi.std.errors.Unauthorized - Forbidden
        com.vmware.vapi.std.errors.ServiceUnavailable - Service Unavailable
        com.vmware.vapi.std.errors.InternalServerError - Internal Server Error
        com.vmware.vapi.std.errors.NotFound - Not Found
      • get

        MetricsAgent get​(java.lang.String orgId,
                         java.lang.String projectId,
                         com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
        Fetch current Metric agent config

        Synchronous method overload. Result of the invocation will be reported as a method return value. Use invocationConfig to specify configuration for this particular invocation.

        Parameters:
        orgId - The organization ID (required)
        projectId - The project ID (required)
        invocationConfig - Configuration for the method invocation.
        Returns:
        com.vmware.nsx_policy.model.MetricsAgent
        Throws:
        com.vmware.vapi.std.errors.InvalidRequest - Bad Request, Precondition Failed
        com.vmware.vapi.std.errors.Unauthorized - Forbidden
        com.vmware.vapi.std.errors.ServiceUnavailable - Service Unavailable
        com.vmware.vapi.std.errors.InternalServerError - Internal Server Error
        com.vmware.vapi.std.errors.NotFound - Not Found
      • get

        void get​(java.lang.String orgId,
                 java.lang.String projectId,
                 com.vmware.vapi.bindings.client.AsyncCallback<MetricsAgent> asyncCallback)
        Fetch current Metric agent config

        Asynchronous method overload. Result of the invocation will be reported via the specified asyncCallback.

        Invocation Result:
        com.vmware.nsx_policy.model.MetricsAgent

        Operation Errors:
        InvalidRequest - Bad Request, Precondition Failed
        Unauthorized - Forbidden
        ServiceUnavailable - Service Unavailable
        InternalServerError - Internal Server Error
        NotFound - Not Found

        Parameters:
        orgId - The organization ID (required)
        projectId - The project ID (required)
        asyncCallback - Receives the status (progress, result or error) of the operation invocation.
      • get

        void get​(java.lang.String orgId,
                 java.lang.String projectId,
                 com.vmware.vapi.bindings.client.AsyncCallback<MetricsAgent> asyncCallback,
                 com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
        Fetch current Metric agent config

        Asynchronous method overload. Result of the invocation will be reported via the specified asyncCallback. Use invocationConfig to specify configuration for this particular invocation.

        Invocation Result:
        com.vmware.nsx_policy.model.MetricsAgent

        Operation Errors:
        InvalidRequest - Bad Request, Precondition Failed
        Unauthorized - Forbidden
        ServiceUnavailable - Service Unavailable
        InternalServerError - Internal Server Error
        NotFound - Not Found

        Parameters:
        orgId - The organization ID (required)
        projectId - The project ID (required)
        asyncCallback - Receives the status (progress, result or error) of the operation invocation.
        invocationConfig - Configuration for the method invocation.
      • update

        MetricsAgent update​(java.lang.String orgId,
                            java.lang.String projectId,
                            MetricsAgent metricsAgent)
        Create Metrics agent intent resource

        Synchronous method overload. Result of the invocation will be reported as a method return value.

        Parameters:
        orgId - The organization ID (required)
        projectId - The project ID (required)
        metricsAgent - (required)
        Returns:
        com.vmware.nsx_policy.model.MetricsAgent
        Throws:
        com.vmware.vapi.std.errors.InvalidRequest - Bad Request, Precondition Failed
        com.vmware.vapi.std.errors.Unauthorized - Forbidden
        com.vmware.vapi.std.errors.ServiceUnavailable - Service Unavailable
        com.vmware.vapi.std.errors.InternalServerError - Internal Server Error
        com.vmware.vapi.std.errors.NotFound - Not Found
      • update

        MetricsAgent update​(java.lang.String orgId,
                            java.lang.String projectId,
                            MetricsAgent metricsAgent,
                            com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
        Create Metrics agent intent resource

        Synchronous method overload. Result of the invocation will be reported as a method return value. Use invocationConfig to specify configuration for this particular invocation.

        Parameters:
        orgId - The organization ID (required)
        projectId - The project ID (required)
        metricsAgent - (required)
        invocationConfig - Configuration for the method invocation.
        Returns:
        com.vmware.nsx_policy.model.MetricsAgent
        Throws:
        com.vmware.vapi.std.errors.InvalidRequest - Bad Request, Precondition Failed
        com.vmware.vapi.std.errors.Unauthorized - Forbidden
        com.vmware.vapi.std.errors.ServiceUnavailable - Service Unavailable
        com.vmware.vapi.std.errors.InternalServerError - Internal Server Error
        com.vmware.vapi.std.errors.NotFound - Not Found
      • update

        void update​(java.lang.String orgId,
                    java.lang.String projectId,
                    MetricsAgent metricsAgent,
                    com.vmware.vapi.bindings.client.AsyncCallback<MetricsAgent> asyncCallback)
        Create Metrics agent intent resource

        Asynchronous method overload. Result of the invocation will be reported via the specified asyncCallback.

        Invocation Result:
        com.vmware.nsx_policy.model.MetricsAgent

        Operation Errors:
        InvalidRequest - Bad Request, Precondition Failed
        Unauthorized - Forbidden
        ServiceUnavailable - Service Unavailable
        InternalServerError - Internal Server Error
        NotFound - Not Found

        Parameters:
        orgId - The organization ID (required)
        projectId - The project ID (required)
        metricsAgent - (required)
        asyncCallback - Receives the status (progress, result or error) of the operation invocation.
      • update

        void update​(java.lang.String orgId,
                    java.lang.String projectId,
                    MetricsAgent metricsAgent,
                    com.vmware.vapi.bindings.client.AsyncCallback<MetricsAgent> asyncCallback,
                    com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
        Create Metrics agent intent resource

        Asynchronous method overload. Result of the invocation will be reported via the specified asyncCallback. Use invocationConfig to specify configuration for this particular invocation.

        Invocation Result:
        com.vmware.nsx_policy.model.MetricsAgent

        Operation Errors:
        InvalidRequest - Bad Request, Precondition Failed
        Unauthorized - Forbidden
        ServiceUnavailable - Service Unavailable
        InternalServerError - Internal Server Error
        NotFound - Not Found

        Parameters:
        orgId - The organization ID (required)
        projectId - The project ID (required)
        metricsAgent - (required)
        asyncCallback - Receives the status (progress, result or error) of the operation invocation.
        invocationConfig - Configuration for the method invocation.