azure::sql-virtual-network-rule

Creates a sql virtual network rule.

Example

azure::sql-virtual-network-rule vnrule
    name: "test vn rule"
    network: $(azure::network sql-network-example)
    subnet-name: "subnet1"
    sql-server: $(azure::sql-server sql-server-example)
end

Attributes

Attribute Description
name The name of the virtual network rule. (Required)
network The Network where the virtual network rule. (Required)
sql-server The sql server where the virtual network rule is found. (Required)
subnet-name The name of a subnet within the specified Network. (Required)

Outputs

Attribute Description
id The ID of the virtual network rule.