func GetNetworkSecurityRule(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *NetworkSecurityRuleState, opts ...pulumi.ResourceOption) (*NetworkSecurityRule, error) {
	var resource NetworkSecurityRule
	err := ctx.ReadResource("azure:network/networkSecurityRule:NetworkSecurityRule", name, id, state, &resource, opts...)
	if err != nil {
		return nil, err
	}
	return &resource, nil
}
// GetNetworkSecurityRule gets an existing NetworkSecurityRule resource's state with the given name, ID, and optional
// state properties that are used to uniquely qualify the lookup (nil if not required).
GetNetworkSecurityRule gets an existing NetworkSecurityRule resource's state with the given name, ID, and optional
state properties that are used to uniquely qualify the lookup (nil if not required).
// GetNetworkSecurityRule gets an existing NetworkSecurityRule 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 GetNetworkSecurityRule(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *NetworkSecurityRuleState, opts ...pulumi.ResourceOption) (*NetworkSecurityRule, error) {
	var resource NetworkSecurityRule
	err := ctx.ReadResource("azure:network/networkSecurityRule:NetworkSecurityRule", name, id, state, &resource, opts...)
	if err != nil {
		return nil, err
	}
	return &resource, nil
}
func GetNetworkSecurityRule ( ctx * pulumi . Context , name string , id pulumi . IDInput , state * NetworkSecurityRuleState , opts ... pulumi . ResourceOption ) ( * NetworkSecurityRule , error ) { var resource NetworkSecurityRule err := ctx . ReadResource ( " " , name , id , state , & resource , opts ... ) if err != nil { return nil , err } return & resource , nil }
GetNetworkSecurityRule gets an existing NetworkSecurityRule resource's state with the given name, ID, and optional
state properties that are used to uniquely qualify the lookup (nil if not required).
GetNetworkSecurityRule gets an existing NetworkSecurityRule resource ' s state with the given name ID and optional state properties that are used to uniquely qualify the lookup ( nil if not required ) .