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