com.microsoft.azure.management.trafficmanager.implementation.TrafficManagerExternalEndpointImpl Maven / Gradle / Ivy
/**
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*/
package com.microsoft.azure.management.trafficmanager.implementation;
import com.microsoft.azure.management.apigeneration.LangDefinition;
import com.microsoft.azure.management.resources.fluentcore.arm.Region;
import com.microsoft.azure.management.trafficmanager.TrafficManagerExternalEndpoint;
/**
* Implementation for {@link TrafficManagerExternalEndpoint}.
*/
@LangDefinition
class TrafficManagerExternalEndpointImpl extends TrafficManagerEndpointImpl
implements TrafficManagerExternalEndpoint {
TrafficManagerExternalEndpointImpl(String name,
TrafficManagerProfileImpl parent,
EndpointInner inner,
EndpointsInner client) {
super(name, parent, inner, client);
}
@Override
public String fqdn() {
return inner().target();
}
@Override
public Region sourceTrafficLocation() {
return Region.fromName((inner().endpointLocation()));
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy