func GetVirtualNetworkRule(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *VirtualNetworkRuleState, opts ...pulumi.ResourceOption) (*VirtualNetworkRule, error) {
	var resource VirtualNetworkRule
	err := ctx.ReadResource("azure:mssql/virtualNetworkRule:VirtualNetworkRule", name, id, state, &resource, opts...)
	if err != nil {
		return nil, err
	}
	return &resource, nil
}
// GetVirtualNetworkRule gets an existing VirtualNetworkRule resource's state with the given name, ID, and optional
// state properties that are used to uniquely qualify the lookup (nil if not required).
GetVirtualNetworkRule gets an existing VirtualNetworkRule resource's state with the given name, ID, and optional
state properties that are used to uniquely qualify the lookup (nil if not required).
// GetVirtualNetworkRule gets an existing VirtualNetworkRule resource ' s state with the given name ID and optional // state properties that are used to uniquely qualify the lookup ( nil if not required ) .
func GetVirtualNetworkRule(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *VirtualNetworkRuleState, opts ...pulumi.ResourceOption) (*VirtualNetworkRule, error) {
	var resource VirtualNetworkRule
	err := ctx.ReadResource("azure:mssql/virtualNetworkRule:VirtualNetworkRule", name, id, state, &resource, opts...)
	if err != nil {
		return nil, err
	}
	return &resource, nil
}
func GetVirtualNetworkRule ( ctx * pulumi . Context , name string , id pulumi . IDInput , state * VirtualNetworkRuleState , opts ... pulumi . ResourceOption ) ( * VirtualNetworkRule , error ) { var resource VirtualNetworkRule err := ctx . ReadResource ( " " , name , id , state , & resource , opts ... ) if err != nil { return nil , err } return & resource , nil }
GetVirtualNetworkRule gets an existing VirtualNetworkRule resource's state with the given name, ID, and optional
state properties that are used to uniquely qualify the lookup (nil if not required).
GetVirtualNetworkRule gets an existing VirtualNetworkRule resource ' s state with the given name ID and optional state properties that are used to uniquely qualify the lookup ( nil if not required ) .