Exemplo n.º 1
0
        //Microsoft.Azure.Management.ResourceManager.Fluent.Core.Region inputRegion;
        public Form1()
        {
            InitializeComponent();

            IEnumerator <Microsoft.Azure.Management.ResourceManager.Fluent.Core.Region> e = Microsoft.Azure.Management.ResourceManager.Fluent.Core.Region.Values.GetEnumerator();

            while (e.MoveNext())
            {
                Microsoft.Azure.Management.ResourceManager.Fluent.Core.Region r = e.Current;
                comboBox1.Items.Add(r.Name);
            }

            for (int i = 0; i <= 5; i++)
            {
                comboBox2.Items.Add((KnownLinuxVirtualMachineImage)i);
            }
        }
Exemplo n.º 2
0
 /// <summary>
 /// Specifies the region of the endpoint that will be used when the performance-based routing method
 /// TrafficRoutingMethod.PERFORMANCE is enabled on the profile.
 /// </summary>
 /// <param name="location">The location.</param>
 /// <return>The next stage of the endpoint update.</return>
 Microsoft.Azure.Management.TrafficManager.Fluent.TrafficManagerEndpoint.Update.IUpdate Microsoft.Azure.Management.TrafficManager.Fluent.TrafficManagerEndpoint.Update.IWithSourceTrafficRegion.FromRegion(Microsoft.Azure.Management.ResourceManager.Fluent.Core.Region location)
 {
     return(this.FromRegion(location));
 }
Exemplo n.º 3
0
 /// <summary>
 /// Specifies the location of the endpoint that will be used when the parent profile is configured with
 /// Performance routing method  TrafficRoutingMethod.PERFORMANCE.
 /// </summary>
 /// <param name="region">The location.</param>
 /// <return>The next stage of the definition.</return>
 Microsoft.Azure.Management.TrafficManager.Fluent.TrafficManagerEndpoint.UpdateDefinition.IWithAttach <Microsoft.Azure.Management.TrafficManager.Fluent.TrafficManagerProfile.Update.IUpdate> Microsoft.Azure.Management.TrafficManager.Fluent.TrafficManagerEndpoint.UpdateDefinition.IWithSourceTrafficRegion <Microsoft.Azure.Management.TrafficManager.Fluent.TrafficManagerProfile.Update.IUpdate> .FromRegion(Microsoft.Azure.Management.ResourceManager.Fluent.Core.Region region)
 {
     return(this.FromRegion(region));
 }
Exemplo n.º 4
0
 /// <summary>
 /// Specifies the location of the endpoint that will be used when the parent profile is configured with
 /// Performance routing method  TrafficRoutingMethod.PERFORMANCE.
 /// </summary>
 /// <param name="region">The location.</param>
 /// <return>The next stage of the definition.</return>
 Microsoft.Azure.Management.TrafficManager.Fluent.TrafficManagerEndpoint.Definition.IWithEndpointThreshold <Microsoft.Azure.Management.TrafficManager.Fluent.TrafficManagerProfile.Definition.IWithCreate> Microsoft.Azure.Management.TrafficManager.Fluent.TrafficManagerEndpoint.Definition.IWithSourceTrafficRegionThenThreshold <Microsoft.Azure.Management.TrafficManager.Fluent.TrafficManagerProfile.Definition.IWithCreate> .FromRegion(Microsoft.Azure.Management.ResourceManager.Fluent.Core.Region region)
 {
     return(this.FromRegion(region));
 }
 public IDefinitionAfterRegion WithRegion(Region region)
 {
     return(this.WithRegion(region.Name));
 }