Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
Copyright (C) 2013-2014 Dell, Inc ==================================================================== Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. ====================================================================
 
 
 package org.dasein.cloud.azure.network;
 
 
 import  javax.annotation.Nonnull;
 import  javax.annotation.Nullable;
Created by Vlad_Munthiu on 6/10/2014.
 
     public AzureLoadBalancerCapabilities(@Nonnull Azure provider) {
         super(provider);
     }

    
Indicates the type of load balancer supported by this cloud.

Returns:
the load balancer type
Throws:
org.dasein.cloud.CloudException an error occurred with the cloud provider while performing this action
org.dasein.cloud.InternalException an error occurred within the Dasein Cloud implementation while performing this action
 
     @Nonnull
     @Override
         return .;
     }

    

Returns:
the maximum number of public ports on which the load balancer can listen
Throws:
org.dasein.cloud.CloudException an error occurred while communicating with the cloud provider
org.dasein.cloud.InternalException an error occurred within the Dasein Cloud implementation
 
     @Override
     public int getMaxPublicPorts() throws CloudExceptionInternalException {
         return 0;
     }

    
Gives the cloud provider's term for a load balancer (for example, "ELB" in AWS).

Parameters:
locale the locale for which the term should be translated
Returns:
the provider term for a load balancer
 
     @Nonnull
     @Override
     public String getProviderTermForLoadBalancer(@Nonnull Locale locale) {
         return "Traffic Manager";
     }

    
Returns the visible scope of the load balancer or null if not applicable for the specific cloud

Returns:
The Visible Scope for the load balancer
 
     @Nullable
     @Override
         return .;
     }

    
Indicates whether a health check can be created independantly of a load balancer

Returns:
false if a health check can exist without having been assigned to a load balancer
Throws:
org.dasein.cloud.CloudException
org.dasein.cloud.InternalException
 
     @Override
     public boolean healthCheckRequiresLoadBalancer() throws CloudExceptionInternalException {
         return true;
     }

    
Indicates whether a name is required when creating a health check

Returns:
Requirement for health check name
Throws:
org.dasein.cloud.CloudException
org.dasein.cloud.InternalException
    @Override
        return null;
    }

    

Returns:
the degree to which endpoints should or must be part of the load balancer creation process
Throws:
org.dasein.cloud.CloudException an error occurred while communicating with the cloud provider
org.dasein.cloud.InternalException an error occurred within the Dasein Cloud implementation
    @Nonnull
    @Override
        return .;
    }

    
Indicates the degree to which listeners should or must be specified when creating a load balancer.

Returns:
the degree to which listeners must be specified during load balancer creation
Throws:
org.dasein.cloud.CloudException an error occurred while communicating with the cloud provider
org.dasein.cloud.InternalException an error occurred within the Dasein Cloud implementation
    @Nonnull
    @Override
        return .;
    }
    @Override
        return .;
    }
    @Override
        return .;
    }

    

Returns:
whether or not you are expected to provide an address as part of the create process or one gets assigned by the provider
Throws:
org.dasein.cloud.CloudException an error occurred while communicating with the cloud provider
org.dasein.cloud.InternalException an error occurred within the Dasein Cloud implementation
    @Override
    public boolean isAddressAssignedByProvider() throws CloudExceptionInternalException {
        return true;
    }

    
Indicates whether or not VM endpoints for this load balancer should be constrained to specific data centers in its region. It should be false for load balancers handling non-VM endpoints or load balancers that are free to balance across any data center. When a load balancer is data-center limited, the load balancer tries to balance traffic equally across the data centers. It is therefore up to you to try to keep the data centers configured with equal capacity.

Returns:
whether or not VM endpoints are constrained to specific data centers associated with the load balancer
Throws:
org.dasein.cloud.CloudException an error occurred with the cloud provider while performing this action
org.dasein.cloud.InternalException an error occurred within the Dasein Cloud implementation while performing this action
    @Override
    public boolean isDataCenterLimited() throws CloudExceptionInternalException {
        return false;
    }

    
Lists the load balancing algorithms from which you can choose when setting up a load balancer listener.

Returns:
a list of one or more supported load balancing algorithms
Throws:
org.dasein.cloud.CloudException an error occurred while communicating with the cloud provider
org.dasein.cloud.InternalException an error occurred within the Dasein Cloud implementation
    @Nonnull
    @Override
        return Collections.unmodifiableList(Arrays.asList(...));
    }

    
Describes what kind of endpoints may be added to a load balancer.

Returns:
a list of one or more supported endpoint types
Throws:
org.dasein.cloud.CloudException an error occurred while communicating with the cloud provider
org.dasein.cloud.InternalException an error occurred within the Dasein Cloud implementation
    @Nonnull
    @Override
        return Collections.unmodifiableList(Arrays.asList(.));
    }

    
Lists all IP protocol versions supported for load balancers in this cloud.

Returns:
a list of supported versions
Throws:
org.dasein.cloud.CloudException an error occurred checking support for IP versions with the cloud provider
org.dasein.cloud.InternalException a local error occurred preparing the supported version
    @Nonnull
    @Override
        return null;
    }

    
Lists the various options for session stickiness with load balancers in this cloud.

Returns:
a list of one or more load balancer persistence options for session stickiness
Throws:
org.dasein.cloud.CloudException an error occurred checking support for IP versions with the cloud provider
org.dasein.cloud.InternalException a local error occurred preparing the supported version
    @Nonnull
    @Override
        return null;
    }

    
Lists the network protocols supported for load balancer listeners.

Returns:
a list of one or more supported network protocols for load balancing
Throws:
org.dasein.cloud.CloudException an error occurred while communicating with the cloud provider
org.dasein.cloud.InternalException an error occurred within the Dasein Cloud implementation
    @Nonnull
    @Override
        return Collections.unmodifiableList(Arrays.asList(..));
    }

    
Indicates whether or not endpoints may be added to or removed from a load balancer once the load balancer has been created.

Returns:
true if you can modify the endpoints post-create
Throws:
org.dasein.cloud.CloudException an error occurred with the cloud provider while performing this action
org.dasein.cloud.InternalException an error occurred within the Dasein Cloud implementation while performing this action
    @Override
    public boolean supportsAddingEndpoints() throws CloudExceptionInternalException {
        return true;
    }

    
Indicates whether or not the underlying cloud monitors the balanced endpoints and provides health status information.

Returns:
true if monitoring is supported
Throws:
org.dasein.cloud.CloudException an error occurred with the cloud provider while performing this action
org.dasein.cloud.InternalException an error occurred within the Dasein Cloud implementation while performing this action
    @Override
    public boolean supportsMonitoring() throws CloudExceptionInternalException {
        return true;
    }

    
Indicates whether a single load balancer is limited to either IPv4 or IPv6 (false) or can support both IPv4 and IPv6 traffic (true)

Returns:
true if a load balancer can be configured to support simultaneous IPv4 and IPv6 traffic
Throws:
org.dasein.cloud.CloudException an error occurred with the cloud provider while performing this action
org.dasein.cloud.InternalException an error occurred within the Dasein Cloud implementation while performing this action
    @Override
    public boolean supportsMultipleTrafficTypes() throws CloudExceptionInternalException {
        return false;
    }
    @Override
        return NamingConstraints.getStrictInstance(3, 15).constrainedBy(new char[]{'-'});
    }
    @Override
    public boolean supportsSslCertificateStore(){
        return false;
    }
New to GrepCode? Check out our FAQ X