...

Text file src/edge-infra.dev/pkg/edge/api/graph/schema/log_classifications_labels_queries.graphql

Documentation: edge-infra.dev/pkg/edge/api/graph/schema

     1extend type Query {
     2  """
     3  Gets Log Classification Label based on the parameters passed in
     4  TODO: TO BE DEPRECATED IN 0.25 @RS185722
     5  """
     6  getLogClassificationLabel(
     7    """
     8    log classification label edge id is the edge id for the classification label
     9    """
    10    logClassificationLabelEdgeID: String!
    11    """
    12    log classification edge id is the edge id for the classification
    13    """
    14    logClassificationEdgeID: String! @hasBannerAccess(field: "bannerEdgeID")
    15    """
    16    label edge id is the edge id for the label
    17    """
    18    labelEdgeID: String! @hasLabelAccess(field: "labelEdgeID")
    19  ): LogClassificationLabel!
    20    @hasRole(
    21      roles: [
    22        EDGE_ORG_ADMIN
    23        EDGE_BANNER_ADMIN
    24        EDGE_BANNER_OPERATOR
    25        EDGE_BANNER_VIEWER
    26      ]
    27    )
    28    @deprecated(reason: "Will be Removed in 0.25")
    29
    30  """
    31  Gets Log Classification Label based on the parameters passed in
    32  TODO: TO BE DEPRECATED IN 0.25 @RS185722
    33  """
    34  getLogClassificationLabelsByLabel(
    35    """
    36    label edge id is the edge id for the label
    37    """
    38    labelEdgeID: String! @hasLabelAccess(field: "labelEdgeID")
    39  ): [LogClassificationLabel]!
    40    @hasRole(
    41      roles: [
    42        EDGE_ORG_ADMIN
    43        EDGE_BANNER_ADMIN
    44        EDGE_BANNER_OPERATOR
    45        EDGE_BANNER_VIEWER
    46      ]
    47    )
    48    @deprecated(reason: "Will be Removed in 0.25")
    49
    50  """
    51  Gets Log Classification Label based on the parameters passed in
    52  TODO: TO BE DEPRECATED IN 0.25 @RS185722
    53  """
    54  getLogClassificationLabelsByBanner(
    55    """
    56    banner edge id is the edge id for the label
    57    """
    58    bannerEdgeID: String! @hasBannerAccess(field: "bannerEdgeID")
    59  ): [LogClassificationLabel]!
    60    @hasRole(
    61      roles: [
    62        EDGE_ORG_ADMIN
    63        EDGE_BANNER_ADMIN
    64        EDGE_BANNER_OPERATOR
    65        EDGE_BANNER_VIEWER
    66      ]
    67    )
    68    @deprecated(reason: "Will be Removed in 0.25")
    69}
    70
    71extend type Mutation {
    72  """
    73  Gets Log Classification Label based on the parameters passed in
    74  TODO: TO BE DEPRECATED IN 0.25 @RS185722
    75  """
    76  createLogClassificationLabel(
    77    """
    78    log classification edge id is the edge id for the classification
    79    """
    80    logClassificationEdgeID: String! @hasBannerAccess(field: "bannerEdgeID")
    81    """
    82    label edge id is the edge id for the label
    83    """
    84    labelEdgeID: String! @hasLabelAccess(field: "labelEdgeID")
    85  ): String!
    86    @hasRole(
    87      roles: [
    88        EDGE_ORG_ADMIN
    89        EDGE_BANNER_ADMIN
    90        EDGE_BANNER_OPERATOR
    91        EDGE_BANNER_VIEWER
    92      ]
    93    )
    94    @deprecated(reason: "Will be Removed in 0.25")
    95
    96  """
    97  Deletes Log Classification Label based on the parameters passed in
    98  TODO: TO BE DEPRECATED IN 0.25 @RS185722
    99  """
   100  deleteLogClassificationLabel(
   101    """
   102    log classification label edge id is the edge id for the classification label
   103    """
   104    logClassificationLabelEdgeID: String!
   105    """
   106    log classification edge id is the edge id for the classification
   107    """
   108    logClassificationEdgeID: String! @hasBannerAccess(field: "bannerEdgeID")
   109    """
   110    label edge id is the edge id for the label
   111    """
   112    labelEdgeID: String! @hasLabelAccess(field: "labelEdgeID")
   113  ): Boolean!
   114    @hasRole(
   115      roles: [
   116        EDGE_ORG_ADMIN
   117        EDGE_BANNER_ADMIN
   118        EDGE_BANNER_OPERATOR
   119        EDGE_BANNER_VIEWER
   120      ]
   121    )
   122    @deprecated(reason: "Will be Removed in 0.25")
   123
   124  """
   125  Updates which Label a Log Classification points to
   126  TODO: TO BE DEPRECATED IN 0.25 @RS185722
   127  """
   128  updateLogClassificationLabel(
   129    """
   130    log classification edge id is the edge id for the classification
   131    """
   132    logClassificationEdgeID: String! @hasBannerAccess(field: "bannerEdgeID")
   133    """
   134    label edge id is the edge id for the label
   135    """
   136    labelEdgeID: String! @hasLabelAccess(field: "labelEdgeID")
   137  ): String!
   138    @hasRole(
   139      roles: [
   140        EDGE_ORG_ADMIN
   141        EDGE_BANNER_ADMIN
   142        EDGE_BANNER_OPERATOR
   143        EDGE_BANNER_VIEWER
   144      ]
   145    )
   146    @deprecated(reason: "Will be Removed in 0.25")
   147}

View as plain text