From c91cb754d1a6ccef3aa85ff3d3ffadfe1cff657a Mon Sep 17 00:00:00 2001 From: Azure SDK for Python bot Date: Mon, 4 Feb 2019 17:53:39 +0000 Subject: [PATCH] Generated from 61675bba89c552d90ca1f94fa73f32d9419bb26d Revert "[AKS] add apiServerAuthorizedIPRanges property (#5101)" This reverts commit 8d178c32246fded822657e6db2c2598a9db0d19a. --- .../mgmt/2018-03-31/containerservice/models.go | 5 ----- .../mgmt/2018-08-01-preview/containerservice/models.go | 5 ----- .../mgmt/2018-09-30-preview/containerservice/models.go | 5 ----- 3 files changed, 15 deletions(-) diff --git a/services/containerservice/mgmt/2018-03-31/containerservice/models.go b/services/containerservice/mgmt/2018-03-31/containerservice/models.go index a0b3584d6f26..29b97b40794c 100644 --- a/services/containerservice/mgmt/2018-03-31/containerservice/models.go +++ b/services/containerservice/mgmt/2018-03-31/containerservice/models.go @@ -1307,8 +1307,6 @@ 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. @@ -1350,9 +1348,6 @@ 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 c70983f6f3dd..0fac62150ef5 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,8 +1453,6 @@ 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. @@ -1496,9 +1494,6 @@ 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 d3fb74c1ef12..9d415dcb4e90 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,8 +1432,6 @@ 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. @@ -1475,9 +1473,6 @@ 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) }