Class IAMResourceTypesImpl

java.lang.Object
com.eqixiac.equinix.iam.client.implementation.IAMResourceTypesImpl
All Implemented Interfaces:
IAMResourceTypes

public class IAMResourceTypesImpl extends Object implements IAMResourceTypes
  • Constructor Details

    • IAMResourceTypesImpl

      public IAMResourceTypesImpl()
  • Method Details

    • listResourceTypes

      public ResourceTypeList listResourceTypes(String projectId, String serviceId)
      Description copied from interface: IAMResourceTypes
      Lists the registered resource types for a service within a project, first page (operationId listResourceTypes).
      Specified by:
      listResourceTypes in interface IAMResourceTypes
      Parameters:
      projectId - the IAM project id, project:<id> (for example project:abc-123); a bare Resource Manager UUID is rejected, convert it with ProjectIds.of(String). Project-scoped endpoints need an STS access-policy token (new IAM(BearerTokenProvider))
      serviceId - the fully qualified service id to list resource types for (required)
      Returns:
      the first page of resource types
    • listResourceTypes

      public ResourceTypeList listResourceTypes(String projectId, String serviceId, String pageToken, Integer pageSize, String projectErn)
      Description copied from interface: IAMResourceTypes
      Lists the registered resource types for a service within a project, controlling pagination (operationId listResourceTypes).
      Specified by:
      listResourceTypes in interface IAMResourceTypes
      Parameters:
      projectId - the IAM project id, project:<id> (for example project:abc-123); a bare Resource Manager UUID is rejected, convert it with ProjectIds.of(String). Project-scoped endpoints need an STS access-policy token (new IAM(BearerTokenProvider))
      serviceId - the fully qualified service id to list resource types for (required)
      pageToken - the opaque page token from a prior response, or null for the first page
      pageSize - the maximum number of results per page, or null for the server default
      projectErn - the project ERN (optional, mutually exclusive with projectId), or null
      Returns:
      the requested page of resource types
    • listActions

      public ActionList listActions(String projectId, String serviceId)
      Description copied from interface: IAMResourceTypes
      Lists the available actions for a service within a project, first page (operationId listActions).
      Specified by:
      listActions in interface IAMResourceTypes
      Parameters:
      projectId - the IAM project id, project:<id> (for example project:abc-123); a bare Resource Manager UUID is rejected, convert it with ProjectIds.of(String). Project-scoped endpoints need an STS access-policy token (new IAM(BearerTokenProvider))
      serviceId - the fully qualified service id to list actions for (required)
      Returns:
      the first page of actions
    • listActions

      public ActionList listActions(String projectId, String serviceId, String pageToken, Integer pageSize, String projectErn)
      Description copied from interface: IAMResourceTypes
      Lists the available actions for a service within a project, controlling pagination (operationId listActions).
      Specified by:
      listActions in interface IAMResourceTypes
      Parameters:
      projectId - the IAM project id, project:<id> (for example project:abc-123); a bare Resource Manager UUID is rejected, convert it with ProjectIds.of(String). Project-scoped endpoints need an STS access-policy token (new IAM(BearerTokenProvider))
      serviceId - the fully qualified service id to list actions for (required)
      pageToken - the opaque page token from a prior response, or null for the first page
      pageSize - the maximum number of results per page, or null for the server default
      projectErn - the project ERN (optional, mutually exclusive with projectId), or null
      Returns:
      the requested page of actions
    • listActionSets

      public ServiceActionSetList listActionSets(String projectId, String serviceId)
      Description copied from interface: IAMResourceTypes
      Lists the action sets for a service within a project, first page (operationId listActionSets).
      Specified by:
      listActionSets in interface IAMResourceTypes
      Parameters:
      projectId - the IAM project id, project:<id> (for example project:abc-123); a bare Resource Manager UUID is rejected, convert it with ProjectIds.of(String). Project-scoped endpoints need an STS access-policy token (new IAM(BearerTokenProvider))
      serviceId - the service to list action sets for
      Returns:
      the first page of action sets
    • listActionSets

      public ServiceActionSetList listActionSets(String projectId, String serviceId, String pageToken, Integer pageSize, String projectErn)
      Description copied from interface: IAMResourceTypes
      Lists the action sets for a service within a project, controlling pagination (operationId listActionSets).
      Specified by:
      listActionSets in interface IAMResourceTypes
      Parameters:
      projectId - the IAM project id, project:<id> (for example project:abc-123); a bare Resource Manager UUID is rejected, convert it with ProjectIds.of(String). Project-scoped endpoints need an STS access-policy token (new IAM(BearerTokenProvider))
      serviceId - the service to list action sets for
      pageToken - the opaque page token from a prior response, or null for the first page
      pageSize - the maximum number of results per page, or null for the server default
      projectErn - the project ERN (optional, mutually exclusive with projectId), or null
      Returns:
      the requested page of action sets
    • listResourceTypeActions

      public ResourceTypeActionPage listResourceTypeActions(String projectId, String serviceId, String resourceType)
      Description copied from interface: IAMResourceTypes
      Pages the resource-type-to-action mappings for a service and resource type within a project, first page (operationId pageResourceTypeActions).
      Specified by:
      listResourceTypeActions in interface IAMResourceTypes
      Parameters:
      projectId - the IAM project id, project:<id> (for example project:abc-123); a bare Resource Manager UUID is rejected, convert it with ProjectIds.of(String). Project-scoped endpoints need an STS access-policy token (new IAM(BearerTokenProvider))
      serviceId - the fully qualified service id owning the resource type (required)
      resourceType - the resource type within the service (required)
      Returns:
      the first page of resource-type actions
    • listResourceTypeActions

      public ResourceTypeActionPage listResourceTypeActions(String projectId, String serviceId, String resourceType, String resourceTypeServiceId, String lastAction, Integer pageSize, String projectErn)
      Description copied from interface: IAMResourceTypes
      Pages the resource-type-to-action mappings for a service and resource type within a project, controlling cursor-based pagination (operationId pageResourceTypeActions).

      This operation uses cursor-based pagination keyed on lastAction: pass the action of the last item received from the previous page as lastAction to retrieve the next page.

      Specified by:
      listResourceTypeActions in interface IAMResourceTypes
      Parameters:
      projectId - the IAM project id, project:<id> (for example project:abc-123); a bare Resource Manager UUID is rejected, convert it with ProjectIds.of(String). Project-scoped endpoints need an STS access-policy token (new IAM(BearerTokenProvider))
      serviceId - the fully qualified service id owning the resource type (required)
      resourceType - the resource type within the service (required)
      resourceTypeServiceId - the service id of the resource type when different from serviceId, or null
      lastAction - the id of the last action received (the cursor), or null for the first page
      pageSize - the maximum number of results per page, or null for the server default
      projectErn - the project ERN (optional, mutually exclusive with projectId), or null
      Returns:
      the requested page of resource-type actions
    • getServicePolicySchema

      public ServicePolicySchema getServicePolicySchema(String projectId, String serviceId)
      Description copied from interface: IAMResourceTypes
      Gets the policy schema for a service within a project (operationId getServicePolicySchema).
      Specified by:
      getServicePolicySchema in interface IAMResourceTypes
      Parameters:
      projectId - the IAM project id, project:<id> (for example project:abc-123); a bare Resource Manager UUID is rejected, convert it with ProjectIds.of(String). Project-scoped endpoints need an STS access-policy token (new IAM(BearerTokenProvider))
      serviceId - the service to fetch the policy schema for
      Returns:
      the service policy schema