Interface RoleBindings

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      void delete​(java.lang.String orgId, java.lang.String projectId, java.lang.String vpcId, java.lang.String bindingId, java.lang.String cursor, java.lang.String identitySourceId, java.lang.String identitySourceType, java.lang.String includedFields, java.lang.String name, java.lang.Long pageSize, java.lang.String path, java.lang.String role, java.lang.String rootPath, java.lang.Boolean sortAscending, java.lang.String sortBy, java.lang.String type)
      Delete the user/group's role assignment on CSP.
      void delete​(java.lang.String orgId, java.lang.String projectId, java.lang.String vpcId, java.lang.String bindingId, java.lang.String cursor, java.lang.String identitySourceId, java.lang.String identitySourceType, java.lang.String includedFields, java.lang.String name, java.lang.Long pageSize, java.lang.String path, java.lang.String role, java.lang.String rootPath, java.lang.Boolean sortAscending, java.lang.String sortBy, java.lang.String type, com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback)
      Delete the user/group's role assignment on CSP.
      void delete​(java.lang.String orgId, java.lang.String projectId, java.lang.String vpcId, java.lang.String bindingId, java.lang.String cursor, java.lang.String identitySourceId, java.lang.String identitySourceType, java.lang.String includedFields, java.lang.String name, java.lang.Long pageSize, java.lang.String path, java.lang.String role, java.lang.String rootPath, java.lang.Boolean sortAscending, java.lang.String sortBy, java.lang.String type, com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
      Delete the user/group's role assignment on CSP.
      void delete​(java.lang.String orgId, java.lang.String projectId, java.lang.String vpcId, java.lang.String bindingId, java.lang.String cursor, java.lang.String identitySourceId, java.lang.String identitySourceType, java.lang.String includedFields, java.lang.String name, java.lang.Long pageSize, java.lang.String path, java.lang.String role, java.lang.String rootPath, java.lang.Boolean sortAscending, java.lang.String sortBy, java.lang.String type, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
      Delete the user/group's role assignment on CSP.
      RoleBinding get​(java.lang.String orgId, java.lang.String projectId, java.lang.String vpcId, java.lang.String bindingId, java.lang.String cursor, java.lang.String identitySourceId, java.lang.String identitySourceType, java.lang.String includedFields, java.lang.String name, java.lang.Long pageSize, java.lang.String path, java.lang.String role, java.lang.String rootPath, java.lang.Boolean sortAscending, java.lang.String sortBy, java.lang.String type)
      Get user/group's role information from CSP
      void get​(java.lang.String orgId, java.lang.String projectId, java.lang.String vpcId, java.lang.String bindingId, java.lang.String cursor, java.lang.String identitySourceId, java.lang.String identitySourceType, java.lang.String includedFields, java.lang.String name, java.lang.Long pageSize, java.lang.String path, java.lang.String role, java.lang.String rootPath, java.lang.Boolean sortAscending, java.lang.String sortBy, java.lang.String type, com.vmware.vapi.bindings.client.AsyncCallback<RoleBinding> asyncCallback)
      Get user/group's role information from CSP
      void get​(java.lang.String orgId, java.lang.String projectId, java.lang.String vpcId, java.lang.String bindingId, java.lang.String cursor, java.lang.String identitySourceId, java.lang.String identitySourceType, java.lang.String includedFields, java.lang.String name, java.lang.Long pageSize, java.lang.String path, java.lang.String role, java.lang.String rootPath, java.lang.Boolean sortAscending, java.lang.String sortBy, java.lang.String type, com.vmware.vapi.bindings.client.AsyncCallback<RoleBinding> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
      Get user/group's role information from CSP
      RoleBinding get​(java.lang.String orgId, java.lang.String projectId, java.lang.String vpcId, java.lang.String bindingId, java.lang.String cursor, java.lang.String identitySourceId, java.lang.String identitySourceType, java.lang.String includedFields, java.lang.String name, java.lang.Long pageSize, java.lang.String path, java.lang.String role, java.lang.String rootPath, java.lang.Boolean sortAscending, java.lang.String sortBy, java.lang.String type, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
      Get user/group's role information from CSP
      RoleBindingListResult list​(java.lang.String orgId, java.lang.String projectId, java.lang.String vpcId, java.lang.String cursor, java.lang.String identitySourceId, java.lang.String identitySourceType, java.lang.String includedFields, java.lang.String name, java.lang.Long pageSize, java.lang.String path, java.lang.String role, java.lang.String rootPath, java.lang.Boolean sortAscending, java.lang.String sortBy, java.lang.String type)
      Get all users and groups with their roles from CSP.
      void list​(java.lang.String orgId, java.lang.String projectId, java.lang.String vpcId, java.lang.String cursor, java.lang.String identitySourceId, java.lang.String identitySourceType, java.lang.String includedFields, java.lang.String name, java.lang.Long pageSize, java.lang.String path, java.lang.String role, java.lang.String rootPath, java.lang.Boolean sortAscending, java.lang.String sortBy, java.lang.String type, com.vmware.vapi.bindings.client.AsyncCallback<RoleBindingListResult> asyncCallback)
      Get all users and groups with their roles from CSP.
      void list​(java.lang.String orgId, java.lang.String projectId, java.lang.String vpcId, java.lang.String cursor, java.lang.String identitySourceId, java.lang.String identitySourceType, java.lang.String includedFields, java.lang.String name, java.lang.Long pageSize, java.lang.String path, java.lang.String role, java.lang.String rootPath, java.lang.Boolean sortAscending, java.lang.String sortBy, java.lang.String type, com.vmware.vapi.bindings.client.AsyncCallback<RoleBindingListResult> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
      Get all users and groups with their roles from CSP.
      RoleBindingListResult list​(java.lang.String orgId, java.lang.String projectId, java.lang.String vpcId, java.lang.String cursor, java.lang.String identitySourceId, java.lang.String identitySourceType, java.lang.String includedFields, java.lang.String name, java.lang.Long pageSize, java.lang.String path, java.lang.String role, java.lang.String rootPath, java.lang.Boolean sortAscending, java.lang.String sortBy, java.lang.String type, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
      Get all users and groups with their roles from CSP.
      RoleBinding patch​(java.lang.String orgId, java.lang.String projectId, java.lang.String vpcId, RoleBinding roleBinding)
      This API is used to assign a user/group any role(s) of choice on CSP.
      void patch​(java.lang.String orgId, java.lang.String projectId, java.lang.String vpcId, RoleBinding roleBinding, com.vmware.vapi.bindings.client.AsyncCallback<RoleBinding> asyncCallback)
      This API is used to assign a user/group any role(s) of choice on CSP.
      void patch​(java.lang.String orgId, java.lang.String projectId, java.lang.String vpcId, RoleBinding roleBinding, com.vmware.vapi.bindings.client.AsyncCallback<RoleBinding> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
      This API is used to assign a user/group any role(s) of choice on CSP.
      RoleBinding patch​(java.lang.String orgId, java.lang.String projectId, java.lang.String vpcId, RoleBinding roleBinding, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
      This API is used to assign a user/group any role(s) of choice on CSP.
    • Method Detail

      • delete

        void delete​(java.lang.String orgId,
                    java.lang.String projectId,
                    java.lang.String vpcId,
                    java.lang.String bindingId,
                    java.lang.String cursor,
                    java.lang.String identitySourceId,
                    java.lang.String identitySourceType,
                    java.lang.String includedFields,
                    java.lang.String name,
                    java.lang.Long pageSize,
                    java.lang.String path,
                    java.lang.String role,
                    java.lang.String rootPath,
                    java.lang.Boolean sortAscending,
                    java.lang.String sortBy,
                    java.lang.String type)
        Delete the user/group's role assignment on CSP. If the path is provided then deletes only the roles_for_paths that matches the path. If path is provided for the last roles_for_paths then the whole role binding is deleted provided it is not that of a local user.

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

        Parameters:
        orgId - (required)
        projectId - (required)
        vpcId - (required)
        bindingId - (required)
        cursor - Opaque cursor to be used for getting next page of records (supplied by current result page) (optional)
        identitySourceId - Identity source ID (optional)
        identitySourceType - Identity source type (optional)
        includedFields - Comma separated list of fields that should be included in query result (optional)
        name - User/Group name (optional)
        pageSize - Maximum number of results to return in this page (server may return fewer) (optional, default to 1000)
        path - Exact path of the context (optional)
        role - Role ID (optional)
        rootPath - Prefix path of the context (optional)
        sortAscending - (optional)
        sortBy - Field by which records are sorted (optional)
        type - Type (optional)
        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
      • delete

        void delete​(java.lang.String orgId,
                    java.lang.String projectId,
                    java.lang.String vpcId,
                    java.lang.String bindingId,
                    java.lang.String cursor,
                    java.lang.String identitySourceId,
                    java.lang.String identitySourceType,
                    java.lang.String includedFields,
                    java.lang.String name,
                    java.lang.Long pageSize,
                    java.lang.String path,
                    java.lang.String role,
                    java.lang.String rootPath,
                    java.lang.Boolean sortAscending,
                    java.lang.String sortBy,
                    java.lang.String type,
                    com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
        Delete the user/group's role assignment on CSP. If the path is provided then deletes only the roles_for_paths that matches the path. If path is provided for the last roles_for_paths then the whole role binding is deleted provided it is not that of a local user.

        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 - (required)
        projectId - (required)
        vpcId - (required)
        bindingId - (required)
        cursor - Opaque cursor to be used for getting next page of records (supplied by current result page) (optional)
        identitySourceId - Identity source ID (optional)
        identitySourceType - Identity source type (optional)
        includedFields - Comma separated list of fields that should be included in query result (optional)
        name - User/Group name (optional)
        pageSize - Maximum number of results to return in this page (server may return fewer) (optional, default to 1000)
        path - Exact path of the context (optional)
        role - Role ID (optional)
        rootPath - Prefix path of the context (optional)
        sortAscending - (optional)
        sortBy - Field by which records are sorted (optional)
        type - Type (optional)
        invocationConfig - Configuration for the method invocation.
        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
      • delete

        void delete​(java.lang.String orgId,
                    java.lang.String projectId,
                    java.lang.String vpcId,
                    java.lang.String bindingId,
                    java.lang.String cursor,
                    java.lang.String identitySourceId,
                    java.lang.String identitySourceType,
                    java.lang.String includedFields,
                    java.lang.String name,
                    java.lang.Long pageSize,
                    java.lang.String path,
                    java.lang.String role,
                    java.lang.String rootPath,
                    java.lang.Boolean sortAscending,
                    java.lang.String sortBy,
                    java.lang.String type,
                    com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback)
        Delete the user/group's role assignment on CSP. If the path is provided then deletes only the roles_for_paths that matches the path. If path is provided for the last roles_for_paths then the whole role binding is deleted provided it is not that of a local user.

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

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

        Parameters:
        orgId - (required)
        projectId - (required)
        vpcId - (required)
        bindingId - (required)
        cursor - Opaque cursor to be used for getting next page of records (supplied by current result page) (optional)
        identitySourceId - Identity source ID (optional)
        identitySourceType - Identity source type (optional)
        includedFields - Comma separated list of fields that should be included in query result (optional)
        name - User/Group name (optional)
        pageSize - Maximum number of results to return in this page (server may return fewer) (optional, default to 1000)
        path - Exact path of the context (optional)
        role - Role ID (optional)
        rootPath - Prefix path of the context (optional)
        sortAscending - (optional)
        sortBy - Field by which records are sorted (optional)
        type - Type (optional)
        asyncCallback - Receives the status (progress, result or error) of the operation invocation.
      • delete

        void delete​(java.lang.String orgId,
                    java.lang.String projectId,
                    java.lang.String vpcId,
                    java.lang.String bindingId,
                    java.lang.String cursor,
                    java.lang.String identitySourceId,
                    java.lang.String identitySourceType,
                    java.lang.String includedFields,
                    java.lang.String name,
                    java.lang.Long pageSize,
                    java.lang.String path,
                    java.lang.String role,
                    java.lang.String rootPath,
                    java.lang.Boolean sortAscending,
                    java.lang.String sortBy,
                    java.lang.String type,
                    com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback,
                    com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
        Delete the user/group's role assignment on CSP. If the path is provided then deletes only the roles_for_paths that matches the path. If path is provided for the last roles_for_paths then the whole role binding is deleted provided it is not that of a local user.

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

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

        Parameters:
        orgId - (required)
        projectId - (required)
        vpcId - (required)
        bindingId - (required)
        cursor - Opaque cursor to be used for getting next page of records (supplied by current result page) (optional)
        identitySourceId - Identity source ID (optional)
        identitySourceType - Identity source type (optional)
        includedFields - Comma separated list of fields that should be included in query result (optional)
        name - User/Group name (optional)
        pageSize - Maximum number of results to return in this page (server may return fewer) (optional, default to 1000)
        path - Exact path of the context (optional)
        role - Role ID (optional)
        rootPath - Prefix path of the context (optional)
        sortAscending - (optional)
        sortBy - Field by which records are sorted (optional)
        type - Type (optional)
        asyncCallback - Receives the status (progress, result or error) of the operation invocation.
        invocationConfig - Configuration for the method invocation.
      • get

        RoleBinding get​(java.lang.String orgId,
                        java.lang.String projectId,
                        java.lang.String vpcId,
                        java.lang.String bindingId,
                        java.lang.String cursor,
                        java.lang.String identitySourceId,
                        java.lang.String identitySourceType,
                        java.lang.String includedFields,
                        java.lang.String name,
                        java.lang.Long pageSize,
                        java.lang.String path,
                        java.lang.String role,
                        java.lang.String rootPath,
                        java.lang.Boolean sortAscending,
                        java.lang.String sortBy,
                        java.lang.String type)
        Get user/group's role information from CSP

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

        Parameters:
        orgId - (required)
        projectId - (required)
        vpcId - (required)
        bindingId - (required)
        cursor - Opaque cursor to be used for getting next page of records (supplied by current result page) (optional)
        identitySourceId - Identity source ID (optional)
        identitySourceType - Identity source type (optional)
        includedFields - Comma separated list of fields that should be included in query result (optional)
        name - User/Group name (optional)
        pageSize - Maximum number of results to return in this page (server may return fewer) (optional, default to 1000)
        path - Exact path of the context (optional)
        role - Role ID (optional)
        rootPath - Prefix path of the context (optional)
        sortAscending - (optional)
        sortBy - Field by which records are sorted (optional)
        type - Type (optional)
        Returns:
        com.vmware.nsx_policy.model.RoleBinding
        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

        RoleBinding get​(java.lang.String orgId,
                        java.lang.String projectId,
                        java.lang.String vpcId,
                        java.lang.String bindingId,
                        java.lang.String cursor,
                        java.lang.String identitySourceId,
                        java.lang.String identitySourceType,
                        java.lang.String includedFields,
                        java.lang.String name,
                        java.lang.Long pageSize,
                        java.lang.String path,
                        java.lang.String role,
                        java.lang.String rootPath,
                        java.lang.Boolean sortAscending,
                        java.lang.String sortBy,
                        java.lang.String type,
                        com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
        Get user/group's role information from CSP

        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 - (required)
        projectId - (required)
        vpcId - (required)
        bindingId - (required)
        cursor - Opaque cursor to be used for getting next page of records (supplied by current result page) (optional)
        identitySourceId - Identity source ID (optional)
        identitySourceType - Identity source type (optional)
        includedFields - Comma separated list of fields that should be included in query result (optional)
        name - User/Group name (optional)
        pageSize - Maximum number of results to return in this page (server may return fewer) (optional, default to 1000)
        path - Exact path of the context (optional)
        role - Role ID (optional)
        rootPath - Prefix path of the context (optional)
        sortAscending - (optional)
        sortBy - Field by which records are sorted (optional)
        type - Type (optional)
        invocationConfig - Configuration for the method invocation.
        Returns:
        com.vmware.nsx_policy.model.RoleBinding
        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,
                 java.lang.String vpcId,
                 java.lang.String bindingId,
                 java.lang.String cursor,
                 java.lang.String identitySourceId,
                 java.lang.String identitySourceType,
                 java.lang.String includedFields,
                 java.lang.String name,
                 java.lang.Long pageSize,
                 java.lang.String path,
                 java.lang.String role,
                 java.lang.String rootPath,
                 java.lang.Boolean sortAscending,
                 java.lang.String sortBy,
                 java.lang.String type,
                 com.vmware.vapi.bindings.client.AsyncCallback<RoleBinding> asyncCallback)
        Get user/group's role information from CSP

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

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

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

        Parameters:
        orgId - (required)
        projectId - (required)
        vpcId - (required)
        bindingId - (required)
        cursor - Opaque cursor to be used for getting next page of records (supplied by current result page) (optional)
        identitySourceId - Identity source ID (optional)
        identitySourceType - Identity source type (optional)
        includedFields - Comma separated list of fields that should be included in query result (optional)
        name - User/Group name (optional)
        pageSize - Maximum number of results to return in this page (server may return fewer) (optional, default to 1000)
        path - Exact path of the context (optional)
        role - Role ID (optional)
        rootPath - Prefix path of the context (optional)
        sortAscending - (optional)
        sortBy - Field by which records are sorted (optional)
        type - Type (optional)
        asyncCallback - Receives the status (progress, result or error) of the operation invocation.
      • get

        void get​(java.lang.String orgId,
                 java.lang.String projectId,
                 java.lang.String vpcId,
                 java.lang.String bindingId,
                 java.lang.String cursor,
                 java.lang.String identitySourceId,
                 java.lang.String identitySourceType,
                 java.lang.String includedFields,
                 java.lang.String name,
                 java.lang.Long pageSize,
                 java.lang.String path,
                 java.lang.String role,
                 java.lang.String rootPath,
                 java.lang.Boolean sortAscending,
                 java.lang.String sortBy,
                 java.lang.String type,
                 com.vmware.vapi.bindings.client.AsyncCallback<RoleBinding> asyncCallback,
                 com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
        Get user/group's role information from CSP

        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.RoleBinding

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

        Parameters:
        orgId - (required)
        projectId - (required)
        vpcId - (required)
        bindingId - (required)
        cursor - Opaque cursor to be used for getting next page of records (supplied by current result page) (optional)
        identitySourceId - Identity source ID (optional)
        identitySourceType - Identity source type (optional)
        includedFields - Comma separated list of fields that should be included in query result (optional)
        name - User/Group name (optional)
        pageSize - Maximum number of results to return in this page (server may return fewer) (optional, default to 1000)
        path - Exact path of the context (optional)
        role - Role ID (optional)
        rootPath - Prefix path of the context (optional)
        sortAscending - (optional)
        sortBy - Field by which records are sorted (optional)
        type - Type (optional)
        asyncCallback - Receives the status (progress, result or error) of the operation invocation.
        invocationConfig - Configuration for the method invocation.
      • list

        RoleBindingListResult list​(java.lang.String orgId,
                                   java.lang.String projectId,
                                   java.lang.String vpcId,
                                   java.lang.String cursor,
                                   java.lang.String identitySourceId,
                                   java.lang.String identitySourceType,
                                   java.lang.String includedFields,
                                   java.lang.String name,
                                   java.lang.Long pageSize,
                                   java.lang.String path,
                                   java.lang.String role,
                                   java.lang.String rootPath,
                                   java.lang.Boolean sortAscending,
                                   java.lang.String sortBy,
                                   java.lang.String type)
        Get all users and groups with their roles from CSP. If the root_path is provided then only return role bindings that start-with or are sub-trees of the provided root path. Also filter the roles_for_paths such that only those roles_for_paths appear that start-with or are sub-tree of the provided root path.

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

        Parameters:
        orgId - (required)
        projectId - (required)
        vpcId - (required)
        cursor - Opaque cursor to be used for getting next page of records (supplied by current result page) (optional)
        identitySourceId - Identity source ID (optional)
        identitySourceType - Identity source type (optional)
        includedFields - Comma separated list of fields that should be included in query result (optional)
        name - User/Group name (optional)
        pageSize - Maximum number of results to return in this page (server may return fewer) (optional, default to 1000)
        path - Exact path of the context (optional)
        role - Role ID (optional)
        rootPath - Prefix path of the context (optional)
        sortAscending - (optional)
        sortBy - Field by which records are sorted (optional)
        type - Type (optional)
        Returns:
        com.vmware.nsx_policy.model.RoleBindingListResult
        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
      • list

        RoleBindingListResult list​(java.lang.String orgId,
                                   java.lang.String projectId,
                                   java.lang.String vpcId,
                                   java.lang.String cursor,
                                   java.lang.String identitySourceId,
                                   java.lang.String identitySourceType,
                                   java.lang.String includedFields,
                                   java.lang.String name,
                                   java.lang.Long pageSize,
                                   java.lang.String path,
                                   java.lang.String role,
                                   java.lang.String rootPath,
                                   java.lang.Boolean sortAscending,
                                   java.lang.String sortBy,
                                   java.lang.String type,
                                   com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
        Get all users and groups with their roles from CSP. If the root_path is provided then only return role bindings that start-with or are sub-trees of the provided root path. Also filter the roles_for_paths such that only those roles_for_paths appear that start-with or are sub-tree of the provided root path.

        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 - (required)
        projectId - (required)
        vpcId - (required)
        cursor - Opaque cursor to be used for getting next page of records (supplied by current result page) (optional)
        identitySourceId - Identity source ID (optional)
        identitySourceType - Identity source type (optional)
        includedFields - Comma separated list of fields that should be included in query result (optional)
        name - User/Group name (optional)
        pageSize - Maximum number of results to return in this page (server may return fewer) (optional, default to 1000)
        path - Exact path of the context (optional)
        role - Role ID (optional)
        rootPath - Prefix path of the context (optional)
        sortAscending - (optional)
        sortBy - Field by which records are sorted (optional)
        type - Type (optional)
        invocationConfig - Configuration for the method invocation.
        Returns:
        com.vmware.nsx_policy.model.RoleBindingListResult
        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
      • list

        void list​(java.lang.String orgId,
                  java.lang.String projectId,
                  java.lang.String vpcId,
                  java.lang.String cursor,
                  java.lang.String identitySourceId,
                  java.lang.String identitySourceType,
                  java.lang.String includedFields,
                  java.lang.String name,
                  java.lang.Long pageSize,
                  java.lang.String path,
                  java.lang.String role,
                  java.lang.String rootPath,
                  java.lang.Boolean sortAscending,
                  java.lang.String sortBy,
                  java.lang.String type,
                  com.vmware.vapi.bindings.client.AsyncCallback<RoleBindingListResult> asyncCallback)
        Get all users and groups with their roles from CSP. If the root_path is provided then only return role bindings that start-with or are sub-trees of the provided root path. Also filter the roles_for_paths such that only those roles_for_paths appear that start-with or are sub-tree of the provided root path.

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

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

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

        Parameters:
        orgId - (required)
        projectId - (required)
        vpcId - (required)
        cursor - Opaque cursor to be used for getting next page of records (supplied by current result page) (optional)
        identitySourceId - Identity source ID (optional)
        identitySourceType - Identity source type (optional)
        includedFields - Comma separated list of fields that should be included in query result (optional)
        name - User/Group name (optional)
        pageSize - Maximum number of results to return in this page (server may return fewer) (optional, default to 1000)
        path - Exact path of the context (optional)
        role - Role ID (optional)
        rootPath - Prefix path of the context (optional)
        sortAscending - (optional)
        sortBy - Field by which records are sorted (optional)
        type - Type (optional)
        asyncCallback - Receives the status (progress, result or error) of the operation invocation.
      • list

        void list​(java.lang.String orgId,
                  java.lang.String projectId,
                  java.lang.String vpcId,
                  java.lang.String cursor,
                  java.lang.String identitySourceId,
                  java.lang.String identitySourceType,
                  java.lang.String includedFields,
                  java.lang.String name,
                  java.lang.Long pageSize,
                  java.lang.String path,
                  java.lang.String role,
                  java.lang.String rootPath,
                  java.lang.Boolean sortAscending,
                  java.lang.String sortBy,
                  java.lang.String type,
                  com.vmware.vapi.bindings.client.AsyncCallback<RoleBindingListResult> asyncCallback,
                  com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
        Get all users and groups with their roles from CSP. If the root_path is provided then only return role bindings that start-with or are sub-trees of the provided root path. Also filter the roles_for_paths such that only those roles_for_paths appear that start-with or are sub-tree of the provided root path.

        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.RoleBindingListResult

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

        Parameters:
        orgId - (required)
        projectId - (required)
        vpcId - (required)
        cursor - Opaque cursor to be used for getting next page of records (supplied by current result page) (optional)
        identitySourceId - Identity source ID (optional)
        identitySourceType - Identity source type (optional)
        includedFields - Comma separated list of fields that should be included in query result (optional)
        name - User/Group name (optional)
        pageSize - Maximum number of results to return in this page (server may return fewer) (optional, default to 1000)
        path - Exact path of the context (optional)
        role - Role ID (optional)
        rootPath - Prefix path of the context (optional)
        sortAscending - (optional)
        sortBy - Field by which records are sorted (optional)
        type - Type (optional)
        asyncCallback - Receives the status (progress, result or error) of the operation invocation.
        invocationConfig - Configuration for the method invocation.
      • patch

        RoleBinding patch​(java.lang.String orgId,
                          java.lang.String projectId,
                          java.lang.String vpcId,
                          RoleBinding roleBinding)
        This API is used to assign a user/group any role(s) of choice on CSP. It is recommended to use the new property roles_for_paths instead of roles. When using the roles_for_paths, set the read_roles_for_paths as true. User has union of all the roles assigned to it on a particular path and its sub-tree. User name is dealt case-insensitively.

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

        Parameters:
        orgId - (required)
        projectId - (required)
        vpcId - (required)
        roleBinding - (required)
        Returns:
        com.vmware.nsx_policy.model.RoleBinding
        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
      • patch

        RoleBinding patch​(java.lang.String orgId,
                          java.lang.String projectId,
                          java.lang.String vpcId,
                          RoleBinding roleBinding,
                          com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
        This API is used to assign a user/group any role(s) of choice on CSP. It is recommended to use the new property roles_for_paths instead of roles. When using the roles_for_paths, set the read_roles_for_paths as true. User has union of all the roles assigned to it on a particular path and its sub-tree. User name is dealt case-insensitively.

        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 - (required)
        projectId - (required)
        vpcId - (required)
        roleBinding - (required)
        invocationConfig - Configuration for the method invocation.
        Returns:
        com.vmware.nsx_policy.model.RoleBinding
        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
      • patch

        void patch​(java.lang.String orgId,
                   java.lang.String projectId,
                   java.lang.String vpcId,
                   RoleBinding roleBinding,
                   com.vmware.vapi.bindings.client.AsyncCallback<RoleBinding> asyncCallback)
        This API is used to assign a user/group any role(s) of choice on CSP. It is recommended to use the new property roles_for_paths instead of roles. When using the roles_for_paths, set the read_roles_for_paths as true. User has union of all the roles assigned to it on a particular path and its sub-tree. User name is dealt case-insensitively.

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

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

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

        Parameters:
        orgId - (required)
        projectId - (required)
        vpcId - (required)
        roleBinding - (required)
        asyncCallback - Receives the status (progress, result or error) of the operation invocation.
      • patch

        void patch​(java.lang.String orgId,
                   java.lang.String projectId,
                   java.lang.String vpcId,
                   RoleBinding roleBinding,
                   com.vmware.vapi.bindings.client.AsyncCallback<RoleBinding> asyncCallback,
                   com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
        This API is used to assign a user/group any role(s) of choice on CSP. It is recommended to use the new property roles_for_paths instead of roles. When using the roles_for_paths, set the read_roles_for_paths as true. User has union of all the roles assigned to it on a particular path and its sub-tree. User name is dealt case-insensitively.

        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.RoleBinding

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

        Parameters:
        orgId - (required)
        projectId - (required)
        vpcId - (required)
        roleBinding - (required)
        asyncCallback - Receives the status (progress, result or error) of the operation invocation.
        invocationConfig - Configuration for the method invocation.