diff --git a/services/hdinsight/mgmt/2018-06-01/hdinsight/enums.go b/services/hdinsight/mgmt/2018-06-01/hdinsight/enums.go index bf89ef49d48a..1e79e8cf0d06 100644 --- a/services/hdinsight/mgmt/2018-06-01/hdinsight/enums.go +++ b/services/hdinsight/mgmt/2018-06-01/hdinsight/enums.go @@ -140,34 +140,19 @@ func PossibleOSTypeValues() []OSType { return []OSType{Linux, Windows} } -// OutboundOnlyPublicNetworkAccessType enumerates the values for outbound only public network access type. -type OutboundOnlyPublicNetworkAccessType string +// PrivateLink enumerates the values for private link. +type PrivateLink string const ( - // PublicLoadBalancer ... - PublicLoadBalancer OutboundOnlyPublicNetworkAccessType = "PublicLoadBalancer" - // UDR ... - UDR OutboundOnlyPublicNetworkAccessType = "UDR" + // Disabled ... + Disabled PrivateLink = "Disabled" + // Enabled ... + Enabled PrivateLink = "Enabled" ) -// PossibleOutboundOnlyPublicNetworkAccessTypeValues returns an array of possible values for the OutboundOnlyPublicNetworkAccessType const type. -func PossibleOutboundOnlyPublicNetworkAccessTypeValues() []OutboundOnlyPublicNetworkAccessType { - return []OutboundOnlyPublicNetworkAccessType{PublicLoadBalancer, UDR} -} - -// PublicNetworkAccess enumerates the values for public network access. -type PublicNetworkAccess string - -const ( - // InboundAndOutbound ... - InboundAndOutbound PublicNetworkAccess = "InboundAndOutbound" - // OutboundOnly ... - OutboundOnly PublicNetworkAccess = "OutboundOnly" -) - -// PossiblePublicNetworkAccessValues returns an array of possible values for the PublicNetworkAccess const type. -func PossiblePublicNetworkAccessValues() []PublicNetworkAccess { - return []PublicNetworkAccess{InboundAndOutbound, OutboundOnly} +// PossiblePrivateLinkValues returns an array of possible values for the PrivateLink const type. +func PossiblePrivateLinkValues() []PrivateLink { + return []PrivateLink{Disabled, Enabled} } // ResourceIdentityType enumerates the values for resource identity type. @@ -189,6 +174,21 @@ func PossibleResourceIdentityTypeValues() []ResourceIdentityType { return []ResourceIdentityType{None, SystemAssigned, SystemAssignedUserAssigned, UserAssigned} } +// ResourceProviderConnection enumerates the values for resource provider connection. +type ResourceProviderConnection string + +const ( + // Inbound ... + Inbound ResourceProviderConnection = "Inbound" + // Outbound ... + Outbound ResourceProviderConnection = "Outbound" +) + +// PossibleResourceProviderConnectionValues returns an array of possible values for the ResourceProviderConnection const type. +func PossibleResourceProviderConnectionValues() []ResourceProviderConnection { + return []ResourceProviderConnection{Inbound, Outbound} +} + // Tier enumerates the values for tier. type Tier string diff --git a/services/hdinsight/mgmt/2018-06-01/hdinsight/models.go b/services/hdinsight/mgmt/2018-06-01/hdinsight/models.go index 7adc091f6804..219a1a3b727c 100644 --- a/services/hdinsight/mgmt/2018-06-01/hdinsight/models.go +++ b/services/hdinsight/mgmt/2018-06-01/hdinsight/models.go @@ -28,7 +28,7 @@ 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" +const fqdn = "github.com/Azure/azure-sdk-for-go/services/hdinsight/mgmt/2018-06-01/hdinsight" // Application the HDInsight cluster application type Application struct { @@ -600,8 +600,8 @@ type ClusterCreateProperties struct { EncryptionInTransitProperties *EncryptionInTransitProperties `json:"encryptionInTransitProperties,omitempty"` // MinSupportedTLSVersion - The minimal supported tls version. MinSupportedTLSVersion *string `json:"minSupportedTlsVersion,omitempty"` - // NetworkSettings - The network settings. - NetworkSettings *NetworkSettings `json:"networkSettings,omitempty"` + // NetworkProperties - The network properties. + NetworkProperties *NetworkProperties `json:"networkProperties,omitempty"` } // ClusterDefinition the cluster definition. @@ -652,6 +652,8 @@ type ClusterGetProperties struct { OsType OSType `json:"osType,omitempty"` // Tier - The cluster tier. Possible values include: 'Standard', 'Premium' Tier Tier `json:"tier,omitempty"` + // ClusterID - The cluster id. + ClusterID *string `json:"clusterId,omitempty"` // ClusterDefinition - The cluster definition. ClusterDefinition *ClusterDefinition `json:"clusterDefinition,omitempty"` // KafkaRestProperties - The cluster kafka rest proxy configuration. @@ -678,8 +680,8 @@ type ClusterGetProperties struct { EncryptionInTransitProperties *EncryptionInTransitProperties `json:"encryptionInTransitProperties,omitempty"` // MinSupportedTLSVersion - The minimal supported tls version. MinSupportedTLSVersion *string `json:"minSupportedTlsVersion,omitempty"` - // NetworkSettings - The network settings. - NetworkSettings *NetworkSettings `json:"networkSettings,omitempty"` + // NetworkProperties - The network properties. + NetworkProperties *NetworkProperties `json:"networkProperties,omitempty"` } // ClusterIdentity identity for the cluster. @@ -1374,12 +1376,12 @@ type LocalizedName struct { LocalizedValue *string `json:"localizedValue,omitempty"` } -// NetworkSettings the network settings. -type NetworkSettings struct { - // PublicNetworkAccess - Specifies whether public network access is enabled for inbound and outbound, or outbound only. Possible values include: 'InboundAndOutbound', 'OutboundOnly' - PublicNetworkAccess PublicNetworkAccess `json:"publicNetworkAccess,omitempty"` - // OutboundOnlyPublicNetworkAccessType - The mechanism through which the cluster will have outbound access to the public network. Possible values include: 'PublicLoadBalancer', 'UDR' - OutboundOnlyPublicNetworkAccessType OutboundOnlyPublicNetworkAccessType `json:"outboundOnlyPublicNetworkAccessType,omitempty"` +// NetworkProperties the network properties. +type NetworkProperties struct { + // ResourceProviderConnection - The direction for the resource provider connection. Possible values include: 'Inbound', 'Outbound' + ResourceProviderConnection ResourceProviderConnection `json:"resourceProviderConnection,omitempty"` + // PrivateLink - Indicates whether or not private link is enabled. Possible values include: 'Disabled', 'Enabled' + PrivateLink PrivateLink `json:"privateLink,omitempty"` } // Operation the HDInsight REST API operation.