diff --git a/services/containerservice/mgmt/2018-03-31/containerservice/models.go b/services/containerservice/mgmt/2018-03-31/containerservice/models.go index 29b97b40794c..a0b3584d6f26 100644 --- a/services/containerservice/mgmt/2018-03-31/containerservice/models.go +++ b/services/containerservice/mgmt/2018-03-31/containerservice/models.go @@ -1307,6 +1307,8 @@ type ManagedClusterProperties struct { NetworkProfile *NetworkProfile `json:"networkProfile,omitempty"` // AadProfile - Profile of Azure Active Directory configuration. AadProfile *ManagedClusterAADProfile `json:"aadProfile,omitempty"` + // APIServerAuthorizedIPRanges - Authorized IP Ranges to kubernetes API server. + APIServerAuthorizedIPRanges *[]string `json:"apiServerAuthorizedIPRanges,omitempty"` } // MarshalJSON is the custom marshaler for ManagedClusterProperties. @@ -1348,6 +1350,9 @@ func (mcp ManagedClusterProperties) MarshalJSON() ([]byte, error) { if mcp.AadProfile != nil { objectMap["aadProfile"] = mcp.AadProfile } + if mcp.APIServerAuthorizedIPRanges != nil { + objectMap["apiServerAuthorizedIPRanges"] = mcp.APIServerAuthorizedIPRanges + } return json.Marshal(objectMap) } diff --git a/services/preview/containerservice/mgmt/2018-08-01-preview/containerservice/models.go b/services/preview/containerservice/mgmt/2018-08-01-preview/containerservice/models.go index 0fac62150ef5..c70983f6f3dd 100644 --- a/services/preview/containerservice/mgmt/2018-08-01-preview/containerservice/models.go +++ b/services/preview/containerservice/mgmt/2018-08-01-preview/containerservice/models.go @@ -1453,6 +1453,8 @@ type ManagedClusterProperties struct { NetworkProfile *NetworkProfileType `json:"networkProfile,omitempty"` // AadProfile - Profile of Azure Active Directory configuration. AadProfile *ManagedClusterAADProfile `json:"aadProfile,omitempty"` + // APIServerAuthorizedIPRanges - Authorized IP Ranges to kubernetes API server. + APIServerAuthorizedIPRanges *[]string `json:"apiServerAuthorizedIPRanges,omitempty"` } // MarshalJSON is the custom marshaler for ManagedClusterProperties. @@ -1494,6 +1496,9 @@ func (mcp ManagedClusterProperties) MarshalJSON() ([]byte, error) { if mcp.AadProfile != nil { objectMap["aadProfile"] = mcp.AadProfile } + if mcp.APIServerAuthorizedIPRanges != nil { + objectMap["apiServerAuthorizedIPRanges"] = mcp.APIServerAuthorizedIPRanges + } return json.Marshal(objectMap) } diff --git a/services/preview/containerservice/mgmt/2018-09-30-preview/containerservice/models.go b/services/preview/containerservice/mgmt/2018-09-30-preview/containerservice/models.go index 9d415dcb4e90..d3fb74c1ef12 100644 --- a/services/preview/containerservice/mgmt/2018-09-30-preview/containerservice/models.go +++ b/services/preview/containerservice/mgmt/2018-09-30-preview/containerservice/models.go @@ -1432,6 +1432,8 @@ type ManagedClusterProperties struct { NetworkProfile *NetworkProfileType `json:"networkProfile,omitempty"` // AadProfile - Profile of Azure Active Directory configuration. AadProfile *ManagedClusterAADProfile `json:"aadProfile,omitempty"` + // APIServerAuthorizedIPRanges - Authorized IP Ranges to kubernetes API server. + APIServerAuthorizedIPRanges *[]string `json:"apiServerAuthorizedIPRanges,omitempty"` } // MarshalJSON is the custom marshaler for ManagedClusterProperties. @@ -1473,6 +1475,9 @@ func (mcp ManagedClusterProperties) MarshalJSON() ([]byte, error) { if mcp.AadProfile != nil { objectMap["aadProfile"] = mcp.AadProfile } + if mcp.APIServerAuthorizedIPRanges != nil { + objectMap["apiServerAuthorizedIPRanges"] = mcp.APIServerAuthorizedIPRanges + } return json.Marshal(objectMap) }