Skip to content

Commit

Permalink
refreshing the provider for intersight version 18012 (#284)
Browse files Browse the repository at this point in the history
  • Loading branch information
vvb authored Aug 24, 2024
1 parent 3931bdf commit 5336e96
Show file tree
Hide file tree
Showing 10,129 changed files with 39,136 additions and 38,835 deletions.
The diff you're trying to view is too large. We only load the first 3000 changed files.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
# Change Logs

## v1.0.53
* Refreshes the terraform module to be in sync with the latest Cisco Intersight model (build 18012)

## v1.0.52
* Refreshes the terraform module to be in sync with the latest Cisco Intersight model (build 17956)

Expand Down
2 changes: 1 addition & 1 deletion GNUmakefile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
PKG_NAME=intersight
VERSION=1.0.52
VERSION=1.0.53
TEST?=$$(go list ./... |grep -v 'vendor')
GOFMT_FILES?=$$(find . -name '*.go' |grep -v vendor)
WEBSITE_REPO=github.com/hashicorp/terraform-website
Expand Down
2 changes: 1 addition & 1 deletion examples/sample_modules/os_install/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ terraform {
required_providers {
intersight = {
source = "CiscoDevNet/intersight"
version = "1.0.52"
version = "1.0.53"
}
}
}
Expand Down
2 changes: 1 addition & 1 deletion examples/sample_modules/server_configurations/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ terraform {
required_providers {
intersight = {
source = "CiscoDevNet/intersight"
version = "1.0.52"
version = "1.0.53"
}
}
}
Expand Down
2 changes: 1 addition & 1 deletion examples/sample_modules/server_deployment/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ terraform {
required_providers {
intersight = {
source = "CiscoDevNet/intersight"
version = "1.0.52"
version = "1.0.53"
}
}
}
Expand Down
11 changes: 11 additions & 0 deletions intersight/data_source_intersight_network_element_summary.go
Original file line number Diff line number Diff line change
Expand Up @@ -637,6 +637,11 @@ func getNetworkElementSummarySchema() map[string]*schema.Schema {
Type: schema.TypeInt,
Optional: true,
},
"user_label": {
Description: "The user defined label assigned to the server.",
Type: schema.TypeString,
Optional: true,
},
"vendor": {
Description: "This field identifies the vendor of the given component.",
Type: schema.TypeString,
Expand Down Expand Up @@ -1425,6 +1430,11 @@ func dataSourceNetworkElementSummaryRead(c context.Context, d *schema.ResourceDa
o.SetTotalMemory(x)
}

if v, ok := d.GetOk("user_label"); ok {
x := (v.(string))
o.SetUserLabel(x)
}

if v, ok := d.GetOk("vendor"); ok {
x := (v.(string))
o.SetVendor(x)
Expand Down Expand Up @@ -1632,6 +1642,7 @@ func dataSourceNetworkElementSummaryRead(c context.Context, d *schema.ResourceDa
temp["tags"] = flattenListMoTag(s.GetTags(), d)
temp["thermal"] = (s.GetThermal())
temp["total_memory"] = (s.GetTotalMemory())
temp["user_label"] = (s.GetUserLabel())
temp["vendor"] = (s.GetVendor())
temp["nr_version"] = (s.GetVersion())

Expand Down
2 changes: 1 addition & 1 deletion intersight/flatten_functions.go
Original file line number Diff line number Diff line change
Expand Up @@ -16892,7 +16892,7 @@ func flattenMapKubernetesProxyConfig(p models.KubernetesProxyConfig, d *schema.R
kubernetesproxyconfig["hostname"] = item.GetHostname()
kubernetesproxyconfig["is_password_set"] = item.GetIsPasswordSet()
kubernetesproxyconfig["object_type"] = item.GetObjectType()
password_x, exists := d.GetOk("docker_http_proxy")
password_x, exists := d.GetOk("http_proxy")
if exists && password_x != nil {
password_y := password_x.([]interface{})[0].(map[string]interface{})
kubernetesproxyconfig["password"] = password_y["password"]
Expand Down
8 changes: 4 additions & 4 deletions intersight/resource_intersight_workflow_template_parser.go
Original file line number Diff line number Diff line change
Expand Up @@ -468,9 +468,9 @@ func resourceWorkflowTemplateParser() *schema.Resource {
ForceNew: true,
},
"label": {
Description: "Label for the enum value. A user friendly short string to identify the enum value. Label can only contain letters (a-z, A-Z), numbers (0-9), hyphen (-), period (.), colon (:), space ( ), single quote ('), forward slash (/), or an underscore (_) and must have an alphanumeric character.",
Description: "Label for the enum value. A user friendly short string to identify the enum value. Label can only contain letters (a-z, A-Z), numbers (0-9), hyphen (-), period (.), colon (:), space ( ), single quote ('), forward slash (/), round parenthesis ( () ), or an underscore (_) and must have an alphanumeric character.",
Type: schema.TypeString,
ValidateFunc: validation.StringMatch(regexp.MustCompile("^[a-zA-Z0-9]+[+\\s\\/a-zA-Z0-9_'.:-]{0,92}$"), ""),
ValidateFunc: validation.StringMatch(regexp.MustCompile("^[a-zA-Z0-9]+[+\\s\\/a-zA-Z0-9)(_'.:-]{0,92}$"), ""),
Optional: true,
ForceNew: true,
},
Expand All @@ -482,9 +482,9 @@ func resourceWorkflowTemplateParser() *schema.Resource {
ForceNew: true,
},
"value": {
Description: "Enum value for this enum entry. Value will be passed to the workflow as string type for execution. Value can only contain letters (a-z, A-Z), numbers (0-9), hyphen (-), period (.), colon (:), space ( ), forward slash (/), or an underscore (_).",
Description: "Enum value for this enum entry. Value will be passed to the workflow as string type for execution. Value can only contain letters (a-z, A-Z), numbers (0-9), hyphen (-), period (.), colon (:), space ( ), round parenthesis ( () ), forward slash (/), or an underscore (_).",
Type: schema.TypeString,
ValidateFunc: validation.StringMatch(regexp.MustCompile("^[a-zA-Z0-9_.:-]*[+\\s\\/a-zA-Z0-9_.:-]{1,64}$"), ""),
ValidateFunc: validation.StringMatch(regexp.MustCompile("^[a-zA-Z0-9_.:-]*[+\\s\\/a-zA-Z0-9)(_.:-]{1,64}$"), ""),
Optional: true,
ForceNew: true,
},
Expand Down
2 changes: 1 addition & 1 deletion intersight_gosdk/.openapi-generator/VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
7.7.0-SNAPSHOT
7.9.0-SNAPSHOT
6 changes: 3 additions & 3 deletions intersight_gosdk/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,9 @@ Some generated SDKs perform a strict validation of the HTTP response body agains
## Overview
This API client was generated by the [OpenAPI Generator](https://openapi-generator.tech) project. By using the [OpenAPI-spec](https://www.openapis.org/) from a remote server, you can easily generate an API client.

- API version: 1.0.11-17956
- Package version: 1.0.11.17956
- Generator version: 7.7.0-SNAPSHOT
- API version: 1.0.11-18012
- Package version: 1.0.11.18012
- Generator version: 7.9.0-SNAPSHOT
- Build package: org.openapitools.codegen.languages.GoClientCodegen
For more information, please visit [https://intersight.com/help](https://intersight.com/help)

Expand Down
30 changes: 24 additions & 6 deletions intersight_gosdk/api/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ info:
name: "Apache License, Version 2.0"
url: https://www.apache.org/licenses/LICENSE-2.0.html
title: Cisco Intersight
version: 1.0.11-17956
version: 1.0.11-18012
externalDocs:
description: Online documentation for the Intersight APIs
url: /apidocs
Expand Down Expand Up @@ -738731,6 +738731,7 @@ components:
asset.VirtualizationAmazonWebServiceOptions:
allOf:
- $ref: '#/components/schemas/asset.VirtualizationCloudOptions'
deprecated: true
description: Captures Virtualization Service configuration specific to AWS.
title: Asset:Virtualization Amazon Web Service Options
x-allOf-name: asset.VirtualizationAmazonWebServiceOptions
Expand Down Expand Up @@ -738783,6 +738784,7 @@ components:
asset.VirtualizationService:
allOf:
- $ref: '#/components/schemas/asset.Service'
deprecated: true
description: The necessary configuration details to enable Intersight Virtualization
features on the selected managed target.
title: Asset:Virtualization Service
Expand Down Expand Up @@ -899007,6 +899009,11 @@ components:
readOnly: true
type: integer
x-omitempty: true
UserLabel:
description: The user defined label assigned to the server.
readOnly: true
type: string
x-omitempty: true
Vendor:
description: This field identifies the vendor of the given component.
readOnly: true
Expand Down Expand Up @@ -899120,6 +899127,7 @@ components:
ObjectType: network.ElementSummary
InbandIpAddress: InbandIpAddress
SwitchProfileName: SwitchProfileName
UserLabel: UserLabel
InterClusterLinkState: Unknown
EthernetMode: EthernetMode
IsUpgraded: true
Expand Down Expand Up @@ -1025893,17 +1025901,18 @@ components:
description: "Label for the enum value. A user friendly short string to\
\ identify the enum value. Label can only contain letters (a-z, A-Z),\
\ numbers (0-9), hyphen (-), period (.), colon (:), space ( ), single\
\ quote ('), forward slash (/), or an underscore (_) and must have an\
\ alphanumeric character."
pattern: "^[a-zA-Z0-9]+[+\\s\\/a-zA-Z0-9_'.:-]{0,92}$"
\ quote ('), forward slash (/), round parenthesis ( () ), or an underscore\
\ (_) and must have an alphanumeric character."
pattern: "^[a-zA-Z0-9]+[+\\s\\/a-zA-Z0-9)(_'.:-]{0,92}$"
type: string
x-omitempty: true
Value:
description: "Enum value for this enum entry. Value will be passed to\
\ the workflow as string type for execution. Value can only contain\
\ letters (a-z, A-Z), numbers (0-9), hyphen (-), period (.), colon (:),\
\ space ( ), forward slash (/), or an underscore (_)."
pattern: "^[a-zA-Z0-9_.:-]*[+\\s\\/a-zA-Z0-9_.:-]{1,64}$"
\ space ( ), round parenthesis ( () ), forward slash (/), or an underscore\
\ (_)."
pattern: "^[a-zA-Z0-9_.:-]*[+\\s\\/a-zA-Z0-9)(_.:-]{1,64}$"
type: string
x-omitempty: true
required:
Expand Down Expand Up @@ -1032287,6 +1032296,15 @@ components:
minItems: 1
nullable: true
type: array
PlatformType:
items:
description: Platform Type property defines target device type. Type
must match the enumerations supported for platform types.
readOnly: true
type: string
x-omitempty: true
nullable: true
type: array
Selector:
description: Field to hold an Intersight API along with an optional filter
to narrow down the search options for target device.
Expand Down
Loading

0 comments on commit 5336e96

Please sign in to comment.