az network lb inbound-nat-pool

Yük dengeleyicinin gelen NAT adres havuzlarını yönetin.

Komutlar

az network lb inbound-nat-pool create

Create an inbound NAT address pool.

az network lb inbound-nat-pool delete

Delete an inbound NAT address pool.

az network lb inbound-nat-pool list

List inbound NAT address pools.

az network lb inbound-nat-pool show

Get the details of an inbound NAT address pool.

az network lb inbound-nat-pool update

Update an inbound NAT address pool.

az network lb inbound-nat-pool wait

Place the CLI in a waiting state until a condition is met.

az network lb inbound-nat-pool create

Create an inbound NAT address pool.

az network lb inbound-nat-pool create --backend-port
                                      --frontend-port-range-end
                                      --frontend-port-range-start
                                      --lb-name
                                      --name
                                      --protocol {All, Tcp, Udp}
                                      --resource-group
                                      [--enable-floating-ip {0, 1, f, false, n, no, t, true, y, yes}]
                                      [--enable-tcp-reset {0, 1, f, false, n, no, t, true, y, yes}]
                                      [--frontend-ip]
                                      [--idle-timeout]
                                      [--no-wait {0, 1, f, false, n, no, t, true, y, yes}]

Örnekler

Create an inbound NAT address pool.

az network lb inbound-nat-pool create -g MyResourceGroup --lb-name MyLb -n MyNatPool --protocol Tcp --frontend-port-range-start 80 --frontend-port-range-end 89 --backend-port 80 --frontend-ip MyFrontendIp

Gerekli Parametreler

--backend-port

Uç nokta üzerindeki iç bağlantılar için kullanılan bağlantı noktası. Kabul edilebilir değerler 1 ile 65535 arasındadır.

--frontend-port-range-end

Yük dengeleyiciyle ilişkili NIC'lere Gelen Nat sağlamak için kullanılacak dış bağlantı noktaları aralığındaki son bağlantı noktası numarası. Kabul edilebilir değerler 1 ile 65535 arasında değişir.

--frontend-port-range-start

Yük dengeleyiciyle ilişkili NIC'lere Gelen Nat sağlamak için kullanılacak dış bağlantı noktaları aralığındaki ilk bağlantı noktası numarası. Kabul edilebilir değerler 1 ile 65534 arasında değişir.

--lb-name

Yük dengeleyici adı.

--name -n

Yük dengeleyici tarafından kullanılan gelen NAT havuzları kümesi içinde benzersiz olan kaynağın adı. Bu ad kaynağa erişmek için kullanılabilir.

--protocol

Gelen NAT havuzu tarafından kullanılan aktarım protokolü başvurusu.

kabul edilen değerler: All, Tcp, Udp
--resource-group -g

Kaynak grubunun adı. varsayılan grubu kullanarak az configure --defaults group=<name>yapılandırabilirsiniz.

İsteğe Bağlı Parametreler

--enable-floating-ip --floating-ip

Sql AlwaysOn Kullanılabilirlik Grubu yapılandırmak için gereken kayan IP özelliği için bir sanal makinenin uç noktasını yapılandırılır. Bu ayar, SQL Server'da SQL AlwaysOn Kullanılabilirlik Grupları kullanılırken gereklidir. Uç noktayı oluşturduktan sonra bu ayar değiştirilemez.

kabul edilen değerler: 0, 1, f, false, n, no, t, true, y, yes
--enable-tcp-reset

TCP akışı boşta kalma zaman aşımında veya beklenmeyen bağlantı sonlandırmada çift yönlü TCP Sıfırlaması alın. Bu öğe yalnızca protokol TCP olarak ayarlandığında kullanılır.

kabul edilen değerler: 0, 1, f, false, n, no, t, true, y, yes
--frontend-ip --frontend-ip-name

Ön uç IP yapılandırmasının adı veya kimliği.

--idle-timeout --idle-timeout-in-minutes

TCP boşta bağlantısı için zaman aşımı. Değer 4 ile 30 dakika arasında ayarlanabilir. Varsayılan değer 4 dakikadır. This element is only used when the protocol is set to TCP.

