Skip to content

Commit

Permalink
Merge pull request #31 from PureStorage-OpenConnect/staging
Browse files Browse the repository at this point in the history
adding in FA 2.34
  • Loading branch information
sile16 authored Jul 24, 2024
2 parents 34486b9 + 6b4ed7c commit 414fad2
Show file tree
Hide file tree
Showing 136 changed files with 3,549 additions and 76 deletions.
34 changes: 34 additions & 0 deletions html/models/FA2.34/_pod-space.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
allOf:
- $ref: ../../models/FA2.34/_space.yaml
- properties:
replication:
description: The space consumed by unique data that has not been replicated
to the target pod, on source pods. The space consumed by unique data that
has been replicated to the target, but not yet incorporated into the target
pod, on target pods. On Evergreen//One arrays, the effective space consumed
by unique data that has not been replicated to the target pod, on source pods.
The effective space consumed by unique data that has been replicated to the
target, but not yet incorporated into the target pod, on target pods.
type: integer
format: int64
minimum: 0
shared_effective:
description: This field has been deprecated. The effective space contributed
by data that is not unique to a specific volume, managed directory, or snapshot,
measured in bytes. Please use the `shared` field in the future, as it contains
the same information for Evergreen//One arrays.
type: integer
format: int64
minimum: 0
readOnly: true
replication_effective:
description: This field has been deprecated. The effective space consumed by
unique data that has not been replicated to the target pod, on source pods.
The effective space consumed by unique data that has been replicated to the
target but not yet incorporated into the target pod, on target pods. Please
use the `replication` field in the future, as it contains the same information
for Evergreen//One arrays.
type: integer
format: int64
minimum: 0
readOnly: true
12 changes: 12 additions & 0 deletions html/models/FA2.34/_snapshot-space.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
allOf:
- $ref: ../../models/FA2.34/_space.yaml
- properties:
snapshots_effective:
description: This field has been deprecated. The effective space contributed
by data unique to one or more snapshots, measured in bytes. Use the `snapshots`
field in the future, as it contains the same information for Evergreen//One
arrays.
type: integer
format: int64
minimum: 0
readOnly: true
54 changes: 54 additions & 0 deletions html/models/FA2.34/_space.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
allOf:
- $ref: ../../models/FA2.0/_space.yaml
- readOnly: true
- properties:
total_provisioned:
description: The provisioned size of a volume for a single volume, host or host
group, protocol endpoint, managed directory, and containers can be infinite
or measured in bytes. Infinite is represented by `null`. The provisioned size
for a host or host group, includes all volumes that are connected to the resource.
The provisioned size for a protocol endpoint is `null'. The provisioned size
for a managed directory is the quota limit if it or its parent has a managed
directory configured, otherwise it defaults to `null`. The provisioned size
for a container is the sum of the total_provisioned of the object it contains,
capped by the container's quota limit (or the container's used_provisioned
if current usage is above the quota limit), if any. Provisioned size represents
the storage capacity reported to hosts.
type: integer
format: int64
minimum: 0
example: 19937690345472
readOnly: true
used_provisioned:
description: The amount of logical space a container has consumed, compared
against the quota limit if the container has one configured. Used provisioned
does not include destroyed objects inside the container. Used provisioned
can include destroyed objects for a destroyed container and represents how
much logical space it would take to recover the container.
type: integer
format: int64
minimum: 0
example: 19937690345472
readOnly: true
total_physical:
description: This field has been deprecated. Use the `total_used` field, as
it contains the same information.
type: integer
format: int64
minimum: 0
total_used:
description: The total space contributed by customer data, measured in bytes.
type: integer
format: int64
minimum: 0
readOnly: true
footprint:
description: The maximum amount of physical space the container consumes on
an array, ignoring any data shared outside the container, measured in bytes.
On Evergreen//One arrays, this is the maximum amount of effective used space.
The footprint metric is mostly used for capacity planning. This field will
be null in non-container contexts.
type: integer
format: int64
minimum: 0
readOnly: true
8 changes: 8 additions & 0 deletions html/models/FA2.34/_volume-common.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
allOf:
- $ref: ../../models/FA2.26/_volume-common.yaml
- type: object
properties:
space:
description: Displays size and space consumption information.
allOf:
- $ref: ../../models/FA2.34/_volume-space-common.yaml
29 changes: 29 additions & 0 deletions html/models/FA2.34/_volume-space-common.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
allOf:
- $ref: ../../models/FA2.34/_space.yaml
- properties:
snapshots_effective:
description: This field has been deprecated. The effective space contributed
by data unique to one or more snapshots, measured in bytes. Use the `snapshots`
field in the future, as it contains the same information for Evergreen//One
arrays.
type: integer
format: int64
minimum: 0
readOnly: true
unique_effective:
description: This field has been deprecated. The effective space contributed
by unique customer data. Unique data does not include shared space, snapshots,
and internal array metadata, measured in bytes. Use the `unique` field in
the future, as it contains the same information for Evergreen//One arrays.
type: integer
format: int64
minimum: 0
readOnly: true
total_effective:
description: This field has been deprecated. The total effective space contributed
by customer data, measured in bytes. Use the `total_physical` field in the
future, as it contains the same information for Evergreen//One arrays.
type: integer
format: int64
minimum: 0
readOnly: true
17 changes: 17 additions & 0 deletions html/models/FA2.34/array-erasure-patch.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
allOf:
- type: object
- properties:
image_source:
description: Source of the ISO image to download. Valid values include `auto`
and URLs. `auto` means download the image from Pure1 cloud, and a URL means
download the image from the specified URL. Default value is `auto`.
type: string
example: auto
image_version:
description: Version of the image to download. `image_version` is optional,
and the default value is the current running Purity version. If `image_source`
is `auto`, the image with the specified version will be downloaded from Pure1
cloud. If `image_source` is a URL, `image_version` will be used to compare
to the downloaded image version for the purpose of validation.
type: string
example: 6.6.6
43 changes: 43 additions & 0 deletions html/models/FA2.34/array-erasure.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
allOf:
- $ref: ../../models/FA2.0/_resource.yaml
- description: Status and detailed information of the factory reset process.
type: object
properties:
status:
description: The status of the factory reset process. Valid values include `resetting`,
`reset_failed`, `reimage_failed`, `waiting_for_finalize`, `downloading`, `downloaded`,
and `download_failed`. A status of `resetting` indicates that the factory
reset is running. A status of `reset_failed` indicates that the factory reset
encountered a failure. A status of `reimage_failed` indicates that the factory
reset failed to reimage the array. A status of `waiting_for_finalize` indicates
that the factory reset has finished sanitizing drives, and is waiting to be
finalized. A status of `downloading` indicates that the factory reset is downloading
ISO image. A status of `downloaded` indicates that the factory reset completed
ISO image download. A status of `download_failed` indicates that the factory
reset failed to download ISO image.
type: string
example: resetting
image_source:
description: Source of the ISO image to download. Valid values include `auto`
and URLs. `auto` means download the image from Pure1 cloud, and a URL means
download the image from the specified URL.
type: string
example: auto
image_version:
description: Version of the image to download and install.
type: string
example: 6.6.6
image_download_progress:
description: The progress of the ISO image download, displayed in decimal format.
min: 0.0
max: 1.0
type: number
format: float
example: 0.32
details:
description: The detailed reason of the `status`.
type: string
sanitization_certificate:
description: The sanitization certificate of the factory reset, which complies
with the standard described in NIST SP800-88R1 section 4.8.
type: string
6 changes: 6 additions & 0 deletions html/models/FA2.34/array-space.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
allOf:
- $ref: ../../models/FA2.26/array-space.yaml
- readOnly: true
properties:
space:
$ref: ../../models/FA2.34/space.yaml
6 changes: 6 additions & 0 deletions html/models/FA2.34/arrays.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
allOf:
- $ref: ../../models/FA2.26/arrays.yaml
- type: object
properties:
space:
$ref: ../../models/FA2.34/space.yaml
7 changes: 7 additions & 0 deletions html/models/FA2.34/directory-snapshot.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
allOf:
- $ref: ../../models/FA2.26/directory-snapshot.yaml
- properties:
space:
description: Displays size and space consumption details.
allOf:
- $ref: ../../models/FA2.34/_space.yaml
7 changes: 7 additions & 0 deletions html/models/FA2.34/directory.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
allOf:
- $ref: ../../models/FA2.26/directory.yaml
- properties:
space:
description: Displays size and space consumption details.
allOf:
- $ref: ../../models/FA2.34/_space.yaml
10 changes: 10 additions & 0 deletions html/models/FA2.34/host-group.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
allOf:
- $ref: ../../models/FA2.26/host-group.yaml
- type: object
properties:
space:
description: Displays provisioned (virtual) size and physical storage consumption
information for the sum of all volumes connected to the specified host.
readOnly: true
allOf:
- $ref: ../../models/FA2.34/_space.yaml
10 changes: 10 additions & 0 deletions html/models/FA2.34/host.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
allOf:
- $ref: ../../models/FA2.26/host.yaml
- type: object
properties:
space:
description: Displays provisioned (virtual) size and physical storage consumption
information for the sum of all volumes connected to the specified host.
readOnly: true
allOf:
- $ref: ../../models/FA2.34/_space.yaml
19 changes: 19 additions & 0 deletions html/models/FA2.34/non-copyable-tag.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
type: object
properties:
key:
description: Key of the tag. Supports up to 64 Unicode characters.
type: string
example: environment
namespace:
description: Optional namespace of the tag. Namespace identifies the category
of the tag. Omitting the namespace defaults to the namespace `default`. The
`pure*` namespaces are reserved for plugins and integration partners. It
is recommended that customers avoid using reserved namespaces.
type: string
example: default
resource:
$ref: ../../models/FA2.0/_fixed-reference.yaml
value:
description: Value of the tag. Supports up to 256 Unicode characters.
type: string
example: staging
6 changes: 6 additions & 0 deletions html/models/FA2.34/offload.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
allOf:
- $ref: ../../models/FA2.26/offload.yaml
- type: object
properties:
space:
$ref: ../../models/FA2.34/_space.yaml
18 changes: 18 additions & 0 deletions html/models/FA2.34/pod.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
allOf:
- $ref: ../../models/FA2.26/pod.yaml
- type: object
properties:
footprint:
description: This field has been deprecated. Use the `space.footprint` field
in the future, as it contains the same information. The maximum amount of
space the pod would take up on any array, ignoring any data shared outside
the pod. Measured in bytes. The footprint metric is mostly used for capacity
planning.
type: integer
format: int64
minimum: 0
space:
description: Displays provisioned size and physical storage consumption information
for the sum of all volumes connected to the specified host.
allOf:
- $ref: ../../models/FA2.34/_pod-space.yaml
77 changes: 77 additions & 0 deletions html/models/FA2.34/policy-password.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,77 @@
allOf:
- $ref: ../../models/FA2.0/_resource.yaml
- properties:
policy_type:
description: The type of policy. Valid values include `autodir`, `nfs`, `password`,
`smb`, `snapshot`, and `quota`.
readOnly: true
type: string
enabled:
description: Returns a value of `true` if the policy is enabled.
type: boolean
lockout_duration:
description: The lockout duration, in milliseconds, if a user is locked out
after reaching the maximum number of login attempts. Ranges from 1 second
to 90 days.
type: integer
format: int64
minimum: 1000
maximum: 7776000000
example: 3600000
max_login_attempts:
description: Maximum number of failed login attempts allowed before the user
is locked out.
type: integer
format: int32
minimum: 1
maximum: 100
example: 10
min_password_length:
description: Minimum password length. If not specified, defaults to 1.
type: integer
format: int32
minimum: 1
maximum: 100
example: 1
password_history:
description: The number of passwords tracked to prevent reuse of passwords.
type: integer
format: int32
minimum: 0
maximum: 64
example: 5
min_password_age:
description: The minimum age, in milliseconds, of password before password change
is allowed. Ranges from 0 ms to 7 days
type: integer
format: int64
minimum: 0
maximum: 604800000
example: 86400000
min_character_groups:
description: The minimum number of character groups ([a-z], [A-Z], [0-9], other)
required to be present in a password.
type: integer
format: int32
minimum: 0
maximum: 4
example: 3
min_characters_per_group:
description: The minimum number of characters per group to count the group as
present. Maximum is limited by the minimum password length divided by the
number of character groups (e.g. min_password_length = 9, min_character_groups
= 4, then maximum is 2).
type: integer
format: int32
minimum: 1
example: 1
enforce_username_check:
description: If `true`, the username cannot be a substring of the password.
It only applies to usernames of 3 characters and longer.
type: boolean
example: true
enforce_dictionary_check:
description: If `true`, test password against dictionary of known leaked passwords.
Only applies to passwords longer than 6 characters.
type: boolean
example: true
7 changes: 7 additions & 0 deletions html/models/FA2.34/protection-group-snapshot-patch.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
allOf:
- $ref: ../../models/FA2.34/protection-group-snapshot.yaml
- type: object
properties:
suffix:
type: string
readOnly: true
8 changes: 8 additions & 0 deletions html/models/FA2.34/protection-group-snapshot-post.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
allOf:
- $ref: ../../models/FA2.0/_built-in.yaml
- $ref: ../../models/FA2.34/protection-group-snapshot.yaml
- type: object
properties:
destroyed:
type: boolean
readOnly: true
Loading

0 comments on commit 414fad2

Please sign in to comment.