diff --git a/profiles/preview/preview/hdinsight/mgmt/hdinsight/models.go b/profiles/preview/preview/hdinsight/mgmt/hdinsight/models.go index 506072d9bc3e..88db56d34baf 100644 --- a/profiles/preview/preview/hdinsight/mgmt/hdinsight/models.go +++ b/profiles/preview/preview/hdinsight/mgmt/hdinsight/models.go @@ -29,19 +29,6 @@ const ( DefaultBaseURI = original.DefaultBaseURI ) -type ApplicationHTTPSEndpointAccessMode = original.ApplicationHTTPSEndpointAccessMode - -const ( - WebPage ApplicationHTTPSEndpointAccessMode = original.WebPage -) - -type ApplicationType = original.ApplicationType - -const ( - CustomApplication ApplicationType = original.CustomApplication - RServer ApplicationType = original.RServer -) - type AsyncOperationState = original.AsyncOperationState const ( @@ -311,12 +298,6 @@ func NewScriptExecutionHistoryClientWithBaseURI(baseURI string, subscriptionID s func NewWithBaseURI(baseURI string, subscriptionID string) BaseClient { return original.NewWithBaseURI(baseURI, subscriptionID) } -func PossibleApplicationHTTPSEndpointAccessModeValues() []ApplicationHTTPSEndpointAccessMode { - return original.PossibleApplicationHTTPSEndpointAccessModeValues() -} -func PossibleApplicationTypeValues() []ApplicationType { - return original.PossibleApplicationTypeValues() -} func PossibleAsyncOperationStateValues() []AsyncOperationState { return original.PossibleAsyncOperationStateValues() } diff --git a/services/preview/hdinsight/mgmt/2015-03-01-preview/hdinsight/models.go b/services/preview/hdinsight/mgmt/2015-03-01-preview/hdinsight/models.go index 9bb620534336..d4cc4f5a350d 100644 --- a/services/preview/hdinsight/mgmt/2015-03-01-preview/hdinsight/models.go +++ b/services/preview/hdinsight/mgmt/2015-03-01-preview/hdinsight/models.go @@ -30,34 +30,6 @@ import ( // The package's fully qualified name. const fqdn = "github.com/Azure/azure-sdk-for-go/services/preview/hdinsight/mgmt/2015-03-01-preview/hdinsight" -// ApplicationHTTPSEndpointAccessMode enumerates the values for application https endpoint access mode. -type ApplicationHTTPSEndpointAccessMode string - -const ( - // WebPage ... - WebPage ApplicationHTTPSEndpointAccessMode = "WebPage" -) - -// PossibleApplicationHTTPSEndpointAccessModeValues returns an array of possible values for the ApplicationHTTPSEndpointAccessMode const type. -func PossibleApplicationHTTPSEndpointAccessModeValues() []ApplicationHTTPSEndpointAccessMode { - return []ApplicationHTTPSEndpointAccessMode{WebPage} -} - -// ApplicationType enumerates the values for application type. -type ApplicationType string - -const ( - // CustomApplication ... - CustomApplication ApplicationType = "CustomApplication" - // RServer ... - RServer ApplicationType = "RServer" -) - -// PossibleApplicationTypeValues returns an array of possible values for the ApplicationType const type. -func PossibleApplicationTypeValues() []ApplicationType { - return []ApplicationType{CustomApplication, RServer} -} - // AsyncOperationState enumerates the values for async operation state. type AsyncOperationState string @@ -260,7 +232,7 @@ type ApplicationGetEndpoint struct { // ApplicationGetHTTPSEndpoint gets the application HTTP endpoints. type ApplicationGetHTTPSEndpoint struct { // AccessModes - The list of access modes for the application. - AccessModes *[]ApplicationHTTPSEndpointAccessMode `json:"accessModes,omitempty"` + AccessModes *[]string `json:"accessModes,omitempty"` // Location - The location of the endpoint. Location *string `json:"location,omitempty"` // DestinationPort - The destination port to connect to. @@ -434,8 +406,8 @@ type ApplicationProperties struct { SSHEndpoints *[]ApplicationGetEndpoint `json:"sshEndpoints,omitempty"` // ProvisioningState - READ-ONLY; The provisioning state of the application. ProvisioningState *string `json:"provisioningState,omitempty"` - // ApplicationType - The application type. Possible values include: 'CustomApplication', 'RServer' - ApplicationType ApplicationType `json:"applicationType,omitempty"` + // ApplicationType - The application type. + ApplicationType *string `json:"applicationType,omitempty"` // ApplicationState - READ-ONLY; The application state. ApplicationState *string `json:"applicationState,omitempty"` // Errors - The list of errors. diff --git a/services/preview/hdinsight/mgmt/2018-06-01-preview/hdinsight/models.go b/services/preview/hdinsight/mgmt/2018-06-01-preview/hdinsight/models.go index c8679a059aff..ec244d5e7a5c 100644 --- a/services/preview/hdinsight/mgmt/2018-06-01-preview/hdinsight/models.go +++ b/services/preview/hdinsight/mgmt/2018-06-01-preview/hdinsight/models.go @@ -30,34 +30,6 @@ import ( // The package's fully qualified name. const fqdn = "github.com/Azure/azure-sdk-for-go/services/preview/hdinsight/mgmt/2018-06-01-preview/hdinsight" -// ApplicationHTTPSEndpointAccessMode enumerates the values for application https endpoint access mode. -type ApplicationHTTPSEndpointAccessMode string - -const ( - // WebPage ... - WebPage ApplicationHTTPSEndpointAccessMode = "WebPage" -) - -// PossibleApplicationHTTPSEndpointAccessModeValues returns an array of possible values for the ApplicationHTTPSEndpointAccessMode const type. -func PossibleApplicationHTTPSEndpointAccessModeValues() []ApplicationHTTPSEndpointAccessMode { - return []ApplicationHTTPSEndpointAccessMode{WebPage} -} - -// ApplicationType enumerates the values for application type. -type ApplicationType string - -const ( - // CustomApplication ... - CustomApplication ApplicationType = "CustomApplication" - // RServer ... - RServer ApplicationType = "RServer" -) - -// PossibleApplicationTypeValues returns an array of possible values for the ApplicationType const type. -func PossibleApplicationTypeValues() []ApplicationType { - return []ApplicationType{CustomApplication, RServer} -} - // AsyncOperationState enumerates the values for async operation state. type AsyncOperationState string @@ -260,7 +232,7 @@ type ApplicationGetEndpoint struct { // ApplicationGetHTTPSEndpoint gets the application HTTP endpoints. type ApplicationGetHTTPSEndpoint struct { // AccessModes - The list of access modes for the application. - AccessModes *[]ApplicationHTTPSEndpointAccessMode `json:"accessModes,omitempty"` + AccessModes *[]string `json:"accessModes,omitempty"` // Location - The location of the endpoint. Location *string `json:"location,omitempty"` // DestinationPort - The destination port to connect to. @@ -434,8 +406,8 @@ type ApplicationProperties struct { SSHEndpoints *[]ApplicationGetEndpoint `json:"sshEndpoints,omitempty"` // ProvisioningState - READ-ONLY; The provisioning state of the application. ProvisioningState *string `json:"provisioningState,omitempty"` - // ApplicationType - The application type. Possible values include: 'CustomApplication', 'RServer' - ApplicationType ApplicationType `json:"applicationType,omitempty"` + // ApplicationType - The application type. + ApplicationType *string `json:"applicationType,omitempty"` // ApplicationState - READ-ONLY; The application state. ApplicationState *string `json:"applicationState,omitempty"` // Errors - The list of errors.