--no-wait

Uzun süre çalışan işlemin bitmesini beklemeyin.

kabul edilen değerler: 0, 1, f, false, n, no, t, true, y, yes

az network lb inbound-nat-pool delete

Delete an inbound NAT address pool.

az network lb inbound-nat-pool delete --lb-name
                                      --name
                                      --resource-group
                                      [--no-wait {0, 1, f, false, n, no, t, true, y, yes}]

Örnekler

Delete an inbound NAT address pool.

az network lb inbound-nat-pool delete -g MyResourceGroup --lb-name MyLb -n MyNatPool

Gerekli Parametreler

--lb-name

The load balancer name.

--name -n

The name of the resource that is unique within the set of inbound NAT pools used by the load balancer. This name can be used to access the resource.

--resource-group -g

Kaynak grubunun adı. You can configure the default group using az configure --defaults group=<name>.

İsteğe Bağlı Parametreler

--no-wait

Do not wait for the long-running operation to finish.

kabul edilen değerler: 0, 1, f, false, n, no, t, true, y, yes

az network lb inbound-nat-pool list

List inbound NAT address pools.

az network lb inbound-nat-pool list --lb-name
                                    --resource-group

Örnekler

List inbound NAT address pools.

az network lb inbound-nat-pool list -g MyResourceGroup --lb-name MyLb

Gerekli Parametreler

--lb-name

The load balancer name.

--resource-group -g

Kaynak grubunun adı. You can configure the default group using az configure --defaults group=<name>.

az network lb inbound-nat-pool show

Get the details of an inbound NAT address pool.

az network lb inbound-nat-pool show --lb-name
                                    --name
                                    --resource-group

Örnekler

Get the details of an inbound NAT address pool.

az network lb inbound-nat-pool show -g MyResourceGroup --lb-name MyLb -n MyNatPool

Gerekli Parametreler

--lb-name

The load balancer name.

--name -n

The name of the resource that is unique within the set of inbound NAT pools used by the load balancer. This name can be used to access the resource.

--resource-group -g

Kaynak grubunun adı. You can configure the default group using az configure --defaults group=<name>.

az network lb inbound-nat-pool update

Update an inbound NAT address pool.

az network lb inbound-nat-pool update --lb-name
                                      --name
                                      --resource-group
                                      [--add]
                                      [--backend-port]
                                      [--enable-floating-ip {0, 1, f, false, n, no, t, true, y, yes}]
                                      [--enable-tcp-reset {0, 1, f, false, n, no, t, true, y, yes}]
                                      [--force-string {0, 1, f, false, n, no, t, true, y, yes}]
                                      [--frontend-ip]
                                      [--frontend-port-range-end]
                                      [--frontend-port-range-start]
                                      [--idle-timeout]
                                      [--no-wait {0, 1, f, false, n, no, t, true, y, yes}]
                                      [--protocol {All, Tcp, Udp}]
                                      [--remove]
                                      [--set]

Örnekler

Gelen NAT adres havuzunu farklı bir arka uç bağlantı noktasına güncelleştirin.

az network lb inbound-nat-pool update -g MyResourceGroup --lb-name MyLb -n MyNatPool --protocol Tcp --backend-port 8080

Update an inbound NAT address pool.

az network lb inbound-nat-pool update --backend-port 8080 --enable-tcp-reset true --frontend-port-range-end 89 --frontend-port-range-start 80 --lb-name MyLb --name MyNatPool --resource-group MyResourceGroup

Gerekli Parametreler

--lb-name

The load balancer name.

--name -n

The name of the resource that is unique within the set of inbound NAT pools used by the load balancer. This name can be used to access the resource.

--resource-group -g

Kaynak grubunun adı. You can configure the default group using az configure --defaults group=<name>.

İsteğe Bağlı Parametreler

--add

Bir yol ve anahtar değer çiftleri belirterek nesne listesine nesne ekleyin. Örnek: --add property.listProperty <key=value, string veya JSON dizesi>.

--backend-port

The port used for internal connections on the endpoint. Acceptable values are between 1 and 65535.

--enable-floating-ip --floating-ip

Configures a virtual machine's endpoint for the floating IP capability required to configure a SQL AlwaysOn Availability Group. This setting is required when using the SQL AlwaysOn Availability Groups in SQL server. This setting can't be changed after you create the endpoint.

kabul edilen değerler: 0, 1, f, false, n, no, t, true, y, yes
--enable-tcp-reset

Receive bidirectional TCP Reset on TCP flow idle timeout or unexpected connection termination. This element is only used when the protocol is set to TCP.

kabul edilen değerler: 0, 1, f, false, n, no, t, true, y, yes
--force-string

'set' veya 'add' kullanırken, JSON'a dönüştürmeye çalışmak yerine dize değişmez değerlerini koruyun.

kabul edilen değerler: 0, 1, f, false, n, no, t, true, y, yes
--frontend-ip --frontend-ip-name

The name or ID of the frontend IP configuration.

--frontend-port-range-end

The last port number in the range of external ports that will be used to provide Inbound Nat to NICs associated with a load balancer. Acceptable values range between 1 and 65535.

--frontend-port-range-start

The first port number in the range of external ports that will be used to provide Inbound Nat to NICs associated with a load balancer. Acceptable values range between 1 and 65534.

--idle-timeout --idle-timeout-in-minutes

The timeout for the TCP idle connection. The value can be set between 4 and 30 minutes. The default value is 4 minutes. This element is only used when the protocol is set to TCP.

--no-wait

Do not wait for the long-running operation to finish.

kabul edilen değerler: 0, 1, f, false, n, no, t, true, y, yes
--protocol

The reference to the transport protocol used by the inbound NAT pool.

kabul edilen değerler: All, Tcp, Udp
--remove

Bir özelliği veya öğeyi listeden kaldırın. Örnek: --remove property.list OR --remove propertyToRemove.

--set

Ayarlanacağı özellik yolunu ve değeri belirterek bir nesneyi güncelleştirin. Örnek: --set property1.property2=.

az network lb inbound-nat-pool wait

Bir koşul karşılanıncaya kadar CLI'yi bekleme durumuna yerleştirin.

az network lb inbound-nat-pool wait [--created]
                                    [--custom]
                                    [--deleted]
                                    [--exists]
                                    [--ids]
                                    [--interval]
                                    [--lb-name]
                                    [--resource-group]
                                    [--subscription]
                                    [--timeout]
                                    [--updated]

İsteğe Bağlı Parametreler

--created

'provisioningState' ile 'Succeeded' konumunda oluşturulana kadar bekleyin.

varsayılan değer: False
--custom

Koşul özel bir JMESPath sorgusunu karşılayana kadar bekleyin. Örneğin provisioningState!='InProgress', instanceView.statuses[?code=='PowerState/running'].

--deleted

Silinene kadar bekleyin.

varsayılan değer: False
--exists

Kaynak var olana kadar bekleyin.

varsayılan değer: False
--ids

Bir veya daha fazla kaynak kimlikleri (boşlukla ayrılmış). 'Kaynak Kimliği' bağımsız değişkenlerinin tüm bilgilerini içeren tam bir kaynak kimliği olmalıdır. --ids veya diğer 'Kaynak Kimliği' bağımsız değişkenlerini sağlamanız gerekir.

--interval

Saniye cinsinden yoklama aralığı.

varsayılan değer: 30
--lb-name

Yük dengeleyici adı.

--resource-group -g

Kaynak grubunun adı. varsayılan grubu kullanarak az configure --defaults group=<name>yapılandırabilirsiniz.

--subscription

Aboneliğin adı veya kimliği. kullanarak varsayılan aboneliği az account set -s NAME_OR_IDyapılandırabilirsiniz.

--timeout

Saniye cinsinden en fazla bekleme.

varsayılan değer: 3600
--updated

ProvisioningState değeri 'Başarılı' olarak güncelleştirilene kadar bekleyin.

varsayılan değer: False