diff --git a/v1/api/swagger/components/schemas/FileInfo.yaml b/v1/api/swagger/components/schemas/FileInfo.yaml index ca9ff83..972eb1f 100644 --- a/v1/api/swagger/components/schemas/FileInfo.yaml +++ b/v1/api/swagger/components/schemas/FileInfo.yaml @@ -61,3 +61,10 @@ properties: description: >- URL of the file that should be kept secret. If this field is set, it will be used for accessing the file and DisplayURL will be ignored. + InsecureDownload: + type: boolean + description: >- + Indicates if the web server the file is being downloaded from should have + the SSL certificate validation bypassed. Useful for downloading from an + internal webserver with either self-signed or internal CA issued SSL certificate. + example: true diff --git a/v1/pkg/client/api/openapi.yaml b/v1/pkg/client/api/openapi.yaml index db1d677..ca0d28e 100644 --- a/v1/pkg/client/api/openapi.yaml +++ b/v1/pkg/client/api/openapi.yaml @@ -5895,6 +5895,13 @@ components: is set, it will be used for accessing the file and DisplayURL will be ignored. type: string + InsecureDownload: + description: Indicates if the web server the file is being downloaded from + should have the SSL certificate validation bypassed. Useful for downloading + from an internal webserver with either self-signed or internal CA issued + SSL certificate. + example: true + type: boolean required: - Algorithm - DisplayURL diff --git a/v1/pkg/client/docs/FileInfo.md b/v1/pkg/client/docs/FileInfo.md index fd7a294..9838ae0 100644 --- a/v1/pkg/client/docs/FileInfo.md +++ b/v1/pkg/client/docs/FileInfo.md @@ -13,6 +13,7 @@ Name | Type | Description | Notes **Expand** | **bool** | Indicates if the file is compressed and should be expanded using the filename suffix in the Path as a guide. | **DisplayURL** | **string** | URL of the file that should be returned in REST response or used for display purpose. The file is downloaded from this URL only when SecureURL is not set. | **SecureURL** | **string** | URL of the file that should be kept secret. If this field is set, it will be used for accessing the file and DisplayURL will be ignored. | +**InsecureDownload** | **bool** | Indicates if the web server the file is being downloaded from should have the SSL certificate validation bypassed. Useful for downloading from an internal webserver with either self-signed or internal CA issued SSL certificate. | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/v1/pkg/client/model_file_info.go b/v1/pkg/client/model_file_info.go index f25c507..12b7ee9 100644 --- a/v1/pkg/client/model_file_info.go +++ b/v1/pkg/client/model_file_info.go @@ -1,15 +1,16 @@ -// (C) Copyright 2021-2023 Hewlett Packard Enterprise Development LP +// (C) Copyright 2021-2024 Hewlett Packard Enterprise Development LP /* * HPE GreenLake for bare metal API * - * This Metal Client REST API provides access to bare metal as-a-service (BMaaS) within a single project context. Clients are able to create fully-provisioned hosts, storage volumes, and project-specific private networks in an isolated project environment. Project-owned resources that can be accessed via this API include - Host, Volume, VolumeAttachment, Network (project private), and SSH Key. Each API call is done within a single project context. The specific Project identifier must be provided within the header of for each REST call. The server will validate that the provided authentication credentials (JWTs) are valid for the referenced project before any operation is performed. If a single credential is valid for multiple projects, the client must still reference a single project in the header for each API call. Clients can also access information about available services and resources through the AvailableResources object. This object provides detailed information about the OS imaging options, the machine size options, the storage volume options, and data center locations which are needed when creating hosts and volumes. + * This Metal Client REST API provides access to bare metal as-a-service (BMaaS) within a single project context. Clients are able to create fully-provisioned hosts, storage volumes, and project-specific private networks in an isolated project environment. Project-owned resources that can be accessed via this API include - Host, Volume, VolumeAttachment, Network (project private), and SSH Key. Each API call is done within a single project context. The specific Project identifier must be provided within the header of for each REST call. The server will validate that the provided authentication credentials (JWTs) are valid for the referenced project before any operation is performed. If a single credential is valid for multiple projects, the client must still reference a single project in the header for each API call. Clients can also access information about available services and resources through the AvailableResources object. This object provides detailed information about the OS imaging options, the machine size options, the storage volume options, and data center locations which are needed when creating hosts and volumes. * * API version: v1 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ package client + // FileInfo Information about the file associated with the OS service image. type FileInfo struct { // Unique ID of this FileInfo. @@ -29,4 +30,6 @@ type FileInfo struct { DisplayURL string `json:"DisplayURL"` // URL of the file that should be kept secret. If this field is set, it will be used for accessing the file and DisplayURL will be ignored. SecureURL string `json:"SecureURL"` + // Indicates if the web server the file is being downloaded from should have the SSL certificate validation bypassed. Useful for downloading from an internal webserver with either self-signed or internal CA issued SSL certificate. + InsecureDownload bool `json:"InsecureDownload,omitempty"` }