Skip to main content

AlphaPolicyAttributeValue

Alpha: this API can change or be removed at any time, without notice.

A value that a policy condition can name for an attribute key.

graphql
type AlphaPolicyAttributeValue {
value: String!
label: String!
instanceCount: Int
}

Fields​

AlphaPolicyAttributeValue.value ● String! non-null scalar {#value}​

The value to put in the condition, for example prod.

AlphaPolicyAttributeValue.label ● String! non-null scalar {#label}​

A name to show for the value. For md-project it is the project name; otherwise it is the value.

AlphaPolicyAttributeValue.instanceCount ● Int scalar {#instance-count}​

The number of instances in your organization that a condition with this value matches. An instance has the custom attribute value set on it or on its project, environment, or component; when more than one sets the key, the project's value wins, then the environment's, then the component's. A bundle name without a version matches instances on every version of the bundle. Null for keys that instances do not have, such as md-resource-type and md-repo-artifact-type.

Member Of​

AlphaPolicyAttributeValuesPage object