diff --git a/services/containerservice/mgmt/2019-02-01/containerservice/models.go b/services/containerservice/mgmt/2019-02-01/containerservice/models.go index e6946fb1df09..1ee463117f87 100644 --- a/services/containerservice/mgmt/2019-02-01/containerservice/models.go +++ b/services/containerservice/mgmt/2019-02-01/containerservice/models.go @@ -2227,6 +2227,8 @@ type OpenShiftManagedClusterAADIdentityProvider struct { Secret *string `json:"secret,omitempty"` // TenantID - The tenantId associated with the provider. TenantID *string `json:"tenantId,omitempty"` + // CustomerAdminGroupID - The groupId to be granted cluster admin role. + CustomerAdminGroupID *string `json:"customerAdminGroupId,omitempty"` // Kind - Possible values include: 'KindOpenShiftManagedClusterBaseIdentityProvider', 'KindAADIdentityProvider' Kind Kind `json:"kind,omitempty"` } @@ -2244,6 +2246,9 @@ func (osmcaip OpenShiftManagedClusterAADIdentityProvider) MarshalJSON() ([]byte, if osmcaip.TenantID != nil { objectMap["tenantId"] = osmcaip.TenantID } + if osmcaip.CustomerAdminGroupID != nil { + objectMap["customerAdminGroupId"] = osmcaip.CustomerAdminGroupID + } if osmcaip.Kind != "" { objectMap["kind"] = osmcaip.Kind } 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..c3c3bb57a058 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 @@ -1899,6 +1899,8 @@ type OpenShiftManagedClusterAADIdentityProvider struct { Secret *string `json:"secret,omitempty"` // TenantID - The tenantId associated with the provider. TenantID *string `json:"tenantId,omitempty"` + // CustomerAdminGroupID - The groupId to be granted cluster admin role. + CustomerAdminGroupID *string `json:"customerAdminGroupId,omitempty"` // Kind - Possible values include: 'KindOpenShiftManagedClusterBaseIdentityProvider', 'KindAADIdentityProvider' Kind Kind `json:"kind,omitempty"` } @@ -1916,6 +1918,9 @@ func (osmcaip OpenShiftManagedClusterAADIdentityProvider) MarshalJSON() ([]byte, if osmcaip.TenantID != nil { objectMap["tenantId"] = osmcaip.TenantID } + if osmcaip.CustomerAdminGroupID != nil { + objectMap["customerAdminGroupId"] = osmcaip.CustomerAdminGroupID + } if osmcaip.Kind != "" { objectMap["kind"] = osmcaip.Kind } 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..6752ae0d0d79 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 @@ -1878,6 +1878,8 @@ type OpenShiftManagedClusterAADIdentityProvider struct { Secret *string `json:"secret,omitempty"` // TenantID - The tenantId associated with the provider. TenantID *string `json:"tenantId,omitempty"` + // CustomerAdminGroupID - The groupId to be granted cluster admin role. + CustomerAdminGroupID *string `json:"customerAdminGroupId,omitempty"` // Kind - Possible values include: 'KindOpenShiftManagedClusterBaseIdentityProvider', 'KindAADIdentityProvider' Kind Kind `json:"kind,omitempty"` } @@ -1895,6 +1897,9 @@ func (osmcaip OpenShiftManagedClusterAADIdentityProvider) MarshalJSON() ([]byte, if osmcaip.TenantID != nil { objectMap["tenantId"] = osmcaip.TenantID } + if osmcaip.CustomerAdminGroupID != nil { + objectMap["customerAdminGroupId"] = osmcaip.CustomerAdminGroupID + } if osmcaip.Kind != "" { objectMap["kind"] = osmcaip.Kind }