コード例 #1
0
ファイル: ELBHelper.cs プロジェクト: asmodat/AWSWrapper
 public Task <CreateLoadBalancerResponse> CreateLoadBalancerAsync(
     string name,
     IEnumerable <string> subnets,
     IEnumerable <string> securityGroups,
     LoadBalancerTypeEnum type,
     LoadBalancerSchemeEnum scheme,
     CancellationToken cancellationToken = default(CancellationToken))
 => _clientV2.CreateLoadBalancerAsync(
     new CreateLoadBalancerRequest()
 {
     Name           = name,
     Subnets        = subnets.ToList(),
     SecurityGroups = securityGroups.ToList(),
     Type           = type,
     Scheme         = scheme
 }
     , cancellationToken).EnsureSuccessAsync();
コード例 #2
0
 public Task <List <Amazon.ElasticLoadBalancingV2.Model.LoadBalancer> > ListOfLoadBalancers(LoadBalancerTypeEnum loadBalancerType) => throw new NotImplementedException();