ArmContainerOrchestratorRuntimeModelFactory.ConnectedClusterLoadBalancerProperties Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Initializes a new instance of ConnectedClusterLoadBalancerProperties.
public static Azure.ResourceManager.ContainerOrchestratorRuntime.Models.ConnectedClusterLoadBalancerProperties ConnectedClusterLoadBalancerProperties (System.Collections.Generic.IEnumerable<string> addresses = default, System.Collections.Generic.IDictionary<string,string> serviceSelector = default, Azure.ResourceManager.ContainerOrchestratorRuntime.Models.AdvertiseMode advertiseMode = default, System.Collections.Generic.IEnumerable<string> bgpPeers = default, Azure.ResourceManager.ContainerOrchestratorRuntime.Models.ContainerOrchestratorProvisioningState? provisioningState = default);
static member ConnectedClusterLoadBalancerProperties : seq<string> * System.Collections.Generic.IDictionary<string, string> * Azure.ResourceManager.ContainerOrchestratorRuntime.Models.AdvertiseMode * seq<string> * Nullable<Azure.ResourceManager.ContainerOrchestratorRuntime.Models.ContainerOrchestratorProvisioningState> -> Azure.ResourceManager.ContainerOrchestratorRuntime.Models.ConnectedClusterLoadBalancerProperties
Public Shared Function ConnectedClusterLoadBalancerProperties (Optional addresses As IEnumerable(Of String) = Nothing, Optional serviceSelector As IDictionary(Of String, String) = Nothing, Optional advertiseMode As AdvertiseMode = Nothing, Optional bgpPeers As IEnumerable(Of String) = Nothing, Optional provisioningState As Nullable(Of ContainerOrchestratorProvisioningState) = Nothing) As ConnectedClusterLoadBalancerProperties
Parameters
- addresses
- IEnumerable<String>
IP Range.
- serviceSelector
- IDictionary<String,String>
A dynamic label mapping to select related services. For instance, if you want to create a load balancer only for services with label "a=b", then please specify {"a": "b"} in the field.
- advertiseMode
- AdvertiseMode
Advertise Mode.
- bgpPeers
- IEnumerable<String>
The list of BGP peers it should advertise to. Null or empty means to advertise to all peers.
- provisioningState
- Nullable<ContainerOrchestratorProvisioningState>
Resource provision state.
Returns
A new ConnectedClusterLoadBalancerProperties instance for mocking.
Applies to
Azure SDK for .NET