From dbf585f89a715abcecc95c37f4bac346ee7d7f09 Mon Sep 17 00:00:00 2001 From: Azure SDK for Python bot Date: Wed, 13 Jun 2018 15:20:08 -0700 Subject: [PATCH] Generated from c129d5d0236058b60b71ac6eb485a85c93a41c66 (#2038) network: add https probe --- profiles/preview/network/mgmt/network/models.go | 5 +++-- services/network/mgmt/2018-02-01/network/models.go | 6 ++++-- services/network/mgmt/2018-04-01/network/models.go | 6 ++++-- services/network/mgmt/2018-05-01/network/models.go | 6 ++++-- 4 files changed, 15 insertions(+), 8 deletions(-) diff --git a/profiles/preview/network/mgmt/network/models.go b/profiles/preview/network/mgmt/network/models.go index 1c80f0297dd9..6126902f1d6d 100644 --- a/profiles/preview/network/mgmt/network/models.go +++ b/profiles/preview/network/mgmt/network/models.go @@ -522,8 +522,9 @@ const ( type ProbeProtocol = original.ProbeProtocol const ( - ProbeProtocolHTTP ProbeProtocol = original.ProbeProtocolHTTP - ProbeProtocolTCP ProbeProtocol = original.ProbeProtocolTCP + ProbeProtocolHTTP ProbeProtocol = original.ProbeProtocolHTTP + ProbeProtocolHTTPS ProbeProtocol = original.ProbeProtocolHTTPS + ProbeProtocolTCP ProbeProtocol = original.ProbeProtocolTCP ) type ProcessorArchitecture = original.ProcessorArchitecture diff --git a/services/network/mgmt/2018-02-01/network/models.go b/services/network/mgmt/2018-02-01/network/models.go index cc7612e6e8dc..9ed51cb96628 100644 --- a/services/network/mgmt/2018-02-01/network/models.go +++ b/services/network/mgmt/2018-02-01/network/models.go @@ -1021,13 +1021,15 @@ type ProbeProtocol string const ( // ProbeProtocolHTTP ... ProbeProtocolHTTP ProbeProtocol = "Http" + // ProbeProtocolHTTPS ... + ProbeProtocolHTTPS ProbeProtocol = "Https" // ProbeProtocolTCP ... ProbeProtocolTCP ProbeProtocol = "Tcp" ) // PossibleProbeProtocolValues returns an array of possible values for the ProbeProtocol const type. func PossibleProbeProtocolValues() []ProbeProtocol { - return []ProbeProtocol{ProbeProtocolHTTP, ProbeProtocolTCP} + return []ProbeProtocol{ProbeProtocolHTTP, ProbeProtocolHTTPS, ProbeProtocolTCP} } // ProcessorArchitecture enumerates the values for processor architecture. @@ -11302,7 +11304,7 @@ func (p *Probe) UnmarshalJSON(body []byte) error { type ProbePropertiesFormat struct { // LoadBalancingRules - The load balancer rules that use this probe. LoadBalancingRules *[]SubResource `json:"loadBalancingRules,omitempty"` - // Protocol - The protocol of the end point. Possible values are: 'Http' or 'Tcp'. If 'Tcp' is specified, a received ACK is required for the probe to be successful. If 'Http' is specified, a 200 OK response from the specifies URI is required for the probe to be successful. Possible values include: 'ProbeProtocolHTTP', 'ProbeProtocolTCP' + // Protocol - The protocol of the end point. Possible values are: 'Http', 'Tcp' or 'Https'. If 'Tcp' is specified, a received ACK is required for the probe to be successful. If 'Http' or 'Https' is specified, a 200 OK response from the specifies URI is required for the probe to be successful. Possible values include: 'ProbeProtocolHTTP', 'ProbeProtocolTCP', 'ProbeProtocolHTTPS' Protocol ProbeProtocol `json:"protocol,omitempty"` // Port - The port for communicating the probe. Possible values range from 1 to 65535, inclusive. Port *int32 `json:"port,omitempty"` diff --git a/services/network/mgmt/2018-04-01/network/models.go b/services/network/mgmt/2018-04-01/network/models.go index 10f6868e54a8..647dd9674c0a 100644 --- a/services/network/mgmt/2018-04-01/network/models.go +++ b/services/network/mgmt/2018-04-01/network/models.go @@ -1021,13 +1021,15 @@ type ProbeProtocol string const ( // ProbeProtocolHTTP ... ProbeProtocolHTTP ProbeProtocol = "Http" + // ProbeProtocolHTTPS ... + ProbeProtocolHTTPS ProbeProtocol = "Https" // ProbeProtocolTCP ... ProbeProtocolTCP ProbeProtocol = "Tcp" ) // PossibleProbeProtocolValues returns an array of possible values for the ProbeProtocol const type. func PossibleProbeProtocolValues() []ProbeProtocol { - return []ProbeProtocol{ProbeProtocolHTTP, ProbeProtocolTCP} + return []ProbeProtocol{ProbeProtocolHTTP, ProbeProtocolHTTPS, ProbeProtocolTCP} } // ProcessorArchitecture enumerates the values for processor architecture. @@ -11340,7 +11342,7 @@ func (p *Probe) UnmarshalJSON(body []byte) error { type ProbePropertiesFormat struct { // LoadBalancingRules - The load balancer rules that use this probe. LoadBalancingRules *[]SubResource `json:"loadBalancingRules,omitempty"` - // Protocol - The protocol of the end point. Possible values are: 'Http' or 'Tcp'. If 'Tcp' is specified, a received ACK is required for the probe to be successful. If 'Http' is specified, a 200 OK response from the specifies URI is required for the probe to be successful. Possible values include: 'ProbeProtocolHTTP', 'ProbeProtocolTCP' + // Protocol - The protocol of the end point. Possible values are: 'Http', 'Tcp', or 'Https'. If 'Tcp' is specified, a received ACK is required for the probe to be successful. If 'Http' or 'Https' is specified, a 200 OK response from the specifies URI is required for the probe to be successful. Possible values include: 'ProbeProtocolHTTP', 'ProbeProtocolTCP', 'ProbeProtocolHTTPS' Protocol ProbeProtocol `json:"protocol,omitempty"` // Port - The port for communicating the probe. Possible values range from 1 to 65535, inclusive. Port *int32 `json:"port,omitempty"` diff --git a/services/network/mgmt/2018-05-01/network/models.go b/services/network/mgmt/2018-05-01/network/models.go index 5af210af2df2..dae30be02b48 100644 --- a/services/network/mgmt/2018-05-01/network/models.go +++ b/services/network/mgmt/2018-05-01/network/models.go @@ -1021,13 +1021,15 @@ type ProbeProtocol string const ( // ProbeProtocolHTTP ... ProbeProtocolHTTP ProbeProtocol = "Http" + // ProbeProtocolHTTPS ... + ProbeProtocolHTTPS ProbeProtocol = "Https" // ProbeProtocolTCP ... ProbeProtocolTCP ProbeProtocol = "Tcp" ) // PossibleProbeProtocolValues returns an array of possible values for the ProbeProtocol const type. func PossibleProbeProtocolValues() []ProbeProtocol { - return []ProbeProtocol{ProbeProtocolHTTP, ProbeProtocolTCP} + return []ProbeProtocol{ProbeProtocolHTTP, ProbeProtocolHTTPS, ProbeProtocolTCP} } // ProcessorArchitecture enumerates the values for processor architecture. @@ -11340,7 +11342,7 @@ func (p *Probe) UnmarshalJSON(body []byte) error { type ProbePropertiesFormat struct { // LoadBalancingRules - The load balancer rules that use this probe. LoadBalancingRules *[]SubResource `json:"loadBalancingRules,omitempty"` - // Protocol - The protocol of the end point. Possible values are: 'Http' or 'Tcp'. If 'Tcp' is specified, a received ACK is required for the probe to be successful. If 'Http' is specified, a 200 OK response from the specifies URI is required for the probe to be successful. Possible values include: 'ProbeProtocolHTTP', 'ProbeProtocolTCP' + // Protocol - The protocol of the end point. Possible values are: 'Http', 'Tcp' or 'Https'. If 'Tcp' is specified, a received ACK is required for the probe to be successful. If 'Http' or 'Https' is specified, a 200 OK response from the specifies URI is required for the probe to be successful. Possible values include: 'ProbeProtocolHTTP', 'ProbeProtocolTCP', 'ProbeProtocolHTTPS' Protocol ProbeProtocol `json:"protocol,omitempty"` // Port - The port for communicating the probe. Possible values range from 1 to 65535, inclusive. Port *int32 `json:"port,omitempty"`