@@ -151,12 +151,6 @@ public static bool TryGetEndpointString(this IAzureEnvironment environment, stri
151151 case AzureEnvironment . Endpoint . BatchEndpointResourceId :
152152 propertyValue = environment . BatchEndpointResourceId ;
153153 break ;
154- case AzureEnvironment . Endpoint . AzureAttestationDnsSuffix :
155- propertyValue = environment . AzureAttestationDnsSuffix ;
156- break ;
157- case AzureEnvironment . Endpoint . AzureAttestationServiceEndpointResourceId :
158- propertyValue = environment . AzureAttestationServiceEndpointResourceId ;
159- break ;
160154 default :
161155 // get property from the extended properties of the environment
162156 propertyValue = environment . GetProperty ( endpointName ) ;
@@ -283,12 +277,6 @@ public static void SetEndpoint(this IAzureEnvironment environment, string endpoi
283277 case AzureEnvironment . ExtendedEndpoint . AnalysisServicesEndpointResourceId :
284278 environment . SetProperty ( AzureEnvironment . ExtendedEndpoint . AnalysisServicesEndpointResourceId , propertyValue ) ;
285279 break ;
286- case AzureEnvironment . Endpoint . AzureAttestationDnsSuffix :
287- environment . AzureAttestationDnsSuffix = propertyValue ;
288- break ;
289- case AzureEnvironment . Endpoint . AzureAttestationServiceEndpointResourceId :
290- environment . AzureAttestationServiceEndpointResourceId = propertyValue ;
291- break ;
292280 }
293281 }
294282 }
@@ -324,10 +312,6 @@ public static string GetTokenAudience(this IAzureEnvironment environment, string
324312 case AzureEnvironment . ExtendedEndpoint . AnalysisServicesEndpointResourceId :
325313 resource = AzureEnvironment . ExtendedEndpoint . AnalysisServicesEndpointResourceId ;
326314 break ;
327- case AzureEnvironment . Endpoint . AzureAttestationDnsSuffix :
328- case AzureEnvironment . Endpoint . AzureAttestationServiceEndpointResourceId :
329- resource = AzureEnvironment . Endpoint . AzureAttestationServiceEndpointResourceId ;
330- break ;
331315 default :
332316 resource = AzureEnvironment . Endpoint . ActiveDirectoryServiceEndpointResourceId ;
333317 break ;
@@ -510,15 +494,6 @@ public static void CopyFrom(this IAzureEnvironment environment, IAzureEnvironmen
510494 {
511495 environment . BatchEndpointResourceId = other . BatchEndpointResourceId ;
512496 }
513- if ( other . IsEndpointSet ( AzureEnvironment . Endpoint . AzureAttestationDnsSuffix ) )
514- {
515- environment . AzureAttestationDnsSuffix = other . AzureAttestationDnsSuffix ;
516- }
517- if ( other . IsEndpointSet ( AzureEnvironment . Endpoint . AzureAttestationServiceEndpointResourceId ) )
518- {
519- environment . AzureAttestationServiceEndpointResourceId =
520- other . AzureAttestationServiceEndpointResourceId ;
521- }
522497
523498 environment . VersionProfiles . Clear ( ) ;
524499 foreach ( var profile in other . VersionProfiles )
@@ -610,15 +585,6 @@ public static void Update(this IAzureEnvironment environment, IAzureEnvironment
610585 {
611586 environment . DataLakeEndpointResourceId = other . DataLakeEndpointResourceId ;
612587 }
613- if ( other . IsEndpointSet ( AzureEnvironment . Endpoint . AzureAttestationDnsSuffix ) )
614- {
615- environment . AzureAttestationDnsSuffix = other . AzureAttestationDnsSuffix ;
616- }
617- if ( other . IsEndpointSet ( AzureEnvironment . Endpoint . AzureAttestationServiceEndpointResourceId ) )
618- {
619- environment . AzureAttestationServiceEndpointResourceId =
620- other . AzureAttestationServiceEndpointResourceId ;
621- }
622588
623589 foreach ( var profile in other . VersionProfiles )
624590 {
0 commit comments