Skip to content

Commit

Permalink
Updating based on 0ed46e8a7
Browse files Browse the repository at this point in the history
  • Loading branch information
hc-github-team-tf-azure committed Jan 29, 2025
1 parent 875c213 commit 396070d
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 15 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -138,8 +138,6 @@ func parseGroupMemberType(input string) (*GroupMemberType, error) {
type ProvisioningState string

const (
ProvisioningStateCanceled ProvisioningState = "Canceled"
ProvisioningStateCreating ProvisioningState = "Creating"
ProvisioningStateDeleting ProvisioningState = "Deleting"
ProvisioningStateFailed ProvisioningState = "Failed"
ProvisioningStateSucceeded ProvisioningState = "Succeeded"
Expand All @@ -148,8 +146,6 @@ const (

func PossibleValuesForProvisioningState() []string {
return []string{
string(ProvisioningStateCanceled),
string(ProvisioningStateCreating),
string(ProvisioningStateDeleting),
string(ProvisioningStateFailed),
string(ProvisioningStateSucceeded),
Expand All @@ -172,8 +168,6 @@ func (s *ProvisioningState) UnmarshalJSON(bytes []byte) error {

func parseProvisioningState(input string) (*ProvisioningState, error) {
vals := map[string]ProvisioningState{
"canceled": ProvisioningStateCanceled,
"creating": ProvisioningStateCreating,
"deleting": ProvisioningStateDeleting,
"failed": ProvisioningStateFailed,
"succeeded": ProvisioningStateSucceeded,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -217,8 +217,6 @@ func parseIsGlobal(input string) (*IsGlobal, error) {
type ProvisioningState string

const (
ProvisioningStateCanceled ProvisioningState = "Canceled"
ProvisioningStateCreating ProvisioningState = "Creating"
ProvisioningStateDeleting ProvisioningState = "Deleting"
ProvisioningStateFailed ProvisioningState = "Failed"
ProvisioningStateSucceeded ProvisioningState = "Succeeded"
Expand All @@ -227,8 +225,6 @@ const (

func PossibleValuesForProvisioningState() []string {
return []string{
string(ProvisioningStateCanceled),
string(ProvisioningStateCreating),
string(ProvisioningStateDeleting),
string(ProvisioningStateFailed),
string(ProvisioningStateSucceeded),
Expand All @@ -251,8 +247,6 @@ func (s *ProvisioningState) UnmarshalJSON(bytes []byte) error {

func parseProvisioningState(input string) (*ProvisioningState, error) {
vals := map[string]ProvisioningState{
"canceled": ProvisioningStateCanceled,
"creating": ProvisioningStateCreating,
"deleting": ProvisioningStateDeleting,
"failed": ProvisioningStateFailed,
"succeeded": ProvisioningStateSucceeded,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,10 @@ type ApiConnectionDefinitionProperties struct {
Api *ApiReference `json:"api,omitempty"`
ChangedTime *string `json:"changedTime,omitempty"`
CreatedTime *string `json:"createdTime,omitempty"`
CustomParameterValues *map[string]string `json:"customParameterValues,omitempty"`
CustomParameterValues *map[string]interface{} `json:"customParameterValues,omitempty"`
DisplayName *string `json:"displayName,omitempty"`
NonSecretParameterValues *map[string]string `json:"nonSecretParameterValues,omitempty"`
ParameterValues *map[string]string `json:"parameterValues,omitempty"`
NonSecretParameterValues *map[string]interface{} `json:"nonSecretParameterValues,omitempty"`
ParameterValues *map[string]interface{} `json:"parameterValues,omitempty"`
Statuses *[]ConnectionStatusDefinition `json:"statuses,omitempty"`
TestLinks *[]ApiConnectionTestLink `json:"testLinks,omitempty"`
}
Expand Down

0 comments on commit 396070d

Please sign in to comment.