AllowOutbound
Method
func (AzureSubnetResource) AllowOutbound(options ...*AllowOutboundOptions) AzureSubnetResourceSignature
method
AllowOutbound builderAdds an outbound allow rule to the subnet's Network Security Group.
AllowOutbound(options ...*AllowOutboundOptions) AzureSubnetResourceParameters
options...*AllowOutboundOptions Optional settings, described under Options.Options
Optional parameters are passed in a trailing options ...*AllowOutboundOptions argument.
Port*stringThe destination port range (e.g., "443", "80-443"). Defaults to "*" (any).From*stringThe source address prefix. Defaults to "*" (any).To*stringThe destination address prefix (e.g., "Internet", "VirtualNetwork"). Defaults to "*" (any).Protocol*SecurityRuleProtocol The network protocol. Defaults to Asterisk (any).Priority*float64The rule priority (100-4096). If not specified, auto-increments from 100 by 100.Name*stringThe rule name. If not specified, auto-generated from parameters.Returns
AzureSubnetResource The resource builder.
Returns a handle; failures surface later via Err().
Applies to
This method applies to the following types: