Skip to content

Commit

Permalink
Merge pull request #34 from PureStorage-OpenConnect/staging
Browse files Browse the repository at this point in the history
v1.57.0
  • Loading branch information
sile16 authored Nov 26, 2024
2 parents 7b9aa9b + 97d81de commit 8652bfa
Show file tree
Hide file tree
Showing 244 changed files with 7,881 additions and 225 deletions.
14 changes: 6 additions & 8 deletions html/models/FA2.1/_retention-policy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,24 +3,22 @@ type: object
properties:
all_for_sec:
description: The length of time to keep the specified snapshots. Measured in seconds.
Prior to 6.8.2 the range of 60 to 34560000 is accepted. In 6.8.2 and onwards
the range of 60 to 2147483647 is accepted.
type: integer
format: int32
min: 60
max: 34560000
example: 86400
days:
description: The number of days to keep the snapshots after the `all_for_sec`
period has passed.
period has passed. Prior to 6.6.4 the range of 0 to 4000 is accepted. In 6.6.4
and onwards the range of 0 to 2147483647 is accepted.
type: integer
format: int32
min: 0
max: 4000
example: 7
per_day:
description: The number of snapshots to keep per day after the `all_for_sec` period
has passed.
has passed. Prior to 6.8.2 the range of 0 to 1440 is accepted. In 6.8.2 and
onwards the range of 0 to 2147483647 is accepted.
type: integer
format: int32
min: 0
max: 1440
example: 3
6 changes: 3 additions & 3 deletions html/models/FA2.1/_snapshot_schedule.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,14 @@ type: object
properties:
at:
description: The time of day the snapshot is scheduled to be taken and retained
on the local array or immediately replicated to the target(s). Measured in milliseconds
on the local array or immediately replicated to the target(s). Measured in seconds
since midnight. The `at` value is only used if the `frequency` parameter is
in days (e.g., `259200000`, which is equal to 3 days).
type: integer
format: int64
min: 0
max: 86399000
example: 7200000
max: 86399
example: 7200
enabled:
description: If set to `true`, the policy is enabled.
type: boolean
Expand Down
5 changes: 2 additions & 3 deletions html/models/FA2.23/alert-rules-catalog.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,5 @@ allOf:
example: Range 0-100 (must be equal to or lower than Warning Threshold)
default_value:
description: The system default values for the alert code and parameter.
type: integer
format: int32
example: 80
type: string
example: 80%
9 changes: 9 additions & 0 deletions html/models/FA2.32/policy-nfs-policy-mapping.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
type: object
properties:
mapping:
description: The mapping of this policy. Valid values are `connected` and `disconnected`.
type: string
remote_policy:
description: The policy on the remote pod of the pod replica link for this policy
mapping.
type: string
12 changes: 2 additions & 10 deletions html/models/FA2.32/policy-nfs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,7 @@ allOf:
- $ref: ../../models/FA2.29/policy-nfs.yaml
- properties:
policy_mapping:
type: object
properties:
mapping:
description: The mapping of this policy. Valid values are `connected` and
`disconnected`.
type: string
remote_policy:
description: The policy on the remote pod of the pod replica link for this
policy mapping.
type: string
description: Specifies the mapping of this policy across a pod replica link.
If this policy is not inside a pod of a pod replica link, mapping is `null`.
allOf:
- $ref: ../../models/FA2.32/policy-nfs-policy-mapping.yaml
12 changes: 2 additions & 10 deletions html/models/FA2.32/policy-smb.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,7 @@ allOf:
- $ref: ../../models/FA2.24/policy-smb.yaml
- properties:
policy_mapping:
type: object
properties:
mapping:
description: The mapping of this policy. Valid values are `connected` and
`disconnected`.
type: string
remote_policy:
description: The policy on the remote pod of the pod replica link for this
policy mapping.
type: string
description: Specifies the mapping of this policy across a pod replica link.
If this policy is not inside a pod of a pod replica link, mapping is `null`.
allOf:
- $ref: ../../models/FA2.32/policy-nfs-policy-mapping.yaml
28 changes: 28 additions & 0 deletions html/models/FA2.35/log-target-file.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
allOf:
- $ref: ../../models/FA2.35/log-target.yaml
- description: A file log target
type: object
properties:
directory:
description: Directory name to be used as log target.
allOf:
- $ref: ../../models/FA2.3/_reference-with-type.yaml
keep_for:
description: Specifies the period that audit logs are retained before they are
deleted, in milliseconds. If not specified, defaults to `null` which means
size based retention does not apply. Use 0 to reset the value to `null`. At
least one of the `keep_for` or `keep_size` parameters are required, and they
can be set together.
type: integer
format: int64
minimum: 86400000
example: 86400000
keep_size:
description: Specifies the maximum size of audit logs to be retained. Measured
in bytes. When exceeded, older logs will be deleted. If not specified, defaults
to `null` which means size based retention does not apply. Use 0 to reset
the value to `null`.
type: integer
format: int64
minimum: 1000000
example: 1000000
8 changes: 8 additions & 0 deletions html/models/FA2.35/log-target.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
allOf:
- $ref: ../../models/FA2.2/_fixed-name-resource-no-id.yaml
- properties:
target_type:
description: The type of log target. Valid values include `file`, and `syslog`.
readOnly: true
type: string
example: syslog
9 changes: 9 additions & 0 deletions html/models/FA2.35/policy-audit-file-patch.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
allOf:
- $ref: ../../models/FA2.3/policy-patch.yaml
- properties:
log_targets:
description: A list of targets to which audit logs will be sent. This list,
if sent, overrides existing target list.
type: array
items:
$ref: ../../models/FA2.26/_reference-no-id-with-type.yaml
9 changes: 9 additions & 0 deletions html/models/FA2.35/policy-audit-file-post.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
allOf:
- $ref: ../../models/FA2.3/policy-post.yaml
- properties:
log_targets:
description: A list of targets to which audit logs will be sent.
type: array
required: true
items:
$ref: ../../models/FA2.26/_reference-no-id-with-type.yaml
9 changes: 9 additions & 0 deletions html/models/FA2.35/policy-audit-file.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
allOf:
- $ref: ../../models/FA2.24/policy.yaml
- properties:
log_targets:
description: A list of targets to which audit logs will be sent.
type: array
required: true
items:
$ref: ../../models/FA2.26/_reference-no-id-with-type.yaml
11 changes: 11 additions & 0 deletions html/models/FA2.35/support-patch.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
allOf:
- $ref: ../../models/FA2.2/support-patch.yaml
- properties:
remote_assist_duration:
type: integer
format: int64
description: Specifies the duration of the remote assist session in milliseconds.
This parameter should only be provided when establishing a new session. This
parameter determines the length of time the session will remain active after
it is initiated.
example: 86400000
60 changes: 60 additions & 0 deletions html/models/FA2.35/support.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,60 @@
allOf:
- $ref: ../../models/FA2.35/support-patch.yaml
- type: object
properties:
phonehome_enabled:
description: If set to `true`, enables phonehome. If set to `false`, disables
phonehome.
type: boolean
proxy:
description: The value of the current proxy, which is used to connect to cloud
services such as phonehome and remote assist. Specify the server name, including
the scheme and proxy port number.
type: string
example: http://proxy.example.com:8080
remote_assist_active:
description: If set to `true`, enables the remote assist session. If set to
`false`, disables the remote assist session.
type: boolean
remote_assist_duration:
type: integer
format: int64
description: Specifies the duration of the remote assist session in milliseconds.
This parameter should only be provided when establishing a new session. It
determines the length of time the session will remain active after it's initiated.
example: 86400000
remote_assist_opened:
description: The timestamp when the session opened, measured in milliseconds
since the UNIX epoch.
type: integer
format: int64
readOnly: true
example: 1574460534674
remote_assist_expires:
description: The timestamp when the session expires, measured in milliseconds
since the UNIX epoch.
type: integer
format: int64
readOnly: true
example: 1574633337678
remote_assist_status:
description: The status of the remote assist session. Values include `connected`,
`connecting`, `disconnected`, and `session-active`.
type: string
readOnly: true
example: connected
remote_assist_paths:
type: array
readOnly: true
items:
properties:
component_name:
description: The name of the local controller that is running the remote
assist session.
type: string
example: CT0
status:
description: The status of the remote assist session on the local controller.
Values include `connected`, `connecting`, `disconnected`, and `session-active`.
type: string
example: connected
15 changes: 15 additions & 0 deletions html/models/FA2.35/syslog-server.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
allOf:
- $ref: ../../models/FA2.35/log-target.yaml
- description: A syslog server
type: object
properties:
uri:
description: The URI of the syslog server in the format `PROTOCOL://HOSTNAME:PORT`.
type: string
example: tcp://my.syslogserver.com
services:
description: Valid values are `data-audit` and `management`. If not specified,
defaults to `management`.
type: array
items:
type: string
54 changes: 54 additions & 0 deletions html/models/FA2.35/virtual-machine-volume-snapshot.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
allOf:
- properties:
vm_id:
description: The ID of the virtual machine, as assigned by the external system.
type: string
readOnly: true
vm_type:
description: The type of virtual machine. The only valid value is `vvol`.
type: string
example: vvol
readOnly: true
vvol_type:
description: The type of virtual machine volume. Values include `config` and
`data`.
type: string
example: config
readOnly: true
vvol_name:
description: The name of the virtual machine volume.
type: string
readOnly: true
id:
description: A globally unique, system-generated ID. The ID cannot be modified.
type: string
readOnly: true
name:
description: The name of the virtual machine volume snapshot.
type: string
readOnly: true
created:
description: The virtual machine volume snapshot creation time measured in milliseconds
since the UNIX epoch.
type: integer
format: int64
readOnly: true
destroyed:
description: Returns a value of `true` if the virtual machine volume snapshot
has been destroyed and is pending eradication.
type: boolean
readOnly: true
time_remaining:
description: Specifies the amount of time left until the destroyed volume snapshot
is permanently eradicated, measured in milliseconds. Once the `time_remaining`
period has elapsed, the volume snapshot is permanently eradicated and can
no longer be recovered.
type: integer
format: int64
readOnly: true
recover_context:
description: A reference to any additional entities needed to recover this virtual
machine.
readOnly: true
allOf:
- $ref: ../../models/FA2.0/_fixed-reference.yaml
3 changes: 3 additions & 0 deletions html/models/FA2.36/_admin-role.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
allOf:
- description: This field has been deprecated. Predecessor to management access policies.
- $ref: ../../models/FA2.0/_reference-no-id.yaml
16 changes: 16 additions & 0 deletions html/models/FA2.36/_container-qos.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
type: object
properties:
bandwidth_limit:
description: The maximum QoS bandwidth limit for the container. Whenever throughput
exceeds the bandwidth limit, throttling occurs. Measured in bytes per second.
Maximum limit is 512 GB/s.
type: integer
format: int64
minimum: 1048576
maximum: 549755813888
iops_limit:
description: The QoS IOPs limit for the container.
type: integer
format: int64
minimum: 100
maximum: 100000000
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
allOf:
- $ref: ../../models/FA2.0/_fixed-reference.yaml
- $ref: ../../models/FA2.36/_location-reference.yaml
- properties:
resource_type:
type: string
description: "Type of the object (full name of the endpoint).\n Valid values\
\ are the unique part of the resource's REST endpoint.\n For example, a reference\
\ to a fleet would have a\n `resource_type` of `fleets`."
10 changes: 10 additions & 0 deletions html/models/FA2.36/_location-reference.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
allOf:
- $ref: ../../models/FA2.0/_reference.yaml
- type: object
properties:
is_local:
type: boolean
description: -> If set to `true`, the location reference is to the local array.
If set to `false`, the location reference is to a remote location, such as
a remote array or offload target.
readOnly: true
7 changes: 7 additions & 0 deletions html/models/FA2.36/_member-with-type.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
allOf:
- type: object
properties:
group:
$ref: ../../models/FA2.3/_reference-with-type.yaml
member:
$ref: ../../models/FA2.3/_reference-with-type.yaml
8 changes: 8 additions & 0 deletions html/models/FA2.36/_pod_array_status.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
allOf:
- $ref: ../../models/FA2.1/_pod_array_status.yaml
- type: object
- properties:
member:
description: A reference to the member associated with the pod's array status.
allOf:
- $ref: ../../models/FA2.3/_reference-with-type.yaml
16 changes: 16 additions & 0 deletions html/models/FA2.36/_policyrulemanagementaccess-rules.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
type: object
properties:
role:
description: Role defines a set of permissions applicable in a scope. `viewer`
grants users the ability to read a resource. `support` grants the ability to
perform general support-related actions, as well as read resources. `storage`
grants access to all storage operations on a resource. `admin` grants access
to all operations.
allOf:
- $ref: ../../models/FA2.0/_reference-no-id.yaml
scope:
description: Reference to the resource (e.g. arrays, realms) which specifies the
scope that the role applies. The `id` or `name` parameter is required, but they
cannot be set together. Also, `resource_type` must be set.
allOf:
- $ref: ../../models/FA2.3/_reference-with-type.yaml
Loading

0 comments on commit 8652bfa

Please sign in to comment